00001 /*************************************************************************** 00002 * Copyright (C) 2008 by Sverre Rabbelier * 00003 * sverre@rabbelier.nl * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 3 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 * This program is distributed in the hope that it will be useful, * 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00013 * GNU General Public License for more details. * 00014 * * 00015 * You should have received a copy of the GNU General Public License * 00016 * along with this program; if not, write to the * 00017 * Free Software Foundation, Inc., * 00018 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 00019 ***************************************************************************/ 00020 00021 /* NOTE: This file was generated automatically. Do not edit. */ 00022 00023 #pragma once 00024 00032 #include "Types.h" 00033 #include "FieldImpls.h" 00034 00035 namespace db 00036 { 00044 class TableImpls : public Singleton<db::TableImpls> 00045 { 00046 public: 00048 void Initialize(); 00049 00051 TableImplVector::const_iterator begin() const { return m_tables.begin(); } 00052 00054 TableImplVector::const_iterator end() const { return m_tables.end(); } 00055 00056 00057 SmartPtr<Accounts> ACCOUNTS; 00058 SmartPtr<Areas> AREAS; 00059 SmartPtr<Branches> BRANCHES; 00060 SmartPtr<Channels> CHANNELS; 00061 SmartPtr<ChannelLogs> CHANNELLOGS; 00062 SmartPtr<CharacterAccount> CHARACTERACCOUNT; 00063 SmartPtr<CharacterBranch> CHARACTERBRANCH; 00064 SmartPtr<CharacterCluster> CHARACTERCLUSTER; 00065 SmartPtr<CharacterSkill> CHARACTERSKILL; 00066 SmartPtr<CharacterStat> CHARACTERSTAT; 00067 SmartPtr<CharacterTree> CHARACTERTREE; 00068 SmartPtr<Clusters> CLUSTERS; 00069 SmartPtr<Chunks> CHUNKS; 00070 SmartPtr<Colours> COLOURS; 00071 SmartPtr<Commands> COMMANDS; 00072 SmartPtr<Details> DETAILS; 00073 SmartPtr<DetailArea> DETAILAREA; 00074 SmartPtr<DetailRoom> DETAILROOM; 00075 SmartPtr<DetailChunk> DETAILCHUNK; 00076 SmartPtr<DetailCharacter> DETAILCHARACTER; 00077 SmartPtr<DetailDetail> DETAILDETAIL; 00078 SmartPtr<Echos> ECHOS; 00079 SmartPtr<Entities> ENTITIES; 00080 SmartPtr<ExitRoom> EXITROOM; 00081 SmartPtr<Exits> EXITS; 00082 SmartPtr<GrantGroups> GRANTGROUPS; 00083 SmartPtr<Logs> LOGS; 00084 SmartPtr<Permissions> PERMISSIONS; 00085 SmartPtr<Races> RACES; 00086 SmartPtr<Rooms> ROOMS; 00087 SmartPtr<Sectors> SECTORS; 00088 SmartPtr<Skills> SKILLS; 00089 SmartPtr<Stats> STATS; 00090 SmartPtr<Traces> TRACES; 00091 SmartPtr<TraceChunk> TRACECHUNK; 00092 SmartPtr<TraceDetail> TRACEDETAIL; 00093 SmartPtr<TraceEntity> TRACEENTITY; 00094 SmartPtr<TraceRoom> TRACEROOM; 00095 SmartPtr<Trees> TREES; 00096 SmartPtr<Version> VERSION; 00098 private: 00100 TableImpls(); 00101 00103 ~TableImpls() { } 00104 00106 TableImpls(const TableImpls& rhs); 00107 00109 TableImpls operator=(const TableImpls& rhs); 00110 00111 friend class Singleton<TableImpls>; 00112 00113 TableImplVector m_tables; 00114 bool m_initialized; 00115 }; 00116 } // end of namespace 00117