CompleteDB Embedded: Direct C++ API  2.4.2
TableIterator Class Reference

Provides services to iterate collection of TableInfo objects. More...

#include <TableIterator.hpp>

+ Inheritance diagram for TableIterator:

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 bool next ()
virtual void reset ()
virtual const char * getDescription () const
virtual const char * getName () const
virtual bool containsColumn (const char *name)
virtual bool containsColumn (const IdentityInfo &name)
virtual bool exists ()
virtual ColumnIterator getColumns ()
TableIteratoroperator= (const TableIterator &src)
 TableIterator (const TableIterator &src)
virtual ~TableIterator ()
 TableIterator ()
- Public Member Functions inherited from Object
void * get () const
Objectoperator= (const Object &src)
 Object (const Object &src)
virtual ~Object ()
 Object ()
- Public Member Functions inherited from Iterator
Iteratoroperator= (const Iterator &src)
 Iterator (const Iterator &src)
virtual ~Iterator ()
 Iterator ()
- Public Member Functions inherited from TableInfo
TableInfooperator= (const TableInfo &src)
 TableInfo (const TableInfo &src)
virtual ~TableInfo ()
 TableInfo ()

Friends

class Database
class DatabaseInfo

Additional Inherited Members

- Protected Member Functions inherited from Object
 Object (void *src)
- Protected Attributes inherited from Object
void * m

Detailed Description

Provides services to iterate collection of TableInfo objects.

Definition at line 17 of file TableIterator.hpp.

Constructor & Destructor Documentation

TableIterator ( const TableIterator src)
inline

Definition at line 96 of file TableIterator.hpp.

virtual ~TableIterator ( )
inlinevirtual

Definition at line 100 of file TableIterator.hpp.

TableIterator ( )
inline

Definition at line 101 of file TableIterator.hpp.

Member Function Documentation

virtual bool cast ( const Object from)
inlinevirtual

Performs safe typecast.

Reimplemented from Iterator.

Definition at line 31 of file TableIterator.hpp.

virtual bool containsColumn ( const char *  name)
inlinevirtual

Determines wether the database table contains a column with the specified name.

Reimplemented from TableInfo.

Definition at line 79 of file TableIterator.hpp.

virtual bool containsColumn ( const IdentityInfo name)
inlinevirtual

Determines wether the database table contains a column with the specified name.

Reimplemented from TableInfo.

Definition at line 83 of file TableIterator.hpp.

virtual bool exists ( )
inlinevirtual

Determines wether the table exists in the database.

Reimplemented from TableInfo.

Definition at line 87 of file TableIterator.hpp.

virtual Type::Enum getClassType ( ) const
inlinevirtual

class type of the object.

Reimplemented from Iterator.

Definition at line 43 of file TableIterator.hpp.

virtual ColumnIterator getColumns ( )
inlinevirtual

Gets Column iterator used to iterate columns information in the database table.

Reimplemented from TableInfo.

Definition at line 91 of file TableIterator.hpp.

virtual const char* getDescription ( ) const
inlinevirtual

Returns the description of the entity.

Reimplemented from TableInfo.

Definition at line 65 of file TableIterator.hpp.

virtual const char* getName ( ) const
inlinevirtual

Returns the name of the entity.

Reimplemented from TableInfo.

Definition at line 72 of file TableIterator.hpp.

virtual Type::Enum getObjectType ( ) const
inlinevirtual

object type of the underlying derived object.

Reimplemented from Iterator.

Definition at line 47 of file TableIterator.hpp.

virtual bool isConnected ( ) const
inlinevirtual

if underlying database is connected.

Reimplemented from Iterator.

Definition at line 35 of file TableIterator.hpp.

virtual bool isDisconnected ( ) const
inlinevirtual

if underlying database is not connected.

Reimplemented from Iterator.

Definition at line 39 of file TableIterator.hpp.

virtual bool next ( )
inlinevirtual

Advances the iterator to the next element.

Reimplemented from Iterator.

Definition at line 54 of file TableIterator.hpp.

TableIterator& operator= ( const TableIterator src)
inline

Definition at line 95 of file TableIterator.hpp.

virtual void reset ( )
inlinevirtual

Sets the iterator to its initial position.

Reimplemented from Iterator.

Definition at line 58 of file TableIterator.hpp.

Friends And Related Function Documentation

friend class Database
friend

Definition at line 23 of file TableIterator.hpp.

friend class DatabaseInfo
friend

Definition at line 24 of file TableIterator.hpp.


The documentation for this class was generated from the following file: