Public Types | |
| typedef CdbRooRoTimeLineIntervalR< V > | Interval |
| typedef CdbRooRoTimeLineNodeR< V > | Node |
| typedef CdbItr< Interval > | IteratorOfIntervals |
| Type definitions for the TimeLine's iterators. | |
Public Member Functions | |
| CdbRooRoTimeLineR () | |
| Default constructor. | |
| CdbRooRoTimeLineR (const V &theInitialValue) | |
| Normal constructor. | |
| virtual | ~CdbRooRoTimeLineR () |
| CdbStatus | insert (const BdbTime &theBeginTime, const BdbTime &theEndTime, const V &theValue) |
| Insert an interval into the collection. | |
| CdbStatus | insert (const Interval &theInterval) |
| Insert an interval into the collection. | |
| bool | findAtBegin (Interval &theInterval, const BdbTime &theTime) const |
| Find an interval in the TimeLine. | |
| bool | find (Interval &theInterval, const BdbTime &theTime) const |
| Find an interval in the TimeLine. | |
| CdbStatus | first (Interval &theInterval) const |
| Get the first interval in the TimeLine. | |
| CdbStatus | last (Interval &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) const |
| Dump the contents of the collection. | |
This is a persistent implementation for the timeline of intervals.
Definition at line 139 of file CdbRooRoTimeLineR.rdl.
|
|||||
|
Definition at line 143 of file CdbRooRoTimeLineR.rdl. |
|
|||||
|
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 159 of file CdbRooRoTimeLineR.rdl. Referenced by CdbRooRoTimeLineR< V >::iterator(). |
|
|||||
|
Definition at line 144 of file CdbRooRoTimeLineR.rdl. |
|
|||||||||
|
Default constructor. The timeline will be initialized with the value constructed according the default constriuctor of the corresponding class. Definition at line 221 of file CdbRooRoTimeLineR.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 230 of file CdbRooRoTimeLineR.cc. |
|
|||||||||
|
Definition at line 180 of file CdbRooRoTimeLineR.rdl. |
|
||||||||||||||||||||
|
Dump the contents of the collection. The range of the dumped interval is controlled by mean of two optional parameters.
Definition at line 389 of file CdbRooRoTimeLineR.cc. References CdbRooRoTimeLineNodeR< V >::begin(), CdbRooRoTimeLineNodeR< V >::end(), CdbRooRoAbsBtreeR< CdbRooRoInterValBteR, CdbRooRoInterValBteFCPR, ORDER >::fuzzySearch(), CdbRooRoTimeLineNodeR< V >::next(), CdbRooRoTimeLineNodeR< V >::prev(), CdbTimeUtils::time2string(), CdbRooRoTimeLineNodeR< V >::value(), and CdbRooRoInterValBteR::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 330 of file CdbRooRoTimeLineR.cc. References CdbRooRoAbsBtreeR< CdbRooRoInterValBteR, CdbRooRoInterValBteFCPR, ORDER >::fuzzySearch(), and CdbRooRoInterValBteR::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 316 of file CdbRooRoTimeLineR.cc. References CdbRooRoAbsBtreeR< CdbRooRoInterValBteR, CdbRooRoInterValBteFCPR, ORDER >::search(), and CdbRooRoInterValBteR::value(). |
|
||||||||||
|
Get the first interval in the TimeLine. Return CdbStatus::NotFound if there is no intervals in the collection.
Definition at line 344 of file CdbRooRoTimeLineR.cc. References CdbStatus::Success. |
|
||||||||||
|
Insert an interval into the collection. This method will "cut in" the specified interval.
Definition at line 307 of file CdbRooRoTimeLineR.cc. References CdbRooRoTimeLineIntervalR< V >::begin(), CdbRooRoTimeLineIntervalR< V >::end(), CdbRooRoTimeLineR< V >::insert(), and CdbRooRoTimeLineIntervalR< V >::value(). |
|
||||||||||||||||||||
|
Insert an interval into the collection. This method will "cut in" the specified interval.
Definition at line 239 of file CdbRooRoTimeLineR.cc. References CdbStatus::Error, CdbRooRoAbsBtreeR< CdbRooRoInterValBteR, CdbRooRoInterValBteFCPR, ORDER >::fuzzySearch(), CdbStatus::Success, and CdbRooRoInterValBteR::value(). Referenced by CdbRooRoTimeLineR< 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 360 of file CdbRooRoTimeLineR.cc. References CdbRooRoAbsBtreeR< CdbRooRoInterValBteR, CdbRooRoInterValBteFCPR, ORDER >::fuzzySearch(), CdbRooRoTimeLineR< V >::IteratorOfIntervals, BdbTime::minusInfinity, BdbTime::plusInfinity, and CdbRooRoInterValBteR::value(). |
|
||||||||||
|
Get the last interval in the TimeLine. Return CdbStatus::NotFound if there is no intervals in the collection.
Definition at line 352 of file CdbRooRoTimeLineR.cc. References CdbStatus::Success. |
1.3-rc3