#include <Object.h>
Public Member Functions | |
void * | address () const |
void * | cast (const std::type_info &asType) const |
template<typename T > | |
T * | cast () const |
void | destruct () |
boost::shared_ptr< void > | makeShared () const |
Object () | |
template<typename T > | |
Object (const T &obj) | |
Object (const void *ptr, const std::type_info &typeInfo) | |
Object (const void *ptr, const Reflex::Type &type) | |
Object (const void *ptr, const std::string &typeName) | |
Object (const Object &rhs) | |
bool | operator!= (const Object &rhs) const |
Object & | operator= (const Object &rhs) |
bool | operator== (const Object &rhs) const |
const Reflex::Type & | type () const |
std::string | typeName () const |
virtual | ~Object () |
Private Attributes | |
void * | m_ptr |
Reflex::Type | m_type |
|
inlineexplicit |
ora::Object::Object | ( | const void * | ptr, |
const std::type_info & | typeInfo | ||
) |
Definition at line 12 of file Object.cc.
References ora::ClassUtils::lookupDictionary(), and m_type.
ora::Object::Object | ( | const void * | ptr, |
const Reflex::Type & | type | ||
) |
ora::Object::Object | ( | const void * | ptr, |
const std::string & | typeName | ||
) |
Definition at line 22 of file Object.cc.
References ora::ClassUtils::lookupDictionary(), and m_type.
void * ora::Object::address | ( | ) | const |
Definition at line 51 of file Object.cc.
Referenced by cond::PayLoadInspector< DataT >::dumpXML(), ora::Container::insertItem(), cond::PayLoadInspector< DataT >::load(), ora::Container::updateItem(), and cond::PayLoadInspector< DataT >::~PayLoadInspector().
void * ora::Object::cast | ( | const std::type_info & | asType | ) | const |
Definition at line 63 of file Object.cc.
References ora::ClassUtils::lookupDictionary(), ora::throwException(), and ora::ClassUtils::upCast().
Referenced by cond::PayLoadInspector< DataT >::object().
|
inline |
void ora::Object::destruct | ( | ) |
Definition at line 81 of file Object.cc.
References ora::throwException().
Referenced by cond::DbSession::importObject(), and cond::PayLoadInspector< DataT >::~PayLoadInspector().
boost::shared_ptr< void > ora::Object::makeShared | ( | ) | const |
Definition at line 73 of file Object.cc.
References run_regression::ret.
Referenced by cond::deserialize().
bool ora::Object::operator!= | ( | const Object & | rhs | ) | const |
ora::Object & ora::Object::operator= | ( | const Object & | rhs | ) |
const Reflex::Type & ora::Object::type | ( | ) | const |
Definition at line 55 of file Object.cc.
Referenced by cuy.ValElement::__init__(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputCommands(), ora::Container::insertItem(), ora::Database::insertItem(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputCommands(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and ora::Container::updateItem().
std::string ora::Object::typeName | ( | ) | const |
Definition at line 59 of file Object.cc.
Referenced by cond::PayLoadInspector< DataT >::dumpXML(), and cond::persistency::OraPayloadTable::select().
|
private |
Definition at line 33 of file Object.h.
Referenced by operator=(), and operator==().
|
private |
Definition at line 34 of file Object.h.
Referenced by Object(), operator=(), and operator==().