OpenSceneGraph
3.0.1
|
Public Types | |
enum | Type { RW_UNDEFINED = 0, RW_USER, RW_OBJECT, RW_IMAGE, RW_LIST, RW_BOOL, RW_CHAR, RW_UCHAR, RW_SHORT, RW_USHORT, RW_INT, RW_UINT, RW_FLOAT, RW_DOUBLE, RW_VEC2F, RW_VEC2D, RW_VEC3F, RW_VEC3D, RW_VEC4F, RW_VEC4D, RW_QUAT, RW_PLANE, RW_MATRIXF, RW_MATRIXD, RW_MATRIX, RW_GLENUM, RW_STRING, RW_ENUM } |
Public Member Functions | |
BaseSerializer () | |
virtual bool | read (InputStream &, osg::Object &)=0 |
virtual bool | write (OutputStream &, const osg::Object &)=0 |
virtual const std::string & | getName () const =0 |
Protected Attributes | |
int | _firstVersion |
int | _lastVersion |
Friends | |
class | ObjectWrapper |
osgDB::BaseSerializer::BaseSerializer | ( | ) | [inline] |
virtual const std::string& osgDB::BaseSerializer::getName | ( | ) | const [pure virtual] |
virtual bool osgDB::BaseSerializer::read | ( | InputStream & | , |
osg::Object & | |||
) | [pure virtual] |
Implemented in osgDB::ListSerializer< C, P >, osgDB::EnumSerializer< C, P, B >, osgDB::ImageSerializer< C, P >, osgDB::ObjectSerializer< C, P >, osgDB::StringSerializer< C >, osgDB::GLenumSerializer< C, P >, osgDB::MatrixSerializer< C >, osgDB::PropByRefSerializer< C, P >, osgDB::PropByValSerializer< C, P >, osgDB::TemplateSerializer< P >, osgDB::TemplateSerializer< P * >, osgDB::TemplateSerializer< osg::Matrix >, osgDB::TemplateSerializer< std::string >, and osgDB::UserSerializer< C >.
virtual bool osgDB::BaseSerializer::write | ( | OutputStream & | , |
const osg::Object & | |||
) | [pure virtual] |
Implemented in osgDB::ListSerializer< C, P >, osgDB::EnumSerializer< C, P, B >, osgDB::ImageSerializer< C, P >, osgDB::ObjectSerializer< C, P >, osgDB::StringSerializer< C >, osgDB::GLenumSerializer< C, P >, osgDB::MatrixSerializer< C >, osgDB::PropByRefSerializer< C, P >, osgDB::PropByValSerializer< C, P >, osgDB::TemplateSerializer< P >, osgDB::TemplateSerializer< P * >, osgDB::TemplateSerializer< osg::Matrix >, osgDB::TemplateSerializer< std::string >, and osgDB::UserSerializer< C >.
friend class ObjectWrapper [friend] |
int osgDB::BaseSerializer::_firstVersion [protected] |
int osgDB::BaseSerializer::_lastVersion [protected] |
![]() | Generated at Mon May 7 2012 07:18:33 for the OpenSceneGraph by doxygen 1.8.0. |