#include <CdbBdbObjectTranslatorPT.hh>
Inheritance diagram for CdbBdbObjectTranslatorPT< P, T >:

Public Member Functions | |
| virtual | ~CdbBdbObjectTranslatorPT () |
| Destructor. | |
Protected Member Functions | |
| CdbBdbObjectTranslatorPT () | |
| Default constructor. | |
| virtual CdbStatus | toTransientPT (T *&theTransientPtr, const BdbHandle(P)&theObjectH) const=0 |
| Translate into a transient object (persistent & transient type specific translation). | |
This class is an element of the "persistent-to-transient" translation facility extending the core CDB API and allowing a better (and more confined) controll over persistency in client applications.
Roles of this class are:
1. to translate an actual persistent type into its name 2. to be a direct base class for concrete persistent-technology translators
Definition at line 28 of file CdbBdbObjectTranslatorPT.hh.
|
|||||||||
|
Default constructor. IMPLEMENTATION NOTES: The constructor may start a short transaction of none is available yet. The transaction is needed to translate the specified persistent type into its name. Definition at line 58 of file CdbBdbObjectTranslatorPT.cc. |
|
|||||||||
|
Destructor.
Definition at line 104 of file CdbBdbObjectTranslatorPT.hh. |
|
||||||||||||||||
|
Translate into a transient object (persistent & transient type specific translation). This is a redefined version of a similar method CdbObjectTranslatorT::toTransientT() defined in the base class and implemented above. Its role is to force translation procedures of subclasses be written in terms of the specified persistent & transinet types. The method is supposed to be implemented by subclasses. The method is guaranteed to be called with the correct parameters.
Implemented in CdbBdbObjectTranslatorP2T< P, T >. |
1.3-rc3