1 #ifndef INCLUDE_ORA_OBJECT_H
2 #define INCLUDE_ORA_OBJECT_H
7 #include <boost/shared_ptr.hpp>
18 Object(
const void* ptr,
const std::type_info& typeInfo );
29 void*
cast(
const std::type_info& asType )
const;
30 template <
typename T>
T*
cast()
const;
50 Object( &obj, typeid(obj) ){
57 const std::type_info& typeInfo =
typeid(
T);
58 return static_cast<T*
>( cast( typeInfo ) );
boost::shared_ptr< void > makeShared() const
std::string typeName() const
const edm::TypeWithDict & type() const
bool operator==(const Object &rhs) const
Object & operator=(const Object &rhs)
bool operator!=(const Object &rhs) const