Inheritance diagram for CdbBdbSOiCollectionP:

Public Member Functions | |
| CdbBdbSOiCollectionP () | |
| virtual | ~CdbBdbSOiCollectionP () |
| d_ULong | size () const |
| Get the current size of the collection. | |
| CdbStatus | insert (const CdbBdbSOi &theInterval, d_ULong &theIdx) |
| Insert an "original intention/interval" into the collection. | |
| CdbStatus | replace (const CdbBdbSOi &theInterval, d_ULong theIdx) |
| Replace an "original intention/interval" at the specified position. | |
| CdbStatus | find (const BdbTime &theInsertionTime, CdbBdbSOi &theInterval, BdbTime &theBeginOfDuration, BdbTime &theEndOfDuration) const |
| Find an interval in the collection by the insertion time. | |
| CdbStatus | find (d_ULong theIdx, CdbBdbSOi &theInterval, BdbTime &theBeginOfDuration, BdbTime &theEndOfDuration) const |
| Find an interval in the collection by the index. | |
| CdbStatus | last (CdbBdbSOi &theInterval) const |
| Get the most recent interval if any. | |
| void | dump (std::ostream &o) |
| Dump the contents of the collection. | |
This is a persistent implementation for the timeline (in the insertion dimension) of "original intervals".
Definition at line 27 of file CdbBdbSOiCollectionP.ddl.
|
|
Definition at line 18 of file CdbBdbSOiCollectionP.cc. |
|
|
Definition at line 24 of file CdbBdbSOiCollectionP.cc. |
|
|
Dump the contents of the collection.
Definition at line 271 of file CdbBdbSOiCollectionP.cc. References CdbBdbSTimeLineInterval< V >::begin, CdbBdbSOi::begin, CdbBdbSTimeLineInterval< V >::end, CdbBdbSOi::end, BdbTime::getGmtNsec(), BdbTime::getGmtSec(), CdbBdbSOi::inserted, and CdbBdbSTimeLineInterval< V >::value. |
|
||||||||||||||||||||
|
Find an interval in the collection by the index. This method if successfull will return an "original" interval and its "duration" in the insertion time dimension.
Definition at line 211 of file CdbBdbSOiCollectionP.cc. References CdbStatus::Error, CdbBdbSOi::inserted, BdbTime::plusInfinity, and CdbStatus::Success. |
|
||||||||||||||||||||
|
Find an interval in the collection by the insertion time. This method if successfull will return a "original" interval and its "duration" in the insertion time dimension.
Definition at line 166 of file CdbBdbSOiCollectionP.cc. References CdbBdbSTimeLineInterval< V >::begin, CdbBdbSTimeLineInterval< V >::end, CdbStatus::Error, CdbStatus::NotFound, CdbStatus::Success, and CdbBdbSTimeLineInterval< V >::value. |
|
||||||||||||
|
Insert an "original intention/interval" into the collection. THis method will return an index of the interval in the collection.
Definition at line 37 of file CdbBdbSOiCollectionP.cc. References CdbBdbSOi::begin, CdbBdbSOi::end, CdbStatus::Error, CdbBdbSOi::inserted, and CdbStatus::Success. |
|
|
Get the most recent interval if any. Return CdbStatus::NotFound if there is no intervals in the collection.
Definition at line 257 of file CdbBdbSOiCollectionP.cc. References CdbStatus::NotFound, and CdbStatus::Success. |
|
||||||||||||
|
Replace an "original intention/interval" at the specified position. THis method will replace an interval at specified index with another one. NOTE #1: An interval with such an index should already exist. NOTE #2: The 'insertion time' of the interval must be equal to the one already existing.
Definition at line 107 of file CdbBdbSOiCollectionP.cc. References CdbStatus::Error, BdbTime::getGmtNsec(), BdbTime::getGmtSec(), CdbBdbSOi::inserted, and CdbStatus::Success. |
|
|
Get the current size of the collection. Returns the actual number of intervals stored in the collection. Definition at line 31 of file CdbBdbSOiCollectionP.cc. |
1.3-rc3