1 #ifndef INCLUDE_ORA_OBJECT_H
2 #define INCLUDE_ORA_OBJECT_H
6 #include <boost/shared_ptr.hpp>
8 #include "Reflex/Type.h"
17 Object(
const void* ptr,
const std::type_info& typeInfo );
28 void*
cast(
const std::type_info& asType )
const;
29 template <
typename T>
T*
cast()
const;
49 Object( &obj, typeid(obj) ){
56 const std::type_info& typeInfo =
typeid(
T);
57 return static_cast<T*
>( cast( typeInfo ) );
boost::shared_ptr< void > makeShared() const
std::string typeName() const
bool operator==(const Object &rhs) const
Object & operator=(const Object &rhs)
bool operator!=(const Object &rhs) const
const Reflex::Type & type() const