~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
2440.2.13 by Olaf van der Spek
Refactor
29
class DRIZZLED_API Identifier
2241.2.5 by Olaf van der Spek
Refactor
30
{
2041.3.15 by Brian Aker
Cleanup error usage around identifier usage.
31
public:
32
  virtual ~Identifier()
2246.4.2 by Olaf van der Spek
Refactor Identifier::getSQLPath()
33
  { 
34
	}
35
36
	virtual std::string getSQLPath() const 
37
	{ 
38
		return "";
39
	}
2041.3.15 by Brian Aker
Cleanup error usage around identifier usage.
40
};
41
42
} // namespace drizzled
43
2126.2.1 by Brian Aker
Merge in changes for catalogs usage of constants for identifier.
44
#include <drizzled/identifier/catalog.h>
45
#include <drizzled/identifier/schema.h>
46
#include <drizzled/identifier/table.h>
47
#include <drizzled/identifier/user.h>
48
2241.2.5 by Olaf van der Spek
Refactor
49
// Constant identifiers used internally
2126.2.1 by Brian Aker
Merge in changes for catalogs usage of constants for identifier.
50
#include <drizzled/identifier/constants/schema.h>
51
#include <drizzled/identifier/constants/table.h>
2241.6.2 by Brian Aker
This adds the concept of a definer to a table definition.
52
#include <drizzled/identifier/constants/user.h>