OpenSceneGraph  3.0.1
Public Types | Public Member Functions | Public Attributes | Protected Attributes
osgDB::PropByValSerializer< C, P > Class Template Reference
Inheritance diagram for osgDB::PropByValSerializer< C, P >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef TemplateSerializer< P > ParentType
typedef P(C::* Getter )() const
typedef void(C::* Setter )(P)

Public Member Functions

 PropByValSerializer (const char *name, P def, Getter gf, Setter sf, bool useHex=false)
virtual bool read (InputStream &is, osg::Object &obj)
virtual bool write (OutputStream &os, const osg::Object &obj)

Public Attributes

Getter _getter
Setter _setter

Protected Attributes

bool _useHex

template<typename C, typename P>
class osgDB::PropByValSerializer< C, P >


Member Typedef Documentation

template<typename C , typename P >
typedef P(C::* osgDB::PropByValSerializer< C, P >::Getter)() const
template<typename C , typename P >
typedef TemplateSerializer<P> osgDB::PropByValSerializer< C, P >::ParentType
template<typename C , typename P >
typedef void(C::* osgDB::PropByValSerializer< C, P >::Setter)(P)

Constructor & Destructor Documentation

template<typename C , typename P >
osgDB::PropByValSerializer< C, P >::PropByValSerializer ( const char *  name,
def,
Getter  gf,
Setter  sf,
bool  useHex = false 
) [inline]

Member Function Documentation

template<typename C , typename P >
virtual bool osgDB::PropByValSerializer< C, P >::read ( InputStream is,
osg::Object obj 
) [inline, virtual]
template<typename C , typename P >
virtual bool osgDB::PropByValSerializer< C, P >::write ( OutputStream os,
const osg::Object obj 
) [inline, virtual]

Member Data Documentation

template<typename C , typename P >
Getter osgDB::PropByValSerializer< C, P >::_getter
template<typename C , typename P >
Setter osgDB::PropByValSerializer< C, P >::_setter
template<typename C , typename P >
bool osgDB::PropByValSerializer< C, P >::_useHex [protected]

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

osg logo
Generated at Fri Apr 27 2012 20:51:41 for the OpenSceneGraph by doxygen 1.8.0.