#include <MappingGenerator.h>
Public Member Functions | |
void | createNewDependentMapping (const edm::TypeWithDict &dependentClassDictionary, const MappingTree &parentClassMapping, MappingTree &destination) |
void | createNewDependentMapping (const edm::TypeWithDict &dependentClassDictionary, const MappingTree &parentClassMapping, const MappingTree &dependentClassBaseMapping, MappingTree &destination) |
void | createNewMapping (const std::string &containerName, const edm::TypeWithDict &classDictionary, MappingTree &destination) |
void | createNewMapping (const std::string &containerName, const edm::TypeWithDict &classDictionary, const MappingTree &baseMapping, MappingTree &destination) |
MappingGenerator (coral::ISchema &schema) | |
Constructor. More... | |
~MappingGenerator () | |
Destructor. More... | |
Private Attributes | |
coral::ISchema & | m_schema |
TableRegister | m_tableRegister |
Definition at line 23 of file MappingGenerator.h.
|
explicit |
Constructor.
Definition at line 9 of file MappingGenerator.cc.
ora::MappingGenerator::~MappingGenerator | ( | ) |
void ora::MappingGenerator::createNewDependentMapping | ( | const edm::TypeWithDict & | dependentClassDictionary, |
const MappingTree & | parentClassMapping, | ||
MappingTree & | destination | ||
) |
Definition at line 58 of file MappingGenerator.cc.
References className(), ora::MappingRules::ClassNameLengthForSchema, ora::MappingRules::columnNameForId(), ora::MappingRules::columnNameForRefColumn(), mps_check::columns, edm::TypeWithDict::cppName(), ora::MappingRules::formatName(), i, ora::MappingRules::MaxColumnsPerTable, ora::MappingRules::MaxTableNameLength, ora::MappingRules::newNameForDepSchemaObject(), ora::RelationalMappingFactory::newProcessor(), ora::MappingElement::setColumnNames(), ora::MappingTree::setDependency(), ora::MappingTree::setTopElement(), ora::RelationalMapping::sizeInColumns(), AlCaHLTBitMon_QueryRunRegistry::string, HLT_25ns10e33_v2_cff::tableName, ora::MappingElement::tableName(), ora::throwException(), and ora::MappingTree::topElement().
void ora::MappingGenerator::createNewDependentMapping | ( | const edm::TypeWithDict & | dependentClassDictionary, |
const MappingTree & | parentClassMapping, | ||
const MappingTree & | dependentClassBaseMapping, | ||
MappingTree & | destination | ||
) |
Definition at line 96 of file MappingGenerator.cc.
References ora::MappingTree::className(), ora::MappingTree::override(), and ora::throwException().
void ora::MappingGenerator::createNewMapping | ( | const std::string & | containerName, |
const edm::TypeWithDict & | classDictionary, | ||
MappingTree & | destination | ||
) |
Definition at line 16 of file MappingGenerator.cc.
References className(), ora::MappingRules::ClassNameLengthForSchema, ora::MappingRules::columnNameForId(), ora::MappingElement::columnNames(), edm::TypeWithDict::cppName(), ora::MappingRules::formatName(), ora::MappingRules::MaxColumnsPerTable, ora::RelationalMappingFactory::newProcessor(), ora::MappingElement::setColumnNames(), ora::MappingTree::setTopElement(), ora::RelationalMapping::sizeInColumns(), AlCaHLTBitMon_QueryRunRegistry::string, HLT_25ns10e33_v2_cff::tableName, ora::MappingRules::tableNameForItem(), and ora::throwException().
Referenced by ora::ContainerSchema::create().
void ora::MappingGenerator::createNewMapping | ( | const std::string & | containerName, |
const edm::TypeWithDict & | classDictionary, | ||
const MappingTree & | baseMapping, | ||
MappingTree & | destination | ||
) |
Definition at line 46 of file MappingGenerator.cc.
References ora::MappingTree::className(), ora::MappingTree::override(), and ora::throwException().
|
private |
Definition at line 44 of file MappingGenerator.h.
|
private |
Definition at line 45 of file MappingGenerator.h.