#include <CdbBdb2RooPayloadConversionFwk.hh>
Static Public Member Functions | |
| bool | setVerbose (bool newModeFlag) |
| Modify the current value of the "verbose" mode. | |
| bool | setDebug (bool newModeFlag) |
| Modify the current value of the "debug" mode. | |
| bool | setDoNotCompress (bool newModeFlag) |
| Modify the current value of the "doNotCompress" mode. | |
| CdbStatus | registerConverter (const CdbCPtr< CdbRooConverterBase > &thePtr) |
| Register a converter. | |
| CdbStatus | registerConverters (const std::vector< CdbCPtr< CdbRooConverterDict > > &theDicts) |
| CdbStatus | testConversion (UShort_t theOriginId, UShort_t theConditionId, bool isPartitionableFlag, UShort_t thePartitionId, UShort_t theClusterId, UShort_t theIncrementId) |
| Start a test conversion in a context of the specified MetaData. | |
| CdbStatus | testConversion (UShort_t theOriginId, const std::vector< UShort_t > &theConditionId, bool isPartitionableFlag, UShort_t thePartitionId, UShort_t theClusterId, UShort_t theIncrementId) |
| Start a test conversion in a context of the specified MetaData. | |
| CdbStatus | doConversion (const char *theDefinitionFileName) |
| Start the definition file driven conversion. | |
More details...
Definition at line 21 of file CdbBdb2RooPayloadConversionFwk.hh.
|
|
Start the definition file driven conversion. The method will run the conversion using the specified "defition file" and converters registered using the above defined method. The definition file maps conditions onto persistent classes of the corresponding "payload" objects. Only those conditions whose converters are registered at a time when the conversion start would be converted. Note, this method will employ both "regular" and "merging" converters. A proper parameterization which converter to use for which condition(s) is done via the definition file. The operation if successfull will return CdbStatus::Success. Other values will be treated as errors.
Definition at line 565 of file CdbBdb2RooPayloadConversionFwk.cc. References CdbStatus::Error, CdbBdb2RooPayloadConvertersDict::findByInputClassName(), CdbRooReadonly::forceLoad(), CdbBdbShared::forceLoad(), CdbDatabase::instance(), CdbCPtr< P, CLOSE_POLICY >::isNull(), and CdbStatus::Success. Referenced by main(). |
|
|
Register a converter. The operation if successfull will return CdbStatus::Success. Other values will be treated as errors. Definition at line 436 of file CdbBdb2RooPayloadConversionFwk.cc. References CdbBdb2RooPayloadConvertersDict::add(), CdbStatus::IllegalParameters, and CdbCPtr< CdbRooConverterBase >::isNull(). Referenced by main(), and registerConverters(). |
|
|
Definition at line 453 of file CdbBdb2RooPayloadConversionFwk.cc. References registerConverter(), and CdbStatus::Success. |
|
|
Modify the current value of the "debug" mode. The method will also return the previous value of the mode. Definition at line 420 of file CdbBdb2RooPayloadConversionFwk.cc. Referenced by main(). |
|
|
Modify the current value of the "doNotCompress" mode. The method will also return the previous value of the mode. Definition at line 428 of file CdbBdb2RooPayloadConversionFwk.cc. Referenced by main(). |
|
|
Modify the current value of the "verbose" mode. The method will also return the previous value of the mode. Definition at line 412 of file CdbBdb2RooPayloadConversionFwk.cc. Referenced by main(). |
|
||||||||||||||||||||||||||||
|
Start a test conversion in a context of the specified MetaData. Test using the "merging" (as opposed to "regular") converters. Definition at line 520 of file CdbBdb2RooPayloadConversionFwk.cc. References CdbRooReadonly::forceLoad(), and CdbBdbShared::forceLoad(). |
|
||||||||||||||||||||||||||||
|
Start a test conversion in a context of the specified MetaData. Test using the "regular" (as opposed to "merging") converters. Definition at line 475 of file CdbBdb2RooPayloadConversionFwk.cc. References CdbRooReadonly::forceLoad(), and CdbBdbShared::forceLoad(). Referenced by main(). |
1.3-rc3