OpenSceneGraph 2.8.3

osgDB::StringSerializer< C > Class Template Reference

Inheritance diagram for osgDB::StringSerializer< C >:

List of all members.

Public Types

typedef const std::string & P
typedef P(C::* GetterFunctionType )() const
typedef void(C::* SetterFunctionType )(P)

Public Member Functions

 StringSerializer (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
std::string _default
GetterFunctionType _getter
SetterFunctionType _setter

template<typename C>
class osgDB::StringSerializer< C >


Member Typedef Documentation

template<typename C >
typedef P(C::* osgDB::StringSerializer< C >::GetterFunctionType)() const
template<typename C >
typedef const std::string& osgDB::StringSerializer< C >::P
template<typename C >
typedef void(C::* osgDB::StringSerializer< C >::SetterFunctionType)(P)

Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

template<typename C >
std::string osgDB::StringSerializer< C >::_default

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.