OpenSceneGraph 2.8.3

osgDB::TemplateSerializer< C, P > Class Template Reference

Inheritance diagram for osgDB::TemplateSerializer< C, P >:

List of all members.

Public Types

typedef P(C::* GetterFunctionType )() const
typedef void(C::* SetterFunctionType )(P)

Public Member Functions

 TemplateSerializer (const char *fieldName, P defaultValue, GetterFunctionType getter, SetterFunctionType setter)
bool write (osgDB::Output &fw, const osg::Object &obj)
bool read (osgDB::Input &fr, osg::Object &obj, bool &itrAdvanced)

Public Attributes

std::string _fieldName
_default
GetterFunctionType _getter
SetterFunctionType _setter

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


Member Typedef Documentation

template<typename C , typename P >
typedef P(C::* osgDB::TemplateSerializer< C, P >::GetterFunctionType)() const
template<typename C , typename P >
typedef void(C::* osgDB::TemplateSerializer< C, P >::SetterFunctionType)(P)

Constructor & Destructor Documentation

template<typename C , typename P >
osgDB::TemplateSerializer< C, P >::TemplateSerializer ( const char *  fieldName,
defaultValue,
GetterFunctionType  getter,
SetterFunctionType  setter 
) [inline]

Member Function Documentation

template<typename C , typename P >
bool osgDB::TemplateSerializer< C, P >::read ( osgDB::Input fr,
osg::Object obj,
bool &  itrAdvanced 
) [inline, virtual]

Member Data Documentation

template<typename C , typename P >
P osgDB::TemplateSerializer< C, P >::_default
template<typename C , typename P >
std::string osgDB::TemplateSerializer< C, P >::_fieldName
template<typename C , typename P >
GetterFunctionType osgDB::TemplateSerializer< C, P >::_getter
template<typename C , typename P >
SetterFunctionType osgDB::TemplateSerializer< C, P >::_setter

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

osg logo
Generated at Tue Mar 22 2011 13:20:25 for the OpenSceneGraph by doxygen 1.7.3.