OpenSceneGraph  3.0.1
Public Types | Public Member Functions | Public Attributes
osgDB::ObjectSerializer< C, P > Class Template Reference
Inheritance diagram for osgDB::ObjectSerializer< C, P >:
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

template<typename C, typename P>
class osgDB::ObjectSerializer< C, P >


Member Typedef Documentation

template<typename C , typename P >
typedef const P*(C::* osgDB::ObjectSerializer< C, P >::Getter)() const
template<typename C , typename P >
typedef TemplateSerializer<P*> osgDB::ObjectSerializer< C, P >::ParentType
template<typename C , typename P >
typedef void(C::* osgDB::ObjectSerializer< C, P >::Setter)(P *)

Constructor & Destructor Documentation

template<typename C , typename P >
osgDB::ObjectSerializer< C, P >::ObjectSerializer ( const char *  name,
P *  def,
Getter  gf,
Setter  sf 
) [inline]

Member Function Documentation

template<typename C , typename P >
virtual bool osgDB::ObjectSerializer< C, P >::read ( InputStream is,
osg::Object obj 
) [inline, virtual]
template<typename C , typename P >
virtual bool osgDB::ObjectSerializer< C, P >::write ( OutputStream os,
const osg::Object obj 
) [inline, virtual]

Member Data Documentation

template<typename C , typename P >
Getter osgDB::ObjectSerializer< C, P >::_getter
template<typename C , typename P >
Setter osgDB::ObjectSerializer< C, P >::_setter

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

osg logo
Generated at Thu Sep 27 2012 17:03:13 for the OpenSceneGraph by doxygen 1.7.6.1.