#include <CdbBdbObjectVisitorContext.hh>
Public Member Functions | |
| CdbBdbObjectVisitorContext () | |
| The default constructor. | |
| virtual | ~CdbBdbObjectVisitorContext () |
| The destructor. | |
| void | reset () |
| Reset the context to its initial state. | |
| void | push (const Element &theElement) |
| Append ne more element at the end. | |
| void | pop () |
| Remove the last element (if any) from the very end. | |
| const Element & | first () const |
| Get to the first element. | |
| const Element & | last () const |
| Get to the last element. | |
| size_t | size () const |
| Get the total number of elements. | |
| const Element & | operator[] (size_t theIndex) const |
| Access elements using the array kind manner. | |
An object of this class is prepared by the visitor procedure and then is passed down to the user defined action method alongside with an objects to be evaluated in the current context.
IMPLEMENTATION NOTES:
(1) This class violates CDB API convention on the inclusion of "CdbBase/CdbCommon.hh" header file to avoid STD namespace conflicts of the kind described above.
Definition at line 26 of file CdbBdbObjectVisitorContext.hh.
|
|
The default constructor. Initializes an empty context Definition at line 20 of file CdbBdbObjectVisitorContext.cc. |
|
|
The destructor. Moe details... Definition at line 23 of file CdbBdbObjectVisitorContext.cc. |
|
|
Get to the first element.
Definition at line 45 of file CdbBdbObjectVisitorContext.cc. References size(). |
|
|
Get to the last element.
Definition at line 56 of file CdbBdbObjectVisitorContext.cc. References size(). |
|
|
Access elements using the array kind manner.
Definition at line 73 of file CdbBdbObjectVisitorContext.cc. References size(). |
|
|
Remove the last element (if any) from the very end.
Definition at line 39 of file CdbBdbObjectVisitorContext.cc. References size(). |
|
|
Append ne more element at the end.
Definition at line 33 of file CdbBdbObjectVisitorContext.cc. |
|
|
Reset the context to its initial state.
Definition at line 27 of file CdbBdbObjectVisitorContext.cc. |
|
|
Get the total number of elements.
Definition at line 67 of file CdbBdbObjectVisitorContext.cc. Referenced by first(), last(), operator[](), and pop(). |
1.3-rc3