#include <Table.h>
Public Member Functions | |
| const std::string & | tableName () const |
| Returns the name of this table. | |
| cstring | getName () const |
| Returns the name of this table. | |
| virtual FieldDefVector::const_iterator | defbegin () const =0 |
| Returns an iterator to the first element of the FieldDef's of this table. | |
| virtual FieldDefVector::const_iterator | defend () const =0 |
| Return an iterator to the 'end' iterator of the FieldDef's of this table. | |
| virtual size_t | defsize () const =0 |
| Returns the size of the FieldDef's of this table. | |
| virtual std::string | firstKey () const =0 |
| Returns the first key (it's name as an std::string). | |
| virtual TableMap::const_iterator | keybegin () const =0 |
| Returns an iterator to the first Key definition pair. | |
| virtual TableMap::const_iterator | keyend () const =0 |
| Returns the 'end' iterator of the Key definitions. | |
| virtual size_t | keysize () const =0 |
| Returns the size of the Key definitions. | |
| virtual bool | hasSingularPrimaryKey () const =0 |
| Returns wether this table has a singular primary key. | |
Protected Member Functions | |
| Table (std::string name) | |
| Creates a new table with the specified name. | |
| virtual | ~Table () |
| Destructor, a noop. | |
Protected Attributes | |
| std::string | m_name |
| The name of this table. | |
Definition at line 36 of file Table.h.
| Table::Table | ( | std::string | name | ) | [protected] |
Creates a new table with the specified name.
| virtual Table::~Table | ( | ) | [protected, virtual] |
Destructor, a noop.
| const std::string& Table::tableName | ( | ) | const |
| cstring Table::getName | ( | ) | const |
Returns the name of this table.
| virtual FieldDefVector::const_iterator Table::defbegin | ( | ) | const [pure virtual] |
Returns an iterator to the first element of the FieldDef's of this table.
| virtual FieldDefVector::const_iterator Table::defend | ( | ) | const [pure virtual] |
Return an iterator to the 'end' iterator of the FieldDef's of this table.
| virtual size_t Table::defsize | ( | ) | const [pure virtual] |
Returns the size of the FieldDef's of this table.
| virtual std::string Table::firstKey | ( | ) | const [pure virtual] |
Returns the first key (it's name as an std::string).
| virtual TableMap::const_iterator Table::keybegin | ( | ) | const [pure virtual] |
Returns an iterator to the first Key definition pair.
| virtual TableMap::const_iterator Table::keyend | ( | ) | const [pure virtual] |
Returns the 'end' iterator of the Key definitions.
| virtual size_t Table::keysize | ( | ) | const [pure virtual] |
Returns the size of the Key definitions.
| virtual bool Table::hasSingularPrimaryKey | ( | ) | const [pure virtual] |
Returns wether this table has a singular primary key.
std::string Table::m_name [protected] |
1.5.3