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

List of all members.

Public Types

typedef TemplateSerializer
< std::string > 
ParentType
typedef const std::string &(C::* Getter )() const
typedef void(C::* Setter )(const std::string &)

Public Member Functions

 StringSerializer (const char *name, const std::string &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 std::string&(C::* osgDB::StringSerializer::Getter)() const
typedef void(C::* osgDB::StringSerializer::Setter)(const std::string &)

Constructor & Destructor Documentation

osgDB::StringSerializer::StringSerializer ( const char *  name,
const std::string &  def,
Getter  gf,
Setter  sf 
) [inline]

Member Function Documentation

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