size_t ora::ClassUtils::arrayLength | ( | const edm::TypeWithDict & | typ | ) |
Definition at line 493 of file ClassUtils.cc.
References edm::TypeWithDict::arrayLength(), edm::TypeWithDict::isArray(), and edm::TypeWithDict::toType().
Referenced by ora::RelationalMapping::_sizeInColumnsForCArray(), ora::CArrayMapping::process(), ora::CArrayReader::read(), ora::CArrayHandler::size(), and ora::MappingRules::variableNameForArrayColumn().
bool ora::ClassUtils::checkMappedType | ( | const edm::TypeWithDict & | type, |
const std::string & | mappedTypeName | ||
) |
Definition at line 114 of file ClassUtils.cc.
References compareWithSuffixes(), edm::TypeWithDict::cppName(), edm::TypeWithDict::isEnum(), isTypeNameOraVector(), isTypeOraVector(), isTypeString(), replaceString(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::ObjectStreamerBase::buildBaseDataMembers(), and ora::ObjectStreamerBase::buildDataMembers().
void * ora::ClassUtils::constructObject | ( | const edm::TypeWithDict & | typ | ) |
Definition at line 205 of file ClassUtils.cc.
References edm::ObjectWithDict::address(), edm::TypeWithDict::construct(), edm::TypeWithDict::cppName(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::OraPtrReadBuffer::read(), ora::DependentClassReader::read(), and ora::ReadBuffer::read().
edm::TypeWithDict ora::ClassUtils::containerDataType | ( | const edm::TypeWithDict & | typ | ) |
Definition at line 449 of file ClassUtils.cc.
References edm::TypeWithDict::nestedType().
Referenced by ora::STLContainerWriter::build(), ora::STLContainerReader::build(), and ora::ArrayMapping::process().
edm::TypeWithDict ora::ClassUtils::containerKeyType | ( | const edm::TypeWithDict & | typ | ) |
Definition at line 429 of file ClassUtils.cc.
References edm::TypeWithDict::nestedType().
Referenced by ora::STLContainerWriter::build(), ora::STLContainerReader::build(), and ora::ArrayMapping::process().
edm::TypeWithDict ora::ClassUtils::containerSubType | ( | const edm::TypeWithDict & | typ, |
const std::string & | subTypeName | ||
) |
Definition at line 468 of file ClassUtils.cc.
References edm::TypeWithDict::nestedType().
Referenced by ora::QVQueryMaker::build().
edm::TypeWithDict ora::ClassUtils::containerValueType | ( | const edm::TypeWithDict & | typ | ) |
Definition at line 410 of file ClassUtils.cc.
References edm::TypeWithDict::nestedType().
Referenced by ora::STLContainerWriter::build(), ora::QVQueryMaker::build(), ora::STLContainerReader::build(), ora::ArrayMapping::process(), ora::PVectorHandler::PVectorHandler(), and ora::STLContainerHandler::STLContainerHandler().
std::string ora::ClassUtils::demangledName | ( | const std::type_info & | typeInfo | ) |
Definition at line 159 of file ClassUtils.cc.
References run_regression::ret, ntuplemaker::status, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by cond::persistency::Session::createIov(), cond::service::PoolDBOutputService::createNewIOV(), cond::createPayload(), PhysicsTools::VarProcessor::deriv(), PhysicsTools::MVAComputer::evalInternal(), lookupDictionary(), ora::Container::realClassName(), cond::persistency::Session::storePayload(), ora::throwException(), edm::typeDemangle(), and cond::service::PoolDBOutputService::writeOne().
bool ora::ClassUtils::findBaseType | ( | edm::TypeWithDict & | type, |
edm::TypeWithDict & | baseType, | ||
size_t & | func | ||
) |
Definition at line 136 of file ClassUtils.cc.
References newFWLiteAna::found, edm::TypeWithDict::getBaseClassOffset(), and edm::TypeWithDict::hasBase().
Referenced by ora::OraReferenceStreamerBase::buildDataElement().
std::string ora::ClassUtils::getClassProperty | ( | const std::string & | propertyName, |
const edm::TypeWithDict & | type | ||
) |
Definition at line 500 of file ClassUtils.cc.
References edm::TypeWithDict::getClass(), run_regression::ret, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::MappingDatabase::versionOfClass(), and cond::writeTokenContainerFragment().
std::string ora::ClassUtils::getDataMemberProperty | ( | const std::string & | propertyName, |
const edm::MemberWithDict & | dataMember | ||
) |
Definition at line 513 of file ClassUtils.cc.
References edm::MemberWithDict::declaringType(), edm::TypeWithDict::getClass(), edm::MemberWithDict::name(), run_regression::ret, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::isLoosePersistencyDataMember(), ora::isLoosePersistencyOnWriting(), and ora::isMappedToBlob().
bool ora::ClassUtils::isType | ( | const edm::TypeWithDict & | type, |
const edm::TypeWithDict & | baseType | ||
) |
Definition at line 50 of file ClassUtils.cc.
References edm::TypeWithDict::hasBase(), and run_regression::ret.
Referenced by ora::DatabaseContainer::fetchItemAsType(), and ora::IteratorBuffer::getItemAsType().
bool ora::ClassUtils::isTypeAssociativeContainer | ( | const edm::TypeWithDict & | typ | ) |
Definition at line 286 of file ClassUtils.cc.
References edm::TypeWithDict::isTemplateInstance(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::TypeWithDict::templateName().
Referenced by ora::RelationalMapping::_sizeInColumns(), and ora::ArrayMapping::process().
bool ora::ClassUtils::isTypeContainer | ( | const edm::TypeWithDict & | typ | ) |
Definition at line 225 of file ClassUtils.cc.
References edm::TypeWithDict::isTemplateInstance(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::TypeWithDict::templateName().
Referenced by isTypeObject(), ora::RelationalMappingFactory::newProcessor(), ora::RelationalStreamerFactory::newStreamer(), and ora::SpecialSTLContainerHandler::SpecialSTLContainerHandler().
bool ora::ClassUtils::isTypeKeyedContainer | ( | const edm::TypeWithDict & | typ | ) |
Definition at line 250 of file ClassUtils.cc.
References edm::TypeWithDict::isTemplateInstance(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::TypeWithDict::templateName().
Referenced by ora::STLContainerHandler::STLContainerHandler().
bool ora::ClassUtils::isTypeNamedReference | ( | const edm::TypeWithDict & | typ | ) |
Definition at line 339 of file ClassUtils.cc.
References edm::TypeWithDict::hasBase().
Referenced by ora::RelationalMapping::_sizeInColumns(), and ora::RelationalStreamerFactory::newStreamer().
bool ora::ClassUtils::isTypeNameOraVector | ( | const std::string & | typeName | ) |
Definition at line 386 of file ClassUtils.cc.
References customizeTrackingMonitorSeedNumber::idx, AlCaHLTBitMon_QueryRunRegistry::string, and cond::persistency::GLOBAL_TAG::tname.
Referenced by checkMappedType().
bool ora::ClassUtils::isTypeNonAssociativeContainer | ( | const edm::TypeWithDict & | typ | ) |
Definition at line 301 of file ClassUtils.cc.
References edm::TypeWithDict::isTemplateInstance(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::TypeWithDict::templateName().
Referenced by ora::RelationalMapping::_sizeInColumns(), and ora::ArrayMapping::process().
bool ora::ClassUtils::isTypeNonKeyedContainer | ( | const edm::TypeWithDict & | typ | ) |
Definition at line 269 of file ClassUtils.cc.
References edm::TypeWithDict::isTemplateInstance(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::TypeWithDict::templateName().
bool ora::ClassUtils::isTypeObject | ( | const edm::TypeWithDict & | typ | ) |
Definition at line 395 of file ClassUtils.cc.
References edm::TypeWithDict::isArray(), isTypeContainer(), isTypeOraPointer(), isTypeOraVector(), isTypePrimitive(), isTypeUniqueReference(), and resolvedType().
bool ora::ClassUtils::isTypeOraPointer | ( | const edm::TypeWithDict & | typ | ) |
Definition at line 323 of file ClassUtils.cc.
References edm::TypeWithDict::isTemplateInstance(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::TypeWithDict::templateName().
Referenced by ora::RelationalMapping::_sizeInColumns(), isTypeObject(), ora::RelationalMappingFactory::newProcessor(), and ora::RelationalStreamerFactory::newStreamer().
bool ora::ClassUtils::isTypeOraReference | ( | const edm::TypeWithDict & | typ | ) |
Definition at line 335 of file ClassUtils.cc.
References edm::TypeWithDict::hasBase().
Referenced by ora::RelationalStreamerFactory::newStreamer().
bool ora::ClassUtils::isTypeOraVector | ( | const edm::TypeWithDict & | typ | ) |
Definition at line 379 of file ClassUtils.cc.
References isTypePVector(), and isTypeQueryableVector().
Referenced by checkMappedType(), isTypeObject(), and ora::RelationalStreamerFactory::newStreamer().
bool ora::ClassUtils::isTypePrimitive | ( | const edm::TypeWithDict & | typ | ) |
Definition at line 221 of file ClassUtils.cc.
References edm::TypeWithDict::isEnum(), edm::TypeWithDict::isFundamental(), and isTypeString().
Referenced by ora::RelationalMapping::_sizeInColumns(), isTypeObject(), ora::RelationalMappingFactory::newProcessor(), and ora::RelationalStreamerFactory::newStreamer().
bool ora::ClassUtils::isTypePVector | ( | const edm::TypeWithDict & | typ | ) |
Definition at line 355 of file ClassUtils.cc.
References edm::TypeWithDict::isTemplateInstance(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::TypeWithDict::templateName().
Referenced by isTypeOraVector(), ora::RelationalStreamerFactory::newStreamer(), and ora::ArrayMapping::process().
bool ora::ClassUtils::isTypeQueryableVector | ( | const edm::TypeWithDict & | typ | ) |
Definition at line 367 of file ClassUtils.cc.
References edm::TypeWithDict::isTemplateInstance(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::TypeWithDict::templateName().
Referenced by isTypeOraVector(), ora::RelationalStreamerFactory::newStreamer(), and ora::ArrayMapping::process().
bool ora::ClassUtils::isTypeString | ( | const edm::TypeWithDict & | typ | ) |
Definition at line 215 of file ClassUtils.cc.
References edm::TypeWithDict::cppName(), mergeVDriftHistosByStation::name, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by ora::PrimitiveStreamerBase::buildDataElement(), checkMappedType(), isTypePrimitive(), and ora::PrimitiveMapping::process().
bool ora::ClassUtils::isTypeUniqueReference | ( | const edm::TypeWithDict & | typ | ) |
Definition at line 343 of file ClassUtils.cc.
References edm::TypeWithDict::isTemplateInstance(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::TypeWithDict::templateName().
Referenced by ora::RelationalMapping::_sizeInColumns(), isTypeObject(), ora::RelationalMappingFactory::newProcessor(), and ora::RelationalStreamerFactory::newStreamer().
void ora::ClassUtils::loadDictionary | ( | const std::string & | className | ) |
Definition at line 31 of file ClassUtils.cc.
References edm::TypeWithDict::byName(), edm::errors::DictionaryNotFound, and Exception.
Referenced by lookupDictionary().
edm::TypeWithDict ora::ClassUtils::lookupDictionary | ( | const std::type_info & | typeInfo, |
bool | throwFlag = true |
||
) |
Definition at line 170 of file ClassUtils.cc.
References edm::TypeWithDict::byName(), demangledName(), loadDictionary(), AlCaHLTBitMon_QueryRunRegistry::string, and ora::throwException().
Referenced by ora::Object::cast(), ora::Database::createContainer(), ora::Container::extendSchema(), ora::Container::fetchItemAsType(), ora::Database::getContainer(), ora::ContainerIterator::getItemAsType(), ora::Database::getTypedObjectByName(), ora::ContainerSchema::initClassDict(), ora::Container::insertItem(), ora::Database::nameForContainer(), ora::Object::Object(), ora::UniqueRefReader::read(), ora::Container::realClassName(), ora::Container::updateItem(), and ora::UniqueRefWriter::write().
edm::TypeWithDict ora::ClassUtils::lookupDictionary | ( | const std::string & | className, |
bool | throwFlag = true |
||
) |
Definition at line 188 of file ClassUtils.cc.
References edm::TypeWithDict::byName(), loadDictionary(), and ora::throwException().
edm::TypeWithDict ora::ClassUtils::resolvedType | ( | const edm::TypeWithDict & | typ | ) |
Definition at line 486 of file ClassUtils.cc.
References edm::TypeWithDict::finalType(), edm::TypeWithDict::isTypedef(), and edm::TypeWithDict::toType().
Referenced by ora::RelationalMapping::_sizeInColumns(), ora::RelationalMapping::_sizeInColumnsForCArray(), ora::OraPtrWriter::build(), ora::CArrayWriter::build(), ora::OraPtrReadBuffer::build(), ora::STLContainerWriter::build(), ora::OraPtrUpdater::build(), ora::QVQueryMaker::build(), ora::CArrayReader::build(), ora::STLContainerReader::build(), ora::ObjectStreamerBase::buildBaseDataMembers(), ora::InlineCArrayStreamerBase::buildDataElement(), ora::ObjectStreamerBase::buildDataMembers(), ora::CArrayHandler::CArrayHandler(), ora::DatabaseContainer::insertItem(), isTypeObject(), ora::RelationalMappingFactory::newProcessor(), ora::PrimitiveMapping::process(), ora::ArrayMapping::process(), ora::CArrayMapping::process(), ora::ObjectMapping::process(), ora::processBaseClasses(), ora::PVectorHandler::PVectorHandler(), ora::STLContainerHandler::STLContainerHandler(), and ora::DatabaseContainer::updateItem().
void * ora::ClassUtils::upCast | ( | const edm::TypeWithDict & | type, |
void * | ptr, | ||
const edm::TypeWithDict & | asType | ||
) |
Definition at line 38 of file ClassUtils.cc.
References edm::TypeWithDict::getBaseClassOffset(), edm::TypeWithDict::hasBase(), and run_regression::ret.
Referenced by ora::Object::cast().