#include <ObjectWithDict.h>
Public Member Functions | |
void * | address () const |
ObjectWithDict | castObject (TypeWithDict const &) const |
void | destruct (bool dealloc) const |
TypeWithDict | dynamicType () const |
ObjectWithDict | get (std::string const &memberName) const |
template<typename T > | |
T | objectCast () |
ObjectWithDict () | |
ObjectWithDict (TypeWithDict const &, void *address) | |
ObjectWithDict (std::type_info const &, void *address) | |
operator bool () const | |
TypeWithDict | typeOf () const |
Static Public Member Functions | |
static ObjectWithDict | byType (TypeWithDict const &) |
Private Attributes | |
void * | address_ |
TypeWithDict | type_ |
Definition at line 17 of file ObjectWithDict.h.
edm::ObjectWithDict::ObjectWithDict | ( | ) |
|
explicit |
Definition at line 22 of file ObjectWithDict.cc.
|
explicit |
Definition at line 27 of file ObjectWithDict.cc.
void * edm::ObjectWithDict::address | ( | ) | const |
Definition at line 37 of file ObjectWithDict.cc.
References address_.
Referenced by castObject(), reco::parser::ExpressionVar::delStorage(), edm::MemberWithDict::get(), fwlite::DataGetterHelper::getBranchDataFor(), fwlite::DataGetterHelper::getByLabel(), edm::root::FWLiteDelayedReader::getTheProduct(), edm::FunctionWithDict::invoke(), reco::parser::MethodInvoker::invoke(), FWParameterSetterBase::makeSetterFor(), reco::parser::ExpressionVar::objToDouble(), FWItemRandomAccessorBase::setData(), FWItemSingleAccessor::setData(), FWItemTVirtualCollectionProxyAccessor::setData(), and fwlite::DataGetterHelper::wrapperBasePtr().
|
static |
Definition at line 14 of file ObjectWithDict.cc.
References edm::TypeWithDict::construct(), and MuonAssociatorByHits_cfi::obj.
Referenced by fwlite::DataGetterHelper::getBranchDataFor(), and reco::parser::ExpressionVar::makeStorage().
ObjectWithDict edm::ObjectWithDict::castObject | ( | TypeWithDict const & | to | ) | const |
Definition at line 70 of file ObjectWithDict.cc.
References address(), address_, edm::TypeWithDict::getBaseClassOffset(), edm::TypeWithDict::hasBase(), ObjectWithDict(), PFRecoTauDiscriminationByIsolation_cfi::offset, edm::TypeWithDict::typeInfo(), and typeOf().
Referenced by edm::root::FWLiteDelayedReader::getTheProduct().
void edm::ObjectWithDict::destruct | ( | bool | dealloc | ) | const |
Definition at line 109 of file ObjectWithDict.cc.
References address_, GetRecoTauVFromDQM_MC_cff::cl, edm::TypeWithDict::getClass(), and type_.
Referenced by reco::parser::ExpressionLazyVar::value(), and fwlite::internal::Data::~Data().
TypeWithDict edm::ObjectWithDict::dynamicType | ( | ) | const |
Definition at line 55 of file ObjectWithDict.cc.
References address_, edm::TypeWithDict::isVirtual(), and type_.
Referenced by fwlite::RecordWriter::update().
ObjectWithDict edm::ObjectWithDict::get | ( | std::string const & | memberName | ) | const |
Definition at line 65 of file ObjectWithDict.cc.
References edm::TypeWithDict::dataMemberByName(), edm::MemberWithDict::get(), and type_.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), edm::convert_handle(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
|
inline |
|
explicit |
Definition at line 32 of file ObjectWithDict.cc.
References address_, electrons_cff::bool, and type_.
TypeWithDict edm::ObjectWithDict::typeOf | ( | ) | const |
Definition at line 42 of file ObjectWithDict.cc.
References type_.
Referenced by castObject(), reco::parser::ExpressionVar::delStorage(), reco::parser::MethodInvoker::invoke(), reco::parser::SingleInvoker::throwFailedConversion(), and fwlite::DataGetterHelper::wrapperBasePtr().
|
private |
Definition at line 20 of file ObjectWithDict.h.
Referenced by address(), castObject(), destruct(), dynamicType(), objectCast(), and operator bool().
|
private |
Definition at line 19 of file ObjectWithDict.h.
Referenced by Modules.Service::__str__(), Modules.Service::_placeImpl(), Modules.ESSource::_placeImpl(), Modules.ESProducer::_placeImpl(), Modules.ESPrefer::copy(), destruct(), Mixins._TypedParameterizable::dumpPython(), Modules.ESPrefer::dumpPythonAs(), Modules.Service::dumpSequencePython(), dynamicType(), get(), RandomRunSource.RandomRunSource::insertInto(), Modules.Service::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), operator bool(), and typeOf().