openscenegraph
Public Member Functions | Protected Attributes
osgDB::TemplateSerializer< P > Class Template Reference
Inheritance diagram for osgDB::TemplateSerializer< P >:
osgDB::BaseSerializer osg::Referenced osgDB::EnumSerializer< C, P, B > osgDB::GLenumSerializer< C, P > osgDB::PropByRefSerializer< C, P > osgDB::PropByValSerializer< C, P >

List of all members.

Public Member Functions

 TemplateSerializer (const char *name, P def)
virtual bool read (InputStream &is, osg::Object &obj)=0
virtual bool write (OutputStream &os, const osg::Object &obj)=0
virtual const std::string & getName () const

Protected Attributes

std::string _name
_defaultValue

template<typename P>
class osgDB::TemplateSerializer< P >


Constructor & Destructor Documentation

template<typename P>
osgDB::TemplateSerializer< P >::TemplateSerializer ( const char *  name,
def 
) [inline]

Member Function Documentation

template<typename P>
virtual const std::string& osgDB::TemplateSerializer< P >::getName ( ) const [inline, virtual]

Implements osgDB::BaseSerializer.

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

Member Data Documentation

template<typename P>
P osgDB::TemplateSerializer< P >::_defaultValue [protected]
template<typename P>
std::string osgDB::TemplateSerializer< P >::_name [protected]

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