CompleteDB Embedded: Direct C++ API
2.4.2
|
Provides services to query and modify table attributes and collections. More...
#include <TableMetadata.hpp>
Public Member Functions | |
virtual bool | cast (const Object &from) |
virtual bool | isConnected () const |
virtual bool | isDisconnected () const |
virtual Type::Enum | getClassType () const |
virtual Type::Enum | getObjectType () const |
virtual const char * | getDescription () const |
virtual void | setDescription (const char *description) |
virtual const char * | getName () const |
virtual void | setName (const char *name) |
virtual bool | containsColumn (const char *name) |
virtual bool | containsColumn (const IdentityInfo &name) |
virtual bool | exists () |
virtual ColumnIterator | getColumns () |
virtual ColumnMetadata | addColumn (const char *name, const ColumnType::Enum columnType=ColumnType::Int64) |
virtual ColumnMetadata | addColumn (const IdentityInfo &name, const ColumnType::Enum columnType=ColumnType::Int64) |
virtual void | clearColumns () |
TableMetadata & | operator= (const TableMetadata &src) |
TableMetadata (const TableMetadata &src) | |
virtual | ~TableMetadata () |
TableMetadata () | |
![]() | |
void * | get () const |
Object & | operator= (const Object &src) |
Object (const Object &src) | |
virtual | ~Object () |
Object () | |
![]() | |
TableInfo & | operator= (const TableInfo &src) |
TableInfo (const TableInfo &src) | |
virtual | ~TableInfo () |
TableInfo () | |
![]() | |
TableMutator & | operator= (const TableMutator &src) |
TableMutator (const TableMutator &src) | |
virtual | ~TableMutator () |
TableMutator () |
Additional Inherited Members | |
![]() | |
Object (void *src) | |
![]() | |
void * | m |
Provides services to query and modify table attributes and collections.
Definition at line 17 of file TableMetadata.hpp.
|
inline |
Definition at line 111 of file TableMetadata.hpp.
|
inlinevirtual |
Definition at line 115 of file TableMetadata.hpp.
|
inline |
Definition at line 116 of file TableMetadata.hpp.
|
inlinevirtual |
Adds a column to the table column collection.
Reimplemented from TableMutator.
Reimplemented in CreateTable.
Definition at line 98 of file TableMetadata.hpp.
|
inlinevirtual |
Adds a column to the table column collection.
Reimplemented from TableMutator.
Reimplemented in CreateTable.
Definition at line 102 of file TableMetadata.hpp.
|
inlinevirtual |
Performs safe typecast.
Reimplemented from Object.
Reimplemented in CreateTable.
Definition at line 28 of file TableMetadata.hpp.
|
inlinevirtual |
Clears the table column collection.
Reimplemented from TableMutator.
Reimplemented in CreateTable.
Definition at line 106 of file TableMetadata.hpp.
|
inlinevirtual |
Determines wether the database table contains a column with the specified name.
Reimplemented from TableInfo.
Reimplemented in CreateTable.
Definition at line 79 of file TableMetadata.hpp.
|
inlinevirtual |
Determines wether the database table contains a column with the specified name.
Reimplemented from TableInfo.
Reimplemented in CreateTable.
Definition at line 83 of file TableMetadata.hpp.
|
inlinevirtual |
Determines wether the table exists in the database.
Reimplemented from TableInfo.
Reimplemented in CreateTable.
Definition at line 87 of file TableMetadata.hpp.
|
inlinevirtual |
class type of the object.
Reimplemented from Object.
Reimplemented in CreateTable.
Definition at line 40 of file TableMetadata.hpp.
|
inlinevirtual |
Gets Column iterator used to iterate columns information in the database table.
Reimplemented from TableInfo.
Reimplemented in CreateTable.
Definition at line 91 of file TableMetadata.hpp.
|
inlinevirtual |
Returns the description of the entity.
Reimplemented from TableInfo.
Reimplemented in CreateTable.
Definition at line 51 of file TableMetadata.hpp.
|
inlinevirtual |
Returns the name of the entity.
Reimplemented from TableInfo.
Reimplemented in CreateTable.
Definition at line 65 of file TableMetadata.hpp.
|
inlinevirtual |
object type of the underlying derived object.
Reimplemented from Object.
Reimplemented in CreateTable.
Definition at line 44 of file TableMetadata.hpp.
|
inlinevirtual |
if underlying database is connected.
Reimplemented from Object.
Reimplemented in CreateTable.
Definition at line 32 of file TableMetadata.hpp.
|
inlinevirtual |
if underlying database is not connected.
Reimplemented from Object.
Reimplemented in CreateTable.
Definition at line 36 of file TableMetadata.hpp.
|
inline |
Definition at line 110 of file TableMetadata.hpp.
|
inlinevirtual |
Sets the description of the entity.
Reimplemented from TableMutator.
Reimplemented in CreateTable.
Definition at line 58 of file TableMetadata.hpp.
|
inlinevirtual |
Sets the name of the entity.
Reimplemented from TableMutator.
Reimplemented in CreateTable.
Definition at line 72 of file TableMetadata.hpp.