Add a filter-by-from/to-chunk in ExitManager::List.
[UnsignedByte.git] / src / DB / Generated / TableImpls.h
blobb6891f4e3e8dc5619486c9c3c9ec0c3a83d67ba6
1 /***************************************************************************
2 * Copyright (C) 2008 by Sverre Rabbelier *
3 * sverre@rabbelier.nl *
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 3 of the License, or *
8 * (at your option) any later version. *
9 * *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the *
17 * Free Software Foundation, Inc., *
18 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19 ***************************************************************************/
21 /* NOTE: This file was generated automatically. Do not edit. */
23 #pragma once
25 /**
26 * @file TableImpls.h
27 * This file contains the generated db::TableImpls class.
29 * @see db::TableImpls
32 #include "Types.h"
33 #include "FieldImpls.h"
35 namespace db
37 /**
38 * This is a generated class that contains all TableImpls.
40 * Before using any tables, <code>Initialize</code> should be called.
42 * @see Initialize
44 class TableImpls : public Singleton<db::TableImpls>
46 public:
47 /** Initialize all tables. */
48 void Initialize();
50 /** Returns an iterator to the beginning of m_tables. */
51 TableImplVector::const_iterator begin() const { return m_tables.begin(); }
53 /** Returns an iterator to the end of m_tables. */
54 TableImplVector::const_iterator end() const { return m_tables.end(); }
57 SmartPtr<Accounts> ACCOUNTS; /**< TableImpl for the Accounts class. */
58 SmartPtr<Areas> AREAS; /**< TableImpl for the Areas class. */
59 SmartPtr<Branches> BRANCHES; /**< TableImpl for the Branches class. */
60 SmartPtr<Channels> CHANNELS; /**< TableImpl for the Channels class. */
61 SmartPtr<ChannelLogs> CHANNELLOGS; /**< TableImpl for the ChannelLogs class. */
62 SmartPtr<CharacterAccount> CHARACTERACCOUNT; /**< TableImpl for the CharacterAccount class. */
63 SmartPtr<CharacterBranch> CHARACTERBRANCH; /**< TableImpl for the CharacterBranch class. */
64 SmartPtr<CharacterCluster> CHARACTERCLUSTER; /**< TableImpl for the CharacterCluster class. */
65 SmartPtr<CharacterSkill> CHARACTERSKILL; /**< TableImpl for the CharacterSkill class. */
66 SmartPtr<CharacterStat> CHARACTERSTAT; /**< TableImpl for the CharacterStat class. */
67 SmartPtr<CharacterTree> CHARACTERTREE; /**< TableImpl for the CharacterTree class. */
68 SmartPtr<Clusters> CLUSTERS; /**< TableImpl for the Clusters class. */
69 SmartPtr<Chunks> CHUNKS; /**< TableImpl for the Chunks class. */
70 SmartPtr<Colours> COLOURS; /**< TableImpl for the Colours class. */
71 SmartPtr<Commands> COMMANDS; /**< TableImpl for the Commands class. */
72 SmartPtr<Details> DETAILS; /**< TableImpl for the Details class. */
73 SmartPtr<DetailArea> DETAILAREA; /**< TableImpl for the DetailArea class. */
74 SmartPtr<DetailRoom> DETAILROOM; /**< TableImpl for the DetailRoom class. */
75 SmartPtr<DetailChunk> DETAILCHUNK; /**< TableImpl for the DetailChunk class. */
76 SmartPtr<DetailCharacter> DETAILCHARACTER; /**< TableImpl for the DetailCharacter class. */
77 SmartPtr<DetailDetail> DETAILDETAIL; /**< TableImpl for the DetailDetail class. */
78 SmartPtr<Echos> ECHOS; /**< TableImpl for the Echos class. */
79 SmartPtr<Entities> ENTITIES; /**< TableImpl for the Entities class. */
80 SmartPtr<Exits> EXITS; /**< TableImpl for the Exits class. */
81 SmartPtr<GrantGroups> GRANTGROUPS; /**< TableImpl for the GrantGroups class. */
82 SmartPtr<Logs> LOGS; /**< TableImpl for the Logs class. */
83 SmartPtr<Permissions> PERMISSIONS; /**< TableImpl for the Permissions class. */
84 SmartPtr<Races> RACES; /**< TableImpl for the Races class. */
85 SmartPtr<Rooms> ROOMS; /**< TableImpl for the Rooms class. */
86 SmartPtr<Sectors> SECTORS; /**< TableImpl for the Sectors class. */
87 SmartPtr<Skills> SKILLS; /**< TableImpl for the Skills class. */
88 SmartPtr<Stats> STATS; /**< TableImpl for the Stats class. */
89 SmartPtr<Traces> TRACES; /**< TableImpl for the Traces class. */
90 SmartPtr<TraceChunk> TRACECHUNK; /**< TableImpl for the TraceChunk class. */
91 SmartPtr<TraceDetail> TRACEDETAIL; /**< TableImpl for the TraceDetail class. */
92 SmartPtr<TraceEntity> TRACEENTITY; /**< TableImpl for the TraceEntity class. */
93 SmartPtr<TraceRoom> TRACEROOM; /**< TableImpl for the TraceRoom class. */
94 SmartPtr<Trees> TREES; /**< TableImpl for the Trees class. */
95 SmartPtr<Version> VERSION; /**< TableImpl for the Version class. */
97 private:
98 /** This is a singleton class, use <code>Get</code> to get an instance. */
99 TableImpls();
101 /** This is a singleton class, use <code>Free</code> to free the instance. */
102 ~TableImpls() { }
104 /** Hide the copy constructor. */
105 TableImpls(const TableImpls& rhs);
107 /** Hide the assignment operator. */
108 TableImpls operator=(const TableImpls& rhs);
110 friend class Singleton<TableImpls>;
112 TableImplVector m_tables; /**< All generated tables. */
113 bool m_initialized; /**< Whether this manager is initialized yet. */
115 } // end of namespace