OpenSceneGraph 2.8.4
Public Types | Public Member Functions | Public Attributes
osgDB::StringSerializer< C > Class Template Reference
Inheritance diagram for osgDB::StringSerializer< C >:
Inheritance graph
[legend]

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]
template<typename C >
bool osgDB::StringSerializer< C >::write ( osgDB::Output fw,
const osg::Object obj 
) [inline, virtual]

Member Data Documentation

template<typename C >
std::string osgDB::StringSerializer< C >::_default
template<typename C >
std::string osgDB::StringSerializer< C >::_fieldName
template<typename C >
GetterFunctionType osgDB::StringSerializer< C >::_getter
template<typename C >
SetterFunctionType osgDB::StringSerializer< C >::_setter

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

osg logo
Generated at Sun Jan 8 2012 13:16:32 for the OpenSceneGraph by doxygen 1.7.4.