#include <ObjectWithDict.h>
Public Member Functions | |
void * | address () const |
TypeWithDict | dynamicType () const |
ObjectWithDict | get (std::string const &memberName) const |
template<typename T > | |
T | objectCast () |
ObjectWithDict () | |
ObjectWithDict (TypeWithDict const &type, void *address) | |
ObjectWithDict (std::type_info const &typeID, void *address) | |
operator bool () const | |
TypeWithDict const & | typeOf () const |
Static Public Member Functions | |
static ObjectWithDict | byType (TypeWithDict const &type) |
Private Attributes | |
void * | address_ |
TypeWithDict | type_ |
Friends | |
class | FunctionWithDict |
class | MemberWithDict |
class | TypeWithDict |
Definition at line 16 of file ObjectWithDict.h.
edm::ObjectWithDict::ObjectWithDict | ( | ) |
Definition at line 6 of file ObjectWithDict.cc.
edm::ObjectWithDict::ObjectWithDict | ( | TypeWithDict const & | type, |
void * | address | ||
) |
Definition at line 17 of file ObjectWithDict.cc.
edm::ObjectWithDict::ObjectWithDict | ( | std::type_info const & | typeID, |
void * | address | ||
) |
Definition at line 22 of file ObjectWithDict.cc.
void * edm::ObjectWithDict::address | ( | ) | const |
Definition at line 46 of file ObjectWithDict.cc.
References address_.
Referenced by reco::parser::ExpressionVar::delStorage(), edm::MemberWithDict::get(), fwlite::DataGetterHelper::getBranchData(), fwlite::DataGetterHelper::getBranchDataFor(), fwlite::DataGetterHelper::getByLabel(), reco::parser::MethodInvoker::invoke(), edm::FunctionWithDict::invoke(), FWParameterSetterBase::makeSetterFor(), reco::parser::ExpressionVar::objToDouble(), FWItemRandomAccessorBase::setData(), FWItemSingleAccessor::setData(), FWItemTVirtualCollectionProxyAccessor::setData(), fwlite::DataGetterHelper::wrapperBasePtr(), and fwlite::internal::Data::~Data().
|
static |
Definition at line 12 of file ObjectWithDict.cc.
References edm::TypeWithDict::construct(), and getGTfromDQMFile::obj.
Referenced by fwlite::DataGetterHelper::getBranchDataFor(), and reco::parser::ExpressionVar::makeStorage().
TypeWithDict edm::ObjectWithDict::dynamicType | ( | ) | const |
Definition at line 33 of file ObjectWithDict.cc.
References address_, edm::TypeWithDict::isVirtual(), type_, and TypeWithDict.
Referenced by fwlite::RecordWriter::update().
ObjectWithDict edm::ObjectWithDict::get | ( | std::string const & | memberName | ) | const |
Definition at line 51 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 41 of file ObjectWithDict.cc.
TypeWithDict const & edm::ObjectWithDict::typeOf | ( | ) | const |
Definition at line 28 of file ObjectWithDict.cc.
References type_.
Referenced by reco::parser::ExpressionVar::delStorage(), reco::parser::MethodInvoker::invoke(), edm::FunctionWithDict::invoke(), reco::parser::SingleInvoker::throwFailedConversion(), fwlite::DataGetterHelper::wrapperBasePtr(), and fwlite::internal::Data::~Data().
|
friend |
Definition at line 43 of file ObjectWithDict.h.
|
friend |
Definition at line 44 of file ObjectWithDict.h.
|
friend |
Definition at line 45 of file ObjectWithDict.h.
Referenced by dynamicType().
|
private |
Definition at line 48 of file ObjectWithDict.h.
Referenced by address(), dynamicType(), and objectCast().
|
private |
Definition at line 47 of file ObjectWithDict.h.
Referenced by Modules.Service::_placeImpl(), Modules.ESSource::_placeImpl(), Modules.ESProducer::_placeImpl(), Modules.ESPrefer::copy(), Mixins._TypedParameterizable::dumpPython(), Modules.ESPrefer::dumpPythonAs(), dynamicType(), get(), Modules.Service::insertInto(), RandomRunSource.RandomRunSource::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), and typeOf().