OpenSceneGraph  3.0.1
Public Types | Public Member Functions | Public Attributes | Protected Attributes
osgDB::PropByValSerializer Class Reference
Inheritance diagram for osgDB::PropByValSerializer:
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

Member Typedef Documentation

typedef P(C::* osgDB::PropByValSerializer::Getter)() const
typedef void(C::* osgDB::PropByValSerializer::Setter)(P)

Constructor & Destructor Documentation

osgDB::PropByValSerializer::PropByValSerializer ( const char *  name,
def,
Getter  gf,
Setter  sf,
bool  useHex = false 
) [inline]

Member Function Documentation

virtual bool osgDB::PropByValSerializer::read ( InputStream is,
osg::Object obj 
) [inline, virtual]
virtual bool osgDB::PropByValSerializer::write ( OutputStream os,
const osg::Object obj 
) [inline, virtual]

Member Data Documentation

Referenced by write().

Referenced by read().

Referenced by read(), and write().


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

osg logo
Generated at Mon Oct 3 2011 12:39:46 for the OpenSceneGraph by doxygen 1.7.5.