src/DAL/Tables.h

Go to the documentation of this file.
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 #pragma once
00021 
00029 #include "Types.h"
00030 
00038 class Tables : public Singleton<Tables>
00039 {
00040 public:
00041         TableDefPtr ACCOUNTS; 
00042         TableDefPtr AREAS; 
00043         TableDefPtr BRANCHES; 
00044         TableDefPtr CHANNELS; 
00045         TableDefPtr CHANNELLOGS; 
00046         TableDefPtr CHARACTERACCOUNT; 
00047         TableDefPtr CHARACTERBRANCH; 
00048         TableDefPtr CHARACTERCLUSTER; 
00049         TableDefPtr CHARACTERSKILL; 
00050         TableDefPtr CHARACTERSTAT; 
00051         TableDefPtr CHARACTERTREE; 
00052         TableDefPtr CHUNKS; 
00053         TableDefPtr CLUSTERS; 
00054         TableDefPtr COLOURS; 
00055         TableDefPtr COMMANDS; 
00056         TableDefPtr DETAILS; 
00057         TableDefPtr DETAILAREA; 
00058         TableDefPtr DETAILROOM; 
00059         TableDefPtr DETAILCHUNK; 
00060         TableDefPtr DETAILCHARACTER; 
00061         TableDefPtr DETAILDETAIL; 
00062         TableDefPtr ECHOS; 
00063         TableDefPtr ENTITIES; 
00064         TableDefPtr EXITROOM; 
00065         TableDefPtr EXITS; 
00066         TableDefPtr GRANTGROUPS; 
00067         TableDefPtr LOGS; 
00068         TableDefPtr PERMISSIONS; 
00069         TableDefPtr RACES; 
00070         TableDefPtr ROOMS; 
00071         TableDefPtr SECTORS; 
00072         TableDefPtr SKILLS; 
00073         TableDefPtr STATS; 
00074         TableDefPtr TRACES; 
00075         TableDefPtr TRACECHUNK; 
00076         TableDefPtr TRACEDETAIL; 
00077         TableDefPtr TRACEENTITY; 
00078         TableDefPtr TRACEROOM; 
00079         TableDefPtr TREES; 
00080         TableDefPtr VERSION; 
00083         TableDefVector::const_iterator begin() const { return m_tables.begin(); }
00084         
00086         TableDefVector::const_iterator end() const { return m_tables.end(); }
00087         
00088 private:
00089         friend class Singleton<Tables>;
00090         
00092         Tables();
00093         
00095         ~Tables();
00096                 
00097         TableDefVector m_tables; 
00098 };

Generated for UnsignedByte by  doxygen 1.5.3
SourceForge.net Logo