~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/common_fwd.h

  • Committer: Olaf van der Spek
  • Date: 2011-03-28 14:08:55 UTC
  • mto: (2257.1.1 build) (2276.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2258.
  • Revision ID: olafvdspek@gmail.com-20110328140855-e2jd9trb9nqri5n2
Add namespace identifier

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
#pragma once
19
19
 
 
20
#include <boost/smart_ptr/shared_ptr.hpp>
 
21
#include <vector>
 
22
 
20
23
namespace drizzled {
21
24
 
22
25
namespace catalog
31
34
  struct st_my_thread_var;
32
35
}
33
36
 
34
 
namespace identifier 
35
 
 
37
namespace identifier
 
38
{
 
39
  class Catalog;
36
40
  class Schema;
37
41
  class Table;
38
42
  class User;
 
43
 
 
44
  typedef int64_t Session;
 
45
 
 
46
  namespace catalog
 
47
  {
 
48
    typedef std::vector<Catalog> vector;
 
49
  }
 
50
 
 
51
  namespace schema
 
52
  {
 
53
    typedef std::vector<Schema> vector;
 
54
  }
 
55
 
 
56
  namespace table
 
57
  {
 
58
    typedef std::vector<Table> vector;
 
59
  }
 
60
 
 
61
  namespace user
 
62
  {
 
63
    typedef boost::shared_ptr<const User> ptr;
 
64
    typedef boost::shared_ptr<User> mptr;
 
65
  }
39
66
}
40
67
 
41
68
namespace item
176
203
struct Order;
177
204
 
178
205
typedef Item COND;
 
206
typedef int64_t session_id_t;
179
207
typedef uint64_t my_xid;
180
208
 
181
209
} // namespace drizzled