![]() |
|
|
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 CdbBdbSConfigItr Class Reference
Inheritance diagram for CdbBdbSConfigItr:
List of all members.
Public Methods
CdbBdbSConfigItr (const CdbBdbSConfigCollectionP::IteratorOfIntervals &theInputItr) virtual ~CdbBdbSConfigItr () 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
CdbBdbSConfigItr (const CdbBdbSConfigItr &theItr) Private Methods
CdbBdbSConfigItr () CdbBdbSConfigItr & operator= (const CdbBdbSConfigItr &theItr) Private Attributes
CdbBdbSConfigCollectionP::IteratorOfIntervals _itr CdbConfigElement _value Constructor & Destructor Documentation
CdbBdbSConfigItr::CdbBdbSConfigItr ( ) [private]
Referenced by clone().
CdbBdbSConfigItr::CdbBdbSConfigItr ( const CdbBdbSConfigItr & theItr ) [inline, protected]
Definition at line 42 of file CdbBdbSView.cc.
CdbBdbSConfigItr::CdbBdbSConfigItr ( const CdbBdbSConfigCollectionP::IteratorOfIntervals & theInputItr ) [inline]
Definition at line 49 of file CdbBdbSView.cc.
References _itr.
virtual CdbBdbSConfigItr::~CdbBdbSConfigItr ( ) [inline, virtual]
Definition at line 53 of file CdbBdbSView.cc.
Member Function Documentation
virtual InterfaceType* CdbBdbSConfigItr::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 110 of file CdbBdbSView.cc.
References CdbBdbSConfigItr(), and InterfaceType::InterfaceType.
virtual bool CdbBdbSConfigItr::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 105 of file CdbBdbSView.cc.
References _itr, and CdbItr< CdbBdbSConfigInterval >::isValid().
Referenced by value().
virtual bool CdbBdbSConfigItr::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 61 of file CdbBdbSView.cc.
References _itr, _value, CdbBdbSConfigElement::accessIsAllowed(), CdbBdbSTimeLineInterval< CdbBdbSConfigElement >::begin, CdbBdbSTimeLineInterval< CdbBdbSConfigElement >::end, CdbItr< CdbBdbSConfigInterval >::next(), CdbBdbSConfigElement::partition, result, CdbBdbSConfigElement::revision, CdbBdbSConfigElement::useRevision, CdbBdbSTimeLineInterval< CdbBdbSConfigElement >::value, and CdbItr< CdbBdbSConfigInterval >::value().
CdbBdbSConfigItr& CdbBdbSConfigItr::operator= ( const CdbBdbSConfigItr & theItr ) [private]
virtual CdbStatus CdbBdbSConfigItr::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 56 of file CdbBdbSView.cc.
References _itr, and CdbItr< CdbBdbSConfigInterval >::reset().
virtual ValueType CdbBdbSConfigItr::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 97 of file CdbBdbSView.cc.
References _value, isValid(), and InterfaceType::ValueType.
Member Data Documentation
CdbBdbSConfigCollectionP::IteratorOfIntervals CdbBdbSConfigItr::_itr [private]
Definition at line 117 of file CdbBdbSView.cc.
Referenced by CdbBdbSConfigItr(), isValid(), next(), and reset().
CdbConfigElement CdbBdbSConfigItr::_value [private]
Definition at line 119 of file CdbBdbSView.cc.
Referenced by CdbBdbSConfigItr(), next(), and value().
The documentation for this class was generated from the following file:
- /CdbBdbShared/CdbBdbSView.cc
BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us
Page Owner: Jacek Becla
Last Update: October 04, 2002