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

List of all members.

Public Types

typedef TemplateSerializer< P * > ParentType
typedef const P *(C::* Getter )() const
typedef void(C::* Setter )(P *)

Public Member Functions

 ObjectSerializer (const char *name, P *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

Member Typedef Documentation

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

Constructor & Destructor Documentation

osgDB::ObjectSerializer::ObjectSerializer ( const char *  name,
P *  def,
Getter  gf,
Setter  sf 
) [inline]

Member Function Documentation

virtual bool osgDB::ObjectSerializer::read ( InputStream is,
osg::Object obj 
) [inline, virtual]
virtual bool osgDB::ObjectSerializer::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.