#include <CdbBdb2RooPayloadConvertersDict.hh>
Public Member Functions | |
| CdbBdb2RooPayloadConvertersDict () | |
| The default constructor. | |
| CdbBdb2RooPayloadConvertersDict (const CdbBdb2RooPayloadConvertersDict &theOther) | |
| The copy constructor. | |
| virtual | ~CdbBdb2RooPayloadConvertersDict () |
| The destructor. | |
| CdbBdb2RooPayloadConvertersDict & | operator= (const CdbBdb2RooPayloadConvertersDict &theOther) |
| The assignment operator. | |
| virtual CdbStatus | add (const CdbCPtr< CdbRooConverterBase > &theConverterPtr) |
| Add a converter. | |
| virtual CdbCPtr< CdbRooConverterBase > | findByInputClassName (const std::string &theName) const |
| Find a converter by the specified "input" class name. | |
| virtual CdbCPtr< CdbRooConverterBase > | findByOutputClassName (const std::string &theName) const |
| Find a converter by the specified "output" class name. | |
An object of this class manages a dictionary of user defined converters for pairs of "Bdb" and "Roo" persistent classes. The dictionay is supposed to be prepared before and be used in a course of an actual conversion path.
Notes on the dictionary use:
1. It's expected that there is a bidirectional one-to-one correspondance between input and output classes. This policy will be enforced by the "add()" method of of the dictionary.
Definition at line 28 of file CdbBdb2RooPayloadConvertersDict.hh.
|
|
The default constructor.
Definition at line 17 of file CdbBdb2RooPayloadConvertersDict.cc. |
|
|
The copy constructor.
Definition at line 20 of file CdbBdb2RooPayloadConvertersDict.cc. |
|
|
The destructor.
Definition at line 25 of file CdbBdb2RooPayloadConvertersDict.cc. |
|
|
Add a converter.
Definition at line 39 of file CdbBdb2RooPayloadConvertersDict.cc. References CdbStatus::Error, findByInputClassName(), findByOutputClassName(), CdbStatus::IllegalParameters, CdbCPtr< CdbRooConverterBase >::isNull(), and CdbStatus::Success. Referenced by CdbBdb2RooPayloadConversionFwk::registerConverter(). |
|
|
Find a converter by the specified "input" class name. The method will return a pointer on the converter or 0 if no object matching the specified name is found. Definition at line 58 of file CdbBdb2RooPayloadConvertersDict.cc. Referenced by add(), and CdbBdb2RooPayloadConversionFwk::doConversion(). |
|
|
Find a converter by the specified "output" class name. The method will return a pointer on the converter or 0 if no object matching the specified name is found. Definition at line 67 of file CdbBdb2RooPayloadConvertersDict.cc. Referenced by add(). |
|
|
The assignment operator.
Definition at line 29 of file CdbBdb2RooPayloadConvertersDict.cc. References _byInputClassName, and _byOutputClassName. |
1.3-rc3