![]() |
![]() |
#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 20 of file ObjectWithDict.cc.
|
explicit |
Definition at line 25 of file ObjectWithDict.cc.
void * edm::ObjectWithDict::address | ( | ) | const |
Definition at line 35 of file ObjectWithDict.cc.
References address_.
Referenced by castObject(), edm::MemberWithDict::get(), edm::FunctionWithDict::invoke(), FWParameterSetterBase::makeSetterFor(), FWItemRandomAccessorBase::setData(), FWItemSingleAccessor::setData(), and FWItemTVirtualCollectionProxyAccessor::setData().
|
static |
Definition at line 12 of file ObjectWithDict.cc.
References edm::TypeWithDict::construct(), and getGTfromDQMFile::obj.
ObjectWithDict edm::ObjectWithDict::castObject | ( | TypeWithDict const & | to | ) | const |
Definition at line 68 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().
void edm::ObjectWithDict::destruct | ( | bool | dealloc | ) | const |
Definition at line 103 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 53 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 63 of file ObjectWithDict.cc.
References edm::TypeWithDict::dataMemberByName(), edm::MemberWithDict::get(), and type_.
Referenced by Options.Options::__getitem__(), and edm::convert_handle().
|
inline |
|
explicit |
Definition at line 30 of file ObjectWithDict.cc.
TypeWithDict edm::ObjectWithDict::typeOf | ( | ) | const |
|
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 destruct(), dynamicType(), get(), RandomRunSource.RandomRunSource::insertInto(), and typeOf().