Inheritance diagram for CdbRooRoViewCollectionR:

Public Member Functions | |
| CdbRooRoViewCollectionR () | |
| Default constructor. | |
| virtual | ~CdbRooRoViewCollectionR () |
| Destructor. | |
| virtual CdbStatus | add (const CdbRooRoViewR &theRef) |
| Insert an element. | |
| virtual CdbStatus | newest (CdbRooRoViewR &theRef) |
| Find the most recent view. | |
| virtual CdbStatus | newest (CdbCPtr< CdbRooRoViewR > &thePtr) |
| Find the most recent view. | |
In addition to its base class, the current collection brings in the concept and extended API for the "newest" element. The "newest" element is the view, which has the most recent creation time.
Definition at line 18 of file CdbRooRoViewCollectionR.rdl.
|
|
Default constructor. Initializes empty collection. Definition at line 19 of file CdbRooRoViewCollectionR.cc. |
|
|
Destructor.
Definition at line 24 of file CdbRooRoViewCollectionR.cc. |
|
|
Insert an element. Extend the "::add" method of the base class to perform additional tests which are important in the current context.
Reimplemented from CdbRooRoNameIdCollectionR< CdbRooRoViewR >. Definition at line 28 of file CdbRooRoViewCollectionR.cc. References CdbRooRoNameIdCollectionR< T >::add(), CdbRooRoViewR::created(), CdbStatus::Error, CdbRooRoNameIdCollectionR< CdbRooRoViewR >::find(), CdbRooRoViewR::id(), CdbRooRoNameIdCollectionR< CdbRooRoViewR >::size(), and CdbStatus::Success. |
|
|
Find the most recent view. Being functionally similar to the previous method this one would initialize a counted smart pointer onto the found object. Definition at line 81 of file CdbRooRoViewCollectionR.cc. References CdbRooRoNameIdCollectionR< CdbRooRoViewR >::find(), CdbStatus::NotFound, and CdbRooRoNameIdCollectionR< CdbRooRoViewR >::size(). |
|
|
Find the most recent view. The most recent view is the one having the most recent creation time. The method will return CdbStatus::NotFound if the collection is empty. Definition at line 73 of file CdbRooRoViewCollectionR.cc. References CdbRooRoNameIdCollectionR< CdbRooRoViewR >::find(), CdbStatus::NotFound, and CdbRooRoNameIdCollectionR< CdbRooRoViewR >::size(). |
1.3-rc3