#include <CdbBdbSimpleCache.hh>
Inheritance diagram for CdbBdbSimpleCache:

Public Member Functions | |
| CdbBdbSimpleCache () | |
| Default constructor. | |
| virtual | ~CdbBdbSimpleCache () |
| Destructor. | |
| virtual void | addObject (const ooRef(ooObj)&theKeyRef, const ooRef(ooObj)&theValueRef) |
| Add a new element to the cache. | |
| virtual | ooRef (ooObj) findObject(const ooRef(ooObj)&theKeyRef) const |
| Find an object at the cache. | |
Static Public Member Functions | |
| std::string | refToString (const ooRef(ooObj)&theRef) |
| Translate an OID into a string. | |
Public Attributes | |
| virtual CdbItr< ooRef(ooObj) | iterator )() const |
| Create an iterator for keys stored at the cache. | |
This class provides a cache implementation based on std::map for persistent object references of ooRef(ooObj) type.
Definition at line 21 of file CdbBdbSimpleCache.hh.
|
|
Default constructor.
Definition at line 114 of file CdbBdbSimpleCache.cc. References ooRef(). |
|
|
Destructor.
Definition at line 119 of file CdbBdbSimpleCache.cc. |
|
||||||||||||
|
Add a new element to the cache. Implements the corresponding method at the base class.
Implements CdbBdbCache< ooRef(ooObj) >. Definition at line 126 of file CdbBdbSimpleCache.cc. References refToString(). |
|
|
Find an object at the cache. Implements the corresponding method at the base class.
|
|
|
Translate an OID into a string. This method is used to produce dictionary keys from OID-s. Definition at line 161 of file CdbBdbSimpleCache.cc. Referenced by addObject(). |
|
|
Create an iterator for keys stored at the cache. Implements the corresponding method at the base class.
|
1.3-rc3