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

Base class that defines an API for iteration on objects. More...

#include <Iterator.hpp>

+ Inheritance diagram for Iterator:

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 ()
Iteratoroperator= (const Iterator &src)
 Iterator (const Iterator &src)
virtual ~Iterator ()
 Iterator ()
- Public Member Functions inherited from Object
void * get () const
Objectoperator= (const Object &src)
 Object (const Object &src)
virtual ~Object ()
 Object ()

Additional Inherited Members

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

Detailed Description

Base class that defines an API for iteration on objects.

Definition at line 15 of file Iterator.hpp.

Constructor & Destructor Documentation

Iterator ( const Iterator src)
inline

Definition at line 56 of file Iterator.hpp.

virtual ~Iterator ( )
inlinevirtual

Definition at line 60 of file Iterator.hpp.

Iterator ( )
inline

Definition at line 61 of file Iterator.hpp.

Member Function Documentation

virtual bool cast ( const Object from)
inlinevirtual

Performs safe typecast.

Reimplemented from Object.

Reimplemented in ColumnIterator, IdentityIterator, and TableIterator.

Definition at line 24 of file Iterator.hpp.

virtual Type::Enum getClassType ( ) const
inlinevirtual

class type of the object.

Reimplemented from Object.

Reimplemented in ColumnIterator, IdentityIterator, and TableIterator.

Definition at line 36 of file Iterator.hpp.

virtual Type::Enum getObjectType ( ) const
inlinevirtual

object type of the underlying derived object.

Reimplemented from Object.

Reimplemented in ColumnIterator, IdentityIterator, and TableIterator.

Definition at line 40 of file Iterator.hpp.

virtual bool isConnected ( ) const
inlinevirtual

if underlying database is connected.

Reimplemented from Object.

Reimplemented in ColumnIterator, IdentityIterator, and TableIterator.

Definition at line 28 of file Iterator.hpp.

virtual bool isDisconnected ( ) const
inlinevirtual

if underlying database is not connected.

Reimplemented from Object.

Reimplemented in ColumnIterator, IdentityIterator, and TableIterator.

Definition at line 32 of file Iterator.hpp.

virtual bool next ( )
inlinevirtual

Advances the iterator to the next element.

Reimplemented in ColumnIterator, IdentityIterator, and TableIterator.

Definition at line 47 of file Iterator.hpp.

Iterator& operator= ( const Iterator src)
inline

Definition at line 55 of file Iterator.hpp.

virtual void reset ( )
inlinevirtual

Sets the iterator to its initial position.

Reimplemented in ColumnIterator, IdentityIterator, and TableIterator.

Definition at line 51 of file Iterator.hpp.


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