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

List of all members.

Public Types

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

Public Member Functions

 BoolSerializer (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
P _default
GetterFunctionType _getter
SetterFunctionType _setter

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


Member Typedef Documentation

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

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename C >
bool osgDB::BoolSerializer< C >::read ( osgDB::Input fr,
osg::Object obj,
bool &  itrAdvanced 
) [inline, virtual]
template<typename C >
bool osgDB::BoolSerializer< C >::write ( osgDB::Output fw,
const osg::Object obj 
) [inline, virtual]

Member Data Documentation

template<typename C >
P osgDB::BoolSerializer< C >::_default
template<typename C >
std::string osgDB::BoolSerializer< C >::_fieldName
template<typename C >
GetterFunctionType osgDB::BoolSerializer< C >::_getter
template<typename C >
SetterFunctionType osgDB::BoolSerializer< 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.