#include <CdbItr.hh>
Inheritance diagram for CdbItr< T >:

Public Member Functions | |
| CdbItr () | |
| The default constructor. | |
| CdbItr (const CdbItr< T > &theItr) | |
| The copy constructor. | |
| CdbItr (CdbIItr< T > *thePtr) | |
| The constructor. | |
| CdbItr & | operator= (const CdbItr< T > &theItr) |
| The assignment operator. | |
| virtual | ~CdbItr () |
| The destructor. | |
| virtual CdbStatus | reset () |
| Reset an iterator to its initial state. | |
| virtual bool | next () |
| Advance an iterator to the next position. | |
| virtual T | value () |
| Obtain the currently reffered value. | |
| virtual bool | isValid () |
| Check if an iterator is valid. | |
| virtual CdbIItr< T > * | clone () const |
| Make a clone of itself. | |
The class takes the only template parameter: T - a type of the values operated by the iterator.
Definition at line 18 of file CdbItr.hh.
|
|||||||||
|
The default constructor. Leaves the iterator in the invalid state.
|
|
||||||||||
|
The copy constructor. More details to come... |
|
||||||||||
|
The constructor. Initialize the iterator by a pointer onto a base class's object. NOTE: That we're taking over the ownership of the passed object. |
|
|||||||||
|
The destructor. Details... |
|
|||||||||
|
Make a clone of itself.
Implements CdbIItr< T >. |
|
|||||||||
|
Check if an iterator is valid. This implements the corresponding method of the base class.
Implements CdbIItr< T >. |
|
|||||||||
|
Advance an iterator to the next position. This implements the corresponding method of the base class.
Implements CdbIItr< T >. Definition at line 56 of file CdbItr.cc. Referenced by CdbBdbSRallocatorP< RT, RT_OPERATIONS_POLICY >::allocate(), CdbBdbSPartitionP::close(), CdbMySQLOrigin::create_condition(), CdbMySQLOrigin::create_partition(), CdbBdbSSimpleClusterP::createIncrement(), CdbBdbSPartitionP::createIncrement(), CdbBdbSRallocatorP< RT, RT_OPERATIONS_POLICY >::dump(), CdbRooRoPartitionsLayoutR::find(), CdbRooRoCondition::findObject(), CdbBdbSCondition::findObject(), CdbBdbSPartitionP::instantiate(), CdbRooRoPartitionsLayoutR::iterator(), main(), CdbRooRoDatabase::physicalConditionIterator(), CdbBdbSMetaDataP::rebuild(), CdbRooRoFolderR::removeFolder(), CdbBdbSRegistryP::updateMainView(), and CdbBdbSCollectionP::~CdbBdbSCollectionP(). |
|
||||||||||
|
The assignment operator. More details to come... Definition at line 40 of file CdbItr.cc. References CdbItr< T >::_myItr. |
|
|||||||||
|
Reset an iterator to its initial state. This implements the corresponding method of the base class.
Implements CdbIItr< T >. Definition at line 48 of file CdbItr.cc. References CdbStatus::Error. |
|
|||||||||
|
Obtain the currently reffered value. This implements the corresponding method of the base class.
Implements CdbIItr< T >. Definition at line 64 of file CdbItr.cc. Referenced by CdbBdbSRallocatorP< RT, RT_OPERATIONS_POLICY >::allocate(), CdbBdbSPartitionP::close(), CdbMySQLOrigin::create_condition(), CdbMySQLOrigin::create_partition(), CdbBdbSSimpleClusterP::createIncrement(), CdbBdbSPartitionP::createIncrement(), CdbBdbSRallocatorP< RT, RT_OPERATIONS_POLICY >::dump(), CdbRooRoPartitionsLayoutR::find(), CdbRooRoCondition::findObject(), CdbBdbSCondition::findObject(), CdbBdbSPartitionP::instantiate(), CdbRooRoPartitionsLayoutR::iterator(), main(), CdbRooRoDatabase::physicalConditionIterator(), CdbBdbSMetaDataP::rebuild(), CdbBdbSRegistryP::updateMainView(), and CdbBdbSCollectionP::~CdbBdbSCollectionP(). |
1.3-rc3