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

Public Member Functions | |
| virtual | ~CdbTranslatorsDictBase () |
| The destructor. | |
| virtual CdbStatus | add (const CdbCPtr< CdbObjectTranslator > &theTranslatorPtr)=0 |
| Add a translator. | |
| virtual CdbCPtr< CdbObjectTranslator > | find (unsigned int theTranseintTypeId, const std::string &thePersistentTypeName) const=0 |
| Find a translator by the specified keys. | |
The dictionary manages user defined translators for "persistent-to-transient" transformation.
Notes on the dictionary use:
1. It's expected that there is a unique one-to-one correspondance between persistent and transient classes. This policy will be enforced by the "add()" method of the dictionary.
2. Translators are indexed by mean of two keys:
a transient class's identifier (produced using the CdbType2Id class) a persistent class's name
class CdbObjectTranslator
Definition at line 32 of file CdbTranslatorsDictBase.hh.
|
|
The destructor.
Definition at line 38 of file CdbTranslatorsDictBase.hh. |
|
|
Add a translator.
Implemented in CdbTranslatorsDict. |
|
||||||||||||
|
Find a translator by the specified keys. The method will return a pointer on the translator or 0 if no object matching the specified name is found.
Implemented in CdbTranslatorsDict. |
1.3-rc3