#include <TableImpl.h>
Public Member Functions | |
TableImpl (cstring name) | |
Constructs a new TableImpl based on this specific table. | |
virtual | ~TableImpl () |
Destructor, a noop. | |
cstring | getName () const |
Returns the name of this table. | |
Strings | tableList (SelectionMaskPtr mask) |
Returns a list of all rows in this table after applying mask. | |
FieldImplVector::const_iterator | begin () const |
Returns an iterator to the first element of the FieldImpl's of this table. | |
FieldImplVector::const_iterator | end () const |
Return the 'end' iterator of the FieldImpl's of this table. | |
size_t | size () const |
Returns the size of the FieldImpl's of this table. | |
size_t | primarykeysize () const |
Retursn the amount of primary keys this table has. | |
KeyImplPtr | firstkey () const |
Returns the first key of this table, keysize is asserted to be 1. | |
virtual void | Initialize () |
Initializes the table's fields. | |
Protected Member Functions | |
void | updateFieldCount () |
Updates the fieldcount. | |
Protected Attributes | |
std::string | m_name |
The name of this table. | |
FieldImplVector | m_fields |
The fields generated for this table. | |
size_t | m_primarykeysize |
The amount of primary keys for this table. |
This class should not be instantiated manually. Instead, the generated ones from TableImpls should be used.
Definition at line 41 of file TableImpl.h.
virtual TableImpl::~TableImpl | ( | ) | [inline, virtual] |
cstring TableImpl::getName | ( | ) | const |
Returns the name of this table.
Strings TableImpl::tableList | ( | SelectionMaskPtr | mask | ) |
Returns a list of all rows in this table after applying mask.
mask | The mask to apply, an 'empty' (not NULL!) mask is allowed. |
FieldImplVector::const_iterator TableImpl::begin | ( | ) | const [inline] |
Returns an iterator to the first element of the FieldImpl's of this table.
Definition at line 65 of file TableImpl.h.
FieldImplVector::const_iterator TableImpl::end | ( | ) | const [inline] |
Return the 'end' iterator of the FieldImpl's of this table.
Definition at line 68 of file TableImpl.h.
size_t TableImpl::size | ( | ) | const [inline] |
size_t TableImpl::primarykeysize | ( | ) | const [inline] |
KeyImplPtr TableImpl::firstkey | ( | ) | const |
Returns the first key of this table, keysize is asserted to be 1.
virtual void TableImpl::Initialize | ( | ) | [inline, virtual] |
void TableImpl::updateFieldCount | ( | ) | [protected] |
Updates the fieldcount.
std::string TableImpl::m_name [protected] |
FieldImplVector TableImpl::m_fields [protected] |
size_t TableImpl::m_primarykeysize [protected] |