uLib-0.2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
uLib::ObjectPropable Class Reference

#include <Core/ObjectProps.h>

Inheritance diagram for uLib::ObjectPropable:
uLib::Object uLib::DetectorsScene uLib::Material uLib::Polydata uLib::Solid uLib::Vtk::Puppet uLib::TessellatedSolid uLib::Vtk::vtkContainerBox uLib::Vtk::vtkMuonScatter uLib::Vtk::vtkStructuredGrid uLib::Vtk::vtkVoxImage uLib::Vtk::vtkVoxRaytracerRepresentation

Public Member Functions

 ObjectPropable ()
 
 ObjectPropable (const ObjectPropable &c)
 
 ~ObjectPropable ()
 
template<class T >
T::ObjectProps & props_ref () const
 
template<class T >
T::ObjectProps * props (T *ptr=NULL) const
 
virtual void init_properties ()
 

Protected Member Functions

ObjectPropsBaseprops () const
 
template<class T >
void props_new (T *ptr=NULL)
 
template<class T >
unsigned int props_offset (T *ptr) const
 
template<class ArchiveT >
void serialize (ArchiveT &ar, const unsigned int version)
 

Friends

class uLib::detail::ObjectProps
 
class boost::serialization::access
 

Constructor & Destructor Documentation

uLib::ObjectPropable::ObjectPropable ( )
inline
uLib::ObjectPropable::ObjectPropable ( const ObjectPropable c)
inline
uLib::ObjectPropable::~ObjectPropable ( )
inline

Member Function Documentation

virtual void uLib::ObjectPropable::init_properties ( )
inlinevirtual

ObjectPropable is not directly propable itself to prevent Basclass duplication in inherit_nofold. And for the same reason ANY VIRTUAL BASE SHOULD NOT BE PROPABLE

template<class T >
T::ObjectProps* uLib::ObjectPropable::props ( T *  ptr = NULL) const
inline
ObjectPropsBase* uLib::ObjectPropable::props ( ) const
inlineprotected
template<class T >
void uLib::ObjectPropable::props_new ( T *  ptr = NULL)
inlineprotected
template<class T >
unsigned int uLib::ObjectPropable::props_offset ( T *  ptr) const
inlineprotected

NOT working dynamic cache casting

References uLib::detail::ObjectProps::measure_offset(), and uLib::ObjectPropsBase::ptr().

template<class T >
T::ObjectProps& uLib::ObjectPropable::props_ref ( ) const
inline
template<class ArchiveT >
void uLib::ObjectPropable::serialize ( ArchiveT &  ar,
const unsigned int  version 
)
inlineprotected

Friends And Related Function Documentation

friend class boost::serialization::access
friend
friend class uLib::detail::ObjectProps
friend

The documentation for this class was generated from the following file: