Inheritance diagram for CdbBdbSTimeLineP< V >:

Public Types | |
| typedef CdbItr< CdbBdbSTimeLineInterval< V > > | IteratorOfIntervals |
| Type definitions for the TimeLine's iterators. | |
Public Member Functions | |
| CdbBdbSTimeLineP () | |
| Default constructor. | |
| CdbBdbSTimeLineP (const V &theInitialValue) | |
| Normal constructor. | |
| virtual | ~CdbBdbSTimeLineP () |
| CdbStatus | insert (const BdbTime &theBeginTime, const BdbTime &theEndTime, const V &theValue) |
| Insert an interval into the collection. | |
| CdbStatus | insert (const CdbBdbSTimeLineInterval< V > &theInterval) |
| Insert an interval into the collection. | |
| bool | findAtBegin (CdbBdbSTimeLineInterval< V > &theInterval, const BdbTime &theTime) const |
| Find an interval in the TimeLine. | |
| bool | find (CdbBdbSTimeLineInterval< V > &theInterval, const BdbTime &theTime) const |
| Find an interval in the TimeLine. | |
| CdbStatus | first (CdbBdbSTimeLineInterval< V > &theInterval) const |
| Get the first interval in the TimeLine. | |
| CdbStatus | last (CdbBdbSTimeLineInterval< V > &theInterval) const |
| Get the last interval in the TimeLine. | |
| IteratorOfIntervals | iterator (const BdbTime &theBeginTime=BdbTime::minusInfinity) const |
| Get an instance of an iterator for intervals. | |
| void | dump (std::ostream &o, const BdbTime &theBeginTime=BdbTime::minusInfinity, const BdbTime &theEndTime=BdbTime::plusInfinity) |
| Dump the contents of the collection. | |
| CdbStatus | clone (BdbRef(CdbBdbSTimeLineP< V >)&theRef, const BdbRefAny &theHint=0) const |
| Clone the timeline object. | |
This is a persistent implementation for the timeline of intervals.
Definition at line 22 of file CdbBdbSTimeLineP.ddl.
|
|||||
|
Type definitions for the TimeLine's iterators. These types are being introduced here to facilitate more flexible type parametrisation of the class's clients (including its direct and indirect subclasses). Definition at line 39 of file CdbBdbSTimeLineP.ddl. Referenced by CdbBdbSTimeLineP< V >::iterator(). |
|
|||||||||
|
Default constructor. The timeline will be initialized with the value constructed according the default constriuctor of the corresponding class. Definition at line 21 of file CdbBdbSTimeLineP.cc. |
|
||||||||||
|
Normal constructor. This form of the constructor lets a client to specify the initial value to be put into the timeline. This value will be covering the whole timeline from the -Infinity to +Infinity. Definition at line 30 of file CdbBdbSTimeLineP.cc. |
|
|||||||||
|
Definition at line 38 of file CdbBdbSTimeLineP.cc. |
|
||||||||||||||||
|
Clone the timeline object. An exact copy of the current object will be created at specified location. If the default value for the hint is chosen then an objects will be created next to the current one. This operation may return a error status in case of problems during the cloning (memory management) or any inconsistency at the internal structure of the current object.
Definition at line 254 of file CdbBdbSTimeLineP.cc. References CdbBdbSTimeLineNode< V >::begin, CdbBdbSTimeLineNode< V >::end, CdbBdbSTimeLineP< V >::insert(), CdbBdbSTimeLineNode< V >::interval(), CdbBdbSTimeLineNode< V >::next, CdbStatus::Success, and CdbBdbSTimeLineNode< V >::value. Referenced by CdbBdbSRevisionP::CdbBdbSRevisionP(). |
|
||||||||||||||||||||
|
Dump the contents of the collection. The range of the dumped interval is controlled by mean of two optional parameters.
Definition at line 197 of file CdbBdbSTimeLineP.cc. References CdbBdbSTimeLineNode< V >::begin, CdbBdbSTimeLineNode< V >::end, BdbTime::getGmtNsec(), BdbTime::getGmtSec(), CdbBdbSTimeLineNode< V >::next, CdbBdbSTimeLineNode< V >::prev, CdbBdbSTimeLineNode< V >::value, and CdbBdbSInterValBte::value. |
|
||||||||||||||||
|
Find an interval in the TimeLine. This method if successfull (returned value is TRUE) will return the information about the interval where the specified time falls into. Definition at line 139 of file CdbBdbSTimeLineP.cc. References CdbBdbSInterValBte::value. |
|
||||||||||||||||
|
Find an interval in the TimeLine. This method will only return "true" if specified time macthes to the begin time of an interval in the TimeLine. Definition at line 125 of file CdbBdbSTimeLineP.cc. References CdbBdbSInterValBte::value. |
|
||||||||||
|
Get the first interval in the TimeLine. Return CdbStatus::NotFound if there is no intervals in the collection.
Definition at line 153 of file CdbBdbSTimeLineP.cc. References CdbStatus::Success. |
|
||||||||||
|
Insert an interval into the collection. This method will "cut in" the specified interval.
Definition at line 116 of file CdbBdbSTimeLineP.cc. References CdbBdbSTimeLineInterval< V >::begin, CdbBdbSTimeLineInterval< V >::end, CdbBdbSTimeLineP< V >::insert(), and CdbBdbSTimeLineInterval< V >::value. |
|
||||||||||||||||||||
|
Insert an interval into the collection. This method will "cut in" the specified interval.
Definition at line 46 of file CdbBdbSTimeLineP.cc. References CdbStatus::Error, CdbStatus::Success, and CdbBdbSInterValBte::value. Referenced by CdbBdbSTimeLineP< V >::clone(), and CdbBdbSTimeLineP< V >::insert(). |
|
||||||||||
|
Get an instance of an iterator for intervals. The intervals delivered via this iterator are sorted in the TimeLIne dimension. The first interval in the list will include the specified begin time. Definition at line 169 of file CdbBdbSTimeLineP.cc. References CdbBdbSTimeLineP< V >::IteratorOfIntervals, BdbTime::minusInfinity, BdbTime::plusInfinity, and CdbBdbSInterValBte::value. |
|
||||||||||
|
Get the last interval in the TimeLine. Return CdbStatus::NotFound if there is no intervals in the collection.
Definition at line 161 of file CdbBdbSTimeLineP.cc. References CdbStatus::Success. |
1.3-rc3