inlib
1.2.0
|
Public Member Functions | |
virtual void * | cast (const std::string &a_class) const |
virtual node * | copy () const |
virtual const std::string & | s_cls () const |
holder (T *a_obj) | |
virtual | ~holder () |
holder (const holder &a_from) | |
holder & | operator= (const holder &a_from) |
Static Public Member Functions | |
static const std::string & | s_class () |
Protected Attributes | |
T * | m_obj |
inlib::sg::holder< T >::holder | ( | T * | a_obj | ) | [inline] |
virtual inlib::sg::holder< T >::~holder | ( | ) | [inline, virtual] |
inlib::sg::holder< T >::holder | ( | const holder< T > & | a_from | ) | [inline] |
virtual void* inlib::sg::holder< T >::cast | ( | const std::string & | a_class | ) | const [inline, virtual] |
Reimplemented from inlib::sg::node.
Definition at line 24 of file holder.
{ if(void* p = inlib::cmp_cast< holder<T> >(this,a_class)) {return p;} return node::cast(a_class); }
virtual node* inlib::sg::holder< T >::copy | ( | ) | const [inline, virtual] |
holder& inlib::sg::holder< T >::operator= | ( | const holder< T > & | a_from | ) | [inline] |
Definition at line 35 of file holder.
{ node::operator=(a_from); m_obj=0; return *this; }
static const std::string& inlib::sg::holder< T >::s_class | ( | ) | [inline, static] |
Reimplemented from inlib::sg::node.
Definition at line 19 of file holder.
{ static const std::string s_v("inlib::sg::holder"); return s_v; }
virtual const std::string& inlib::sg::holder< T >::s_cls | ( | ) | const [inline, virtual] |
T* inlib::sg::holder< T >::m_obj [protected] |