![]() |
|
|
Bdb packages | Design docs | Source docs | Guidelines | Recent releases |
|
Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Compound Members File Members RevisionNameIterator Class Reference
Inheritance diagram for RevisionNameIterator:
List of all members.
Public Methods
RevisionNameIterator (const std::vector< BdbRef(CdbBdbSMetaDataP)> &theMetaDataRefs) virtual ~RevisionNameIterator () virtual CdbStatus reset () Reset an iterator to its initial state. bool tryNext () virtual bool next () Advance an iterator to the next position. virtual ValueType value () Obtain the currently reffered value. virtual bool isValid () Check if an iterator is valid. virtual InterfaceType * clone () const Make a clone of itself. RevisionNameIterator (const BdbRef(CdbBdbSRevCollectionP)&theRef, bool appendTopmostFlag) The normal constructor. virtual ~RevisionNameIterator () The destructor. virtual CdbStatus reset () Reset an iterator to its initial state. virtual bool next () Advance an iterator to the next position. virtual ValueType value () Obtain the currently reffered value. virtual bool isValid () Check if an iterator is valid. virtual InterfaceType * clone () const Make a clone of itself. RevisionNameIterator (const CdbBdbSTimeLineP< BdbRef(CdbBdbSRevisionP) >::IteratorOfIntervals &theItr) The normal constructor. virtual ~RevisionNameIterator () The destructor. virtual CdbStatus reset () Reset an iterator to its initial state. virtual bool next () Advance an iterator to the next position. virtual ValueType value () Obtain the currently reffered value. virtual bool isValid () Check if an iterator is valid. virtual InterfaceType * clone () const Make a clone of itself. Protected Methods
RevisionNameIterator (const RevisionNameIterator &theItr) RevisionNameIterator (const RevisionNameIterator &theItr) The copy constructor. RevisionNameIterator (const RevisionNameIterator &theItr) The copy constructor. Private Methods
RevisionNameIterator () RevisionNameIterator & operator= (const RevisionNameIterator &theItr) RevisionNameIterator () The default constructor (NOT IMPLEMENTED). RevisionNameIterator & operator= (const RevisionNameIterator &theItr) The assignment operator (NOT IMPLEMENTED). BdbRef (CdbBdbSRevCollectionP) _revCollectionRef RevisionNameIterator () The default constructor (NOT IMPLEMENTED). RevisionNameIterator & operator= (const RevisionNameIterator &theItr) The assignment operator (NOT IMPLEMENTED). Private Attributes
std::vector< BdbRef(CdbBdbSMetaDataP) _metaDataRefs ) bool _isValid bool _hasEverBeenAdvanced std::string _value std::vector< BdbRef(CdbBdbSMetaDataP)>::const_iterato _itr ) CdbItr< const char * > _revItr bool _appendTopmostFlag CdbItr< const char * > _revItr bool _thereIsTopmostToAppend CdbBdbSTimeLineP< BdbRef(CdbBdbSRevisionP)
>::IteratorOfInterval_itr ) Constructor & Destructor Documentation
RevisionNameIterator::RevisionNameIterator ( ) [private]
Referenced by clone().
RevisionNameIterator::RevisionNameIterator ( const RevisionNameIterator & theItr ) [inline, protected]
Definition at line 249 of file CdbBdbSCondition.cc.
References _hasEverBeenAdvanced, _isValid, _itr, _metaDataRefs, _revItr, and _value.
RevisionNameIterator::RevisionNameIterator ( const std::vector< BdbRef(CdbBdbSMetaDataP)> & theMetaDataRefs ) [inline]
Definition at line 261 of file CdbBdbSCondition.cc.
References _hasEverBeenAdvanced, _isValid, _metaDataRefs, _value, and false.
virtual RevisionNameIterator::~RevisionNameIterator ( ) [inline, virtual]
Definition at line 268 of file CdbBdbSCondition.cc.
RevisionNameIterator::RevisionNameIterator ( ) [private]
The default constructor (NOT IMPLEMENTED).
RevisionNameIterator::RevisionNameIterator ( const RevisionNameIterator & theItr ) [inline, protected]
The copy constructor.
The only reason why we have it implemented is because it's needed to implement the clone method.
- See also:
- RevisionNameIterator::clone()
Definition at line 230 of file CdbBdbSMetaDataP.cc.
References _appendTopmostFlag, _hasEverBeenAdvanced, _isValid, _revItr, _thereIsTopmostToAppend, and _value.
RevisionNameIterator::RevisionNameIterator ( const BdbRef(CdbBdbSRevCollectionP)& theRef, bool appendTopmostFlag ) [inline]
The normal constructor.
Definition at line 244 of file CdbBdbSMetaDataP.cc.
References _appendTopmostFlag, _hasEverBeenAdvanced, _isValid, _revItr, _thereIsTopmostToAppend, _value, BdbIsNull, false, and theRef.
virtual RevisionNameIterator::~RevisionNameIterator ( ) [inline, virtual]
The destructor.
Definition at line 259 of file CdbBdbSMetaDataP.cc.
RevisionNameIterator::RevisionNameIterator ( ) [private]
The default constructor (NOT IMPLEMENTED).
RevisionNameIterator::RevisionNameIterator ( const RevisionNameIterator & theItr ) [inline, protected]
The copy constructor.
The only reason why we have it implemented is because it's needed to implement the clone method.
- See also:
- RevisionNameIterator::clone()
Definition at line 172 of file CdbBdbSRevCollectionP.cc.
RevisionNameIterator::RevisionNameIterator ( const CdbBdbSTimeLineP< BdbRef(CdbBdbSRevisionP) >::IteratorOfIntervals & theItr ) [inline]
The normal constructor.
Definition at line 181 of file CdbBdbSRevCollectionP.cc.
virtual RevisionNameIterator::~RevisionNameIterator ( ) [inline, virtual]
The destructor.
Definition at line 188 of file CdbBdbSRevCollectionP.cc.
Member Function Documentation
RevisionNameIterator::BdbRef ( CdbBdbSRevCollectionP ) [private]
virtual InterfaceType* RevisionNameIterator::clone ( ) const [inline, virtual]
Make a clone of itself.
- See also:
- CdbIItr::clone()
Implements InterfaceType.
Definition at line 268 of file CdbBdbSRevCollectionP.cc.
References InterfaceType::InterfaceType, and RevisionNameIterator().
virtual InterfaceType* RevisionNameIterator::clone ( ) const [inline, virtual]
Make a clone of itself.
- See also:
- CdbIItr::clone()
Implements InterfaceType.
Definition at line 372 of file CdbBdbSMetaDataP.cc.
References InterfaceType::InterfaceType, and RevisionNameIterator().
virtual InterfaceType* RevisionNameIterator::clone ( ) const [inline, virtual]
Make a clone of itself.
This method has to be implemented by subclasses. It's meant to provide a clone of the iterator and return a pointer onto a new object.
- Returns:
- a pointer onto a clone
Implements InterfaceType.
Definition at line 351 of file CdbBdbSCondition.cc.
References InterfaceType::InterfaceType, and RevisionNameIterator().
virtual bool RevisionNameIterator::isValid ( ) [inline, virtual]
Check if an iterator is valid.
This implements the corresponding method of the base class.
- See also:
- CdbIItr::isValid()
Implements InterfaceType.
Definition at line 259 of file CdbBdbSRevCollectionP.cc.
References _itr.
virtual bool RevisionNameIterator::isValid ( ) [inline, virtual]
Check if an iterator is valid.
This implements the corresponding method of the base class.
- See also:
- CdbIItr::isValid()
Implements InterfaceType.
Definition at line 363 of file CdbBdbSMetaDataP.cc.
References _isValid.
virtual bool RevisionNameIterator::isValid ( ) [inline, virtual]
Check if an iterator is valid.
"Valid" means that an iterator is in the right scope, is pointing onto some valid element and is not past the end of the iterated sequence.
- Returns:
- true if valid
Implements InterfaceType.
Definition at line 346 of file CdbBdbSCondition.cc.
References _isValid.
Referenced by value().
virtual bool RevisionNameIterator::next ( ) [inline, virtual]
Advance an iterator to the next position.
This implements the corresponding method of the base class.
- See also:
- CdbIItr::next()
Implements InterfaceType.
Definition at line 209 of file CdbBdbSRevCollectionP.cc.
References _itr, _value, BdbIsNull, BdbRef(), next(), and CdbBdbSTimeLineInterval< V >::value.
virtual bool RevisionNameIterator::next ( ) [inline, virtual]
Advance an iterator to the next position.
This implements the corresponding method of the base class.
- See also:
- CdbIItr::next()
Implements InterfaceType.
Definition at line 285 of file CdbBdbSMetaDataP.cc.
References _hasEverBeenAdvanced, _isValid, _revItr, _thereIsTopmostToAppend, _value, CdbItr< const char * >::isValid(), CdbItr< const char * >::next(), and CdbItr< const char * >::value().
virtual bool RevisionNameIterator::next ( ) [inline, virtual]
Advance an iterator to the next position.
This is the first method to be called upon the initialization of the of the iterator's scope.
- Returns:
- true if the operation succeded
Implements InterfaceType.
Definition at line 300 of file CdbBdbSCondition.cc.
References _hasEverBeenAdvanced, _isValid, _itr, _metaDataRefs, _revItr, _value, BdbRef(), CdbStatus::Success, tryNext(), and CdbItr< const char * >::value().
Referenced by next().
RevisionNameIterator& RevisionNameIterator::operator= ( const RevisionNameIterator & theItr ) [private]
The assignment operator (NOT IMPLEMENTED).
RevisionNameIterator& RevisionNameIterator::operator= ( const RevisionNameIterator & theItr ) [private]
The assignment operator (NOT IMPLEMENTED).
RevisionNameIterator& RevisionNameIterator::operator= ( const RevisionNameIterator & theItr ) [private]
virtual CdbStatus RevisionNameIterator::reset ( ) [inline, virtual]
Reset an iterator to its initial state.
This implements the corresponding method of the base class.
- See also:
- CdbIItr::reset , CdbStatus
Implements InterfaceType.
Definition at line 198 of file CdbBdbSRevCollectionP.cc.
References _itr.
virtual CdbStatus RevisionNameIterator::reset ( ) [inline, virtual]
Reset an iterator to its initial state.
This implements the corresponding method of the base class.
- See also:
- CdbIItr::reset , CdbStatus
Implements InterfaceType.
Definition at line 269 of file CdbBdbSMetaDataP.cc.
References _appendTopmostFlag, _hasEverBeenAdvanced, _isValid, _thereIsTopmostToAppend, and CdbStatus::Success.
virtual CdbStatus RevisionNameIterator::reset ( ) [inline, virtual]
Reset an iterator to its initial state.
This will reset an iterator to the state it was before the very first call to the CdbIItr::next method.
- See also:
- CdbIItr::next
- Returns:
- the completion status
Implements InterfaceType.
Definition at line 271 of file CdbBdbSCondition.cc.
References _hasEverBeenAdvanced, _isValid, and CdbStatus::Success.
bool RevisionNameIterator::tryNext ( ) [inline]
Definition at line 279 of file CdbBdbSCondition.cc.
References _itr, _metaDataRefs, _revItr, BdbRef(), CdbItr< const char * >::next(), and CdbStatus::Success.
Referenced by next().
virtual ValueType RevisionNameIterator::value ( void ) [inline, virtual]
Obtain the currently reffered value.
This implements the corresponding method of the base class.
- See also:
- CdbIItr::value() , CdbIItr::ValueType
- Returns:
- the current value the iterator is set on
Implements InterfaceType.
Definition at line 242 of file CdbBdbSRevCollectionP.cc.
References _value, isValid(), and InterfaceType::ValueType.
virtual ValueType RevisionNameIterator::value ( void ) [inline, virtual]
Obtain the currently reffered value.
This implements the corresponding method of the base class.
- See also:
- CdbIItr::value() , CdbIItr::ValueType
- Returns:
- the current value the iterator is set on
Implements InterfaceType.
Definition at line 346 of file CdbBdbSMetaDataP.cc.
References _value, and InterfaceType::ValueType.
virtual ValueType RevisionNameIterator::value ( void ) [inline, virtual]
Obtain the currently reffered value.
This operation makes only sense if the previously issued CdbIItr::next operation succeded. Otherwise an undefined value will be returned.
- See also:
- CdbIItr::next
- Returns:
- a value of the currently reffered value
Implements InterfaceType.
Definition at line 338 of file CdbBdbSCondition.cc.
References _value, and InterfaceType::ValueType.
Member Data Documentation
bool RevisionNameIterator::_appendTopmostFlag [private]
Definition at line 380 of file CdbBdbSMetaDataP.cc.
Referenced by reset(), and RevisionNameIterator().
bool RevisionNameIterator::_hasEverBeenAdvanced [private]
Definition at line 383 of file CdbBdbSMetaDataP.cc.
Referenced by next(), reset(), and RevisionNameIterator().
bool RevisionNameIterator::_isValid [private]
Definition at line 382 of file CdbBdbSMetaDataP.cc.
Referenced by isValid(), next(), reset(), and RevisionNameIterator().
CdbBdbSTimeLineP< BdbRef(CdbBdbSRevisionP) >::IteratorOfInterval RevisionNameIterator::_itr) [private]
Definition at line 277 of file CdbBdbSRevCollectionP.cc.
std::vector<BdbRef(CdbBdbSMetaDataP)>::const_iterato RevisionNameIterator::_itr) [private]
Definition at line 368 of file CdbBdbSCondition.cc.
Referenced by isValid(), next(), reset(), RevisionNameIterator(), and tryNext().
std::vector<BdbRef(CdbBdbSMetaDataP) RevisionNameIterator::_metaDataRefs) [private]
Definition at line 358 of file CdbBdbSCondition.cc.
Referenced by next(), RevisionNameIterator(), and tryNext().
CdbItr<const char*> RevisionNameIterator::_revItr [private]
Definition at line 387 of file CdbBdbSMetaDataP.cc.
CdbItr<const char*> RevisionNameIterator::_revItr [private]
Definition at line 372 of file CdbBdbSCondition.cc.
Referenced by next(), RevisionNameIterator(), and tryNext().
bool RevisionNameIterator::_thereIsTopmostToAppend [private]
Definition at line 393 of file CdbBdbSMetaDataP.cc.
Referenced by next(), reset(), and RevisionNameIterator().
std::string RevisionNameIterator::_value [private]
Definition at line 279 of file CdbBdbSRevCollectionP.cc.
Referenced by next(), RevisionNameIterator(), and value().
The documentation for this class was generated from the following files:
- /CdbBdbShared/CdbBdbSCondition.cc
- /CdbBdbShared/CdbBdbSMetaDataP.cc
- /CdbBdbShared/CdbBdbSRevCollectionP.cc
BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us
Page Owner: Jacek Becla
Last Update: October 04, 2002