1 /***************************************************************************
2 * Copyright (C) 2008 by Sverre Rabbelier *
3 * sverre@rabbelier.nl *
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. *
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. *
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. */
27 * This file contains the generated db::TableImpls class.
33 #include "FieldImpls.h"
38 * This is a generated class that contains all TableImpls.
40 * Before using any tables, <code>Initialize</code> should be called.
44 class TableImpls
: public Singleton
<db::TableImpls
>
47 /** Initialize all tables. */
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. */
98 /** This is a singleton class, use <code>Get</code> to get an instance. */
101 /** This is a singleton class, use <code>Free</code> to free the instance. */
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