~drizzle-trunk/drizzle/development

1660.1.1 by Brian Aker
Merge in move identifier work.
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
 *
4
 *  Copyright (C) 2010 Brian Aker
5
 *
6
 *  This program is free software; you can redistribute it and/or modify
7
 *  it under the terms of the GNU General Public License as published by
8
 *  the Free Software Foundation; either version 2 of the License, or
9
 *  (at your option) any later version.
10
 *
11
 *  This program is distributed in the hope that it will be useful,
12
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 *  GNU General Public License for more details.
15
 *
16
 *  You should have received a copy of the GNU General Public License
17
 *  along with this program; if not, write to the Free Software
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
 */
20
2200 by Brian Aker
Testing pragma once for build farm.
21
#pragma once
1660.1.1 by Brian Aker
Merge in move identifier work.
22
2041.3.15 by Brian Aker
Cleanup error usage around identifier usage.
23
#include <string>
24
2173.2.1 by Monty Taylor
Fixes incorrect usage of include
25
#include <drizzled/visibility.h>
2119.4.1 by Monty Taylor
Turns on -fvisibility=hidden by default. Symbols intended to be used by
26
2041.3.15 by Brian Aker
Cleanup error usage around identifier usage.
27
namespace drizzled {
28
2119.4.1 by Monty Taylor
Turns on -fvisibility=hidden by default. Symbols intended to be used by
29
class DRIZZLED_API Identifier {
2041.3.15 by Brian Aker
Cleanup error usage around identifier usage.
30
public:
31
  typedef const Identifier& const_reference;
32
33
  virtual void getSQLPath(std::string &arg) const;
34
35
  virtual ~Identifier()
36
  { }
37
};
38
39
} // namespace drizzled
40
2126.2.1 by Brian Aker
Merge in changes for catalogs usage of constants for identifier.
41
#include <drizzled/identifier/catalog.h>
42
#include <drizzled/identifier/schema.h>
43
#include <drizzled/identifier/session.h>
44
#include <drizzled/identifier/table.h>
45
#include <drizzled/identifier/user.h>
46
47
// Constant identifiers user internally
48
#include <drizzled/identifier/constants/schema.h>
49
#include <drizzled/identifier/constants/table.h>