Tables Class Reference

This class serves as a storage for pointers to all defined Tables. More...

#include <Tables.h>

Inheritance diagram for Tables:

Inheritance graph
[legend]

List of all members.

Public Member Functions

TableDefVector::const_iterator begin () const
 Returns an iterator to the beginning of m_tables.
TableDefVector::const_iterator end () const
 Returns an iterator to the end of m_tables.

Public Attributes

TableDefPtr ACCOUNTS
 The Accounts table.
TableDefPtr AREAS
 The Areas table, part of the Room system.
TableDefPtr BRANCHES
 The Branches table, part of the Skill system.
TableDefPtr CHANNELS
 The Channels table, the communication channels are stored here.
TableDefPtr CHANNELLOGS
 The logs of the channels, -not- a relational table!
TableDefPtr CHARACTERACCOUNT
 The Character - Accounts relational table.
TableDefPtr CHARACTERBRANCH
 The Character - Branch relational table.
TableDefPtr CHARACTERCLUSTER
 The Character - Cluster relational table.
TableDefPtr CHARACTERSKILL
 The Character - Skill relational table.
TableDefPtr CHARACTERSTAT
 The Character - Stat relational table.
TableDefPtr CHARACTERTREE
 The Character - Tree relational table.
TableDefPtr CHUNKS
 The Chunks table, part of the Room system.
TableDefPtr CLUSTERS
 The Clusters table, part of the Room system.
TableDefPtr COLOURS
 The Colours table, the colours are stored here.
TableDefPtr COMMANDS
 The Commands table, part of the Command system.
TableDefPtr DETAILS
 The Details table, part of the Room system.
TableDefPtr DETAILAREA
 The Detail - Area relational table, part of the Room system.
TableDefPtr DETAILROOM
 The Detail - Room relational table, part of the Room system.
TableDefPtr DETAILCHUNK
 The Detail - Chunk relational table, part of the Room system.
TableDefPtr DETAILCHARACTER
 The Detail - Character relational table, part of the Room system.
TableDefPtr DETAILDETAIL
 The Detail - Detail relational table, part of the Room system.
TableDefPtr ECHOS
 The Echos table, part of the Room system.
TableDefPtr ENTITIES
 The Entities table, all players, mobiles and objects are stored here.
TableDefPtr EXITROOM
 The Exit - Room relational table, part of the Room system.
TableDefPtr EXITS
 The Exits table, part of the Room system.
TableDefPtr GRANTGROUPS
 The Grantgroups table, part of the Command system.
TableDefPtr LOGS
 The Logs table, it contains all the logs.
TableDefPtr PERMISSIONS
 The Permissions table, part of the Command system.
TableDefPtr RACES
 The Races table, part of the Character system.
TableDefPtr ROOMS
 The Rooms table, part of the Room system.
TableDefPtr SECTORS
 The Sectors table, part of the Room system.
TableDefPtr SKILLS
 The Skills table, part of the Skill system.
TableDefPtr STATS
 The Skills table, part of the Skill system.
TableDefPtr TRACES
 The Traces table, part of the Trace system.
TableDefPtr TRACECHUNK
 The Trace - Chunk relational table, part of the Trace system.
TableDefPtr TRACEDETAIL
 The Trace - Detail relational table, part of the Trace system.
TableDefPtr TRACEENTITY
 The Trace - Entity relational table, part of the Trace system.
TableDefPtr TRACEROOM
 The Trace - Room relational table, part of the Trace system.
TableDefPtr TREES
 The Trees table, part of the Skill system.
TableDefPtr VERSION
 The Version table, it contains one row, the current version.

Friends

class Singleton< Tables >


Detailed Description

This class serves as a storage for pointers to all defined Tables.

Since C++ does not offer reflection this class was added as a form of 'manual' reflection. By making use of the begin() and end() iterator the generator is able to iterate over all defined fiels. As such, when adding a table, you should add m_tables.push_back(YOURTABLE) at the bottom of the contructor.

Definition at line 38 of file Tables.h.


Member Function Documentation

TableDefVector::const_iterator Tables::begin (  )  const [inline]

Returns an iterator to the beginning of m_tables.

Definition at line 83 of file Tables.h.

TableDefVector::const_iterator Tables::end (  )  const [inline]

Returns an iterator to the end of m_tables.

Definition at line 86 of file Tables.h.


Member Data Documentation

TableDefPtr Tables::ACCOUNTS

The Accounts table.

Definition at line 41 of file Tables.h.

TableDefPtr Tables::AREAS

The Areas table, part of the Room system.

Definition at line 42 of file Tables.h.

TableDefPtr Tables::BRANCHES

The Branches table, part of the Skill system.

Definition at line 43 of file Tables.h.

TableDefPtr Tables::CHANNELS

The Channels table, the communication channels are stored here.

Definition at line 44 of file Tables.h.

TableDefPtr Tables::CHARACTERACCOUNT

The Character - Accounts relational table.

Definition at line 46 of file Tables.h.

TableDefPtr Tables::CHARACTERBRANCH

The Character - Branch relational table.

Definition at line 47 of file Tables.h.

TableDefPtr Tables::CHARACTERCLUSTER

The Character - Cluster relational table.

Definition at line 48 of file Tables.h.

TableDefPtr Tables::CHARACTERSKILL

The Character - Skill relational table.

Definition at line 49 of file Tables.h.

TableDefPtr Tables::CHARACTERSTAT

The Character - Stat relational table.

Definition at line 50 of file Tables.h.

TableDefPtr Tables::CHARACTERTREE

The Character - Tree relational table.

Definition at line 51 of file Tables.h.

TableDefPtr Tables::CHUNKS

The Chunks table, part of the Room system.

Definition at line 52 of file Tables.h.

TableDefPtr Tables::CLUSTERS

The Clusters table, part of the Room system.

Definition at line 53 of file Tables.h.

TableDefPtr Tables::COLOURS

The Colours table, the colours are stored here.

Definition at line 54 of file Tables.h.

TableDefPtr Tables::COMMANDS

The Commands table, part of the Command system.

Definition at line 55 of file Tables.h.

TableDefPtr Tables::DETAILS

The Details table, part of the Room system.

Definition at line 56 of file Tables.h.

TableDefPtr Tables::DETAILAREA

The Detail - Area relational table, part of the Room system.

Definition at line 57 of file Tables.h.

TableDefPtr Tables::DETAILROOM

The Detail - Room relational table, part of the Room system.

Definition at line 58 of file Tables.h.

TableDefPtr Tables::DETAILCHUNK

The Detail - Chunk relational table, part of the Room system.

Definition at line 59 of file Tables.h.

TableDefPtr Tables::DETAILCHARACTER

The Detail - Character relational table, part of the Room system.

Definition at line 60 of file Tables.h.

TableDefPtr Tables::DETAILDETAIL

The Detail - Detail relational table, part of the Room system.

Definition at line 61 of file Tables.h.

TableDefPtr Tables::ECHOS

The Echos table, part of the Room system.

Definition at line 62 of file Tables.h.

TableDefPtr Tables::ENTITIES

The Entities table, all players, mobiles and objects are stored here.

Definition at line 63 of file Tables.h.

TableDefPtr Tables::EXITROOM

The Exit - Room relational table, part of the Room system.

Definition at line 64 of file Tables.h.

TableDefPtr Tables::EXITS

The Exits table, part of the Room system.

Definition at line 65 of file Tables.h.

TableDefPtr Tables::GRANTGROUPS

The Grantgroups table, part of the Command system.

Definition at line 66 of file Tables.h.

TableDefPtr Tables::LOGS

The Logs table, it contains all the logs.

Definition at line 67 of file Tables.h.

TableDefPtr Tables::PERMISSIONS

The Permissions table, part of the Command system.

Definition at line 68 of file Tables.h.

TableDefPtr Tables::RACES

The Races table, part of the Character system.

Definition at line 69 of file Tables.h.

TableDefPtr Tables::ROOMS

The Rooms table, part of the Room system.

Definition at line 70 of file Tables.h.

TableDefPtr Tables::SECTORS

The Sectors table, part of the Room system.

Definition at line 71 of file Tables.h.

TableDefPtr Tables::SKILLS

The Skills table, part of the Skill system.

Definition at line 72 of file Tables.h.

TableDefPtr Tables::STATS

The Skills table, part of the Skill system.

Definition at line 73 of file Tables.h.

TableDefPtr Tables::TRACES

The Traces table, part of the Trace system.

Definition at line 74 of file Tables.h.

TableDefPtr Tables::TRACECHUNK

The Trace - Chunk relational table, part of the Trace system.

Definition at line 75 of file Tables.h.

TableDefPtr Tables::TRACEDETAIL

The Trace - Detail relational table, part of the Trace system.

Definition at line 76 of file Tables.h.

TableDefPtr Tables::TRACEENTITY

The Trace - Entity relational table, part of the Trace system.

Definition at line 77 of file Tables.h.

TableDefPtr Tables::TRACEROOM

The Trace - Room relational table, part of the Trace system.

Definition at line 78 of file Tables.h.

TableDefPtr Tables::TREES

The Trees table, part of the Skill system.

Definition at line 79 of file Tables.h.

TableDefPtr Tables::VERSION

The Version table, it contains one row, the current version.

Definition at line 80 of file Tables.h.


Generated for UnsignedByte by  doxygen 1.5.3
SourceForge.net Logo