#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 (std::type_info const &, void *address) | |
ObjectWithDict (TypeWithDict 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 | ( | ) |
Definition at line 18 of file ObjectWithDict.cc.
Referenced by castObject().
|
explicit |
|
explicit |
Definition at line 22 of file ObjectWithDict.cc.
void * edm::ObjectWithDict::address | ( | ) | const |
Definition at line 27 of file ObjectWithDict.cc.
References address_.
Referenced by castObject(), fwlite::DataGetterHelper::getByLabel(), edm::root::FWLiteDelayedReader::getTheProduct(), FWParameterSetterBase::makeSetterFor(), FWItemRandomAccessorBase::setData(), FWItemSingleAccessor::setData(), FWItemTVirtualCollectionProxyAccessor::setData(), and fwlite::DataGetterHelper::wrapperBasePtr().
|
static |
Definition at line 13 of file ObjectWithDict.cc.
References getGTfromDQMFile::obj.
Referenced by fwlite::DataGetterHelper::getBranchDataFor(), and reco::parser::ExpressionVar::makeStorage().
ObjectWithDict edm::ObjectWithDict::castObject | ( | TypeWithDict const & | to | ) | const |
Definition at line 51 of file ObjectWithDict.cc.
References address(), address_, edm::TypeWithDict::getBaseClassOffset(), edm::TypeWithDict::hasBase(), ObjectWithDict(), hltrates_dqm_sourceclient-live_cfg::offset, edm::TypeWithDict::typeInfo(), and typeOf().
Referenced by edm::root::FWLiteDelayedReader::getTheProduct().
void edm::ObjectWithDict::destruct | ( | bool | dealloc | ) | const |
Definition at line 92 of file ObjectWithDict.cc.
References address_, GetRecoTauVFromDQM_MC_cff::cl, edm::TypeWithDict::getClass(), and type_.
Referenced by fwlite::internal::Data::~Data().
TypeWithDict edm::ObjectWithDict::dynamicType | ( | ) | const |
Definition at line 38 of file ObjectWithDict.cc.
References address_, edm::TypeWithDict::byTypeInfo(), edm::TypeWithDict::isVirtual(), and type_.
ObjectWithDict edm::ObjectWithDict::get | ( | std::string const & | memberName | ) | const |
Definition at line 47 of file ObjectWithDict.cc.
References edm::TypeWithDict::dataMemberByName(), edm::MemberWithDict::get(), and type_.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
|
inline |
Definition at line 38 of file ObjectWithDict.h.
References address_.
|
explicit |
Definition at line 25 of file ObjectWithDict.cc.
References electrons_cff::bool.
TypeWithDict edm::ObjectWithDict::typeOf | ( | ) | const |
Definition at line 29 of file ObjectWithDict.cc.
References type_.
Referenced by castObject(), and fwlite::DataGetterHelper::wrapperBasePtr().
|
private |
Definition at line 20 of file ObjectWithDict.h.
Referenced by address(), castObject(), destruct(), dynamicType(), and objectCast().
|
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(), ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), and typeOf().