OpenSceneGraph  3.0.1
Public Types | Public Member Functions | Public Attributes | Protected Member Functions
osgDB::MatrixSerializer Class Reference
Inheritance diagram for osgDB::MatrixSerializer:
Inheritance graph
[legend]

List of all members.

Public Types

typedef TemplateSerializer
< osg::Matrix
ParentType
typedef const osg::Matrix &(C::* Getter )() const
typedef void(C::* Setter )(const osg::Matrix &)

Public Member Functions

 MatrixSerializer (const char *name, const osg::Matrix &def, Getter gf, Setter sf)
virtual bool read (InputStream &is, osg::Object &obj)
virtual bool write (OutputStream &os, const osg::Object &obj)

Public Attributes

Getter _getter
Setter _setter

Protected Member Functions

void readMatrixImplementation (InputStream &is, osg::Matrix &matrix)

Member Typedef Documentation

typedef const osg::Matrix&(C::* osgDB::MatrixSerializer::Getter)() const
typedef void(C::* osgDB::MatrixSerializer::Setter)(const osg::Matrix &)

Constructor & Destructor Documentation

osgDB::MatrixSerializer::MatrixSerializer ( const char *  name,
const osg::Matrix def,
Getter  gf,
Setter  sf 
) [inline]

Member Function Documentation

virtual bool osgDB::MatrixSerializer::read ( InputStream is,
osg::Object obj 
) [inline, virtual]
void osgDB::MatrixSerializer::readMatrixImplementation ( InputStream is,
osg::Matrix matrix 
) [inline, protected]

Referenced by read().

virtual bool osgDB::MatrixSerializer::write ( OutputStream os,
const osg::Object obj 
) [inline, virtual]

Member Data Documentation

Referenced by write().

Referenced by read().


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.