Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

CdbTranslatorsDict Class Reference

The dictionary fo user defined translators. More...

#include <CdbTranslatorsDict.hh>

Inheritance diagram for CdbTranslatorsDict:

CdbTranslatorsDictBase List of all members.

Public Member Functions

 CdbTranslatorsDict ()
 The default constructor.

virtual ~CdbTranslatorsDict ()
 The destructor.

virtual CdbStatus add (const CdbCPtr< CdbObjectTranslator > &theTranslatorPtr)
 Add a translator.

virtual CdbCPtr< CdbObjectTranslatorfind (unsigned int theTranseintTypeId, const std::string &thePersistentTypeName) const
 Find a translator by the specified keys.


Detailed Description

The dictionary fo user defined translators.

This is an implementation of the base interface class.

See also:
class CdbTranslatorsDictBase

Definition at line 17 of file CdbTranslatorsDict.hh.


Constructor & Destructor Documentation

CdbTranslatorsDict::CdbTranslatorsDict  
 

The default constructor.

Definition at line 17 of file CdbTranslatorsDict.cc.

CdbTranslatorsDict::~CdbTranslatorsDict   [virtual]
 

The destructor.

Definition at line 21 of file CdbTranslatorsDict.cc.


Member Function Documentation

CdbStatus CdbTranslatorsDict::add const CdbCPtr< CdbObjectTranslator > &    theTranslatorPtr [virtual]
 

Add a translator.

Implements the corresponding method defined in the base class or the interface.

See also:
CdbTranslatorsDictBase::add()

Implements CdbTranslatorsDictBase.

Definition at line 25 of file CdbTranslatorsDict.cc.

References CDB_DEBUG_STREAM, CdbStatus::Error, find(), CdbCPtr< P, CLOSE_POLICY >::get(), CdbStatus::IllegalParameters, CdbCPtr< P, CLOSE_POLICY >::isNull(), and CdbStatus::Success.

CdbCPtr< CdbObjectTranslator > CdbTranslatorsDict::find unsigned int    theTranseintTypeId,
const std::string &    thePersistentTypeName
const [virtual]
 

Find a translator by the specified keys.

Implements the corresponding method defined in the base class or the interface.

See also:
CdbTranslatorsDictBase::find()

Implements CdbTranslatorsDictBase.

Definition at line 57 of file CdbTranslatorsDict.cc.

References CDB_DEBUG_STREAM.

Referenced by add().


The documentation for this class was generated from the following files:
Generated on Mon Dec 5 18:22:27 2005 for CDB by doxygen1.3-rc3