OpenSceneGraph
3.4.0
|
Public Types | |
typedef C::value_type | ValueType |
typedef C::const_iterator | ConstIterator |
Public Member Functions | |
IsAVectorSerializer (const char *name, BaseSerializer::Type elementType, unsigned int numElementsOnRow) | |
virtual const std::string & | getName () const |
virtual unsigned int | size (const osg::Object &obj) const |
virtual void | resize (osg::Object &obj, unsigned int numElements) const |
virtual void | reserve (osg::Object &obj, unsigned int numElements) const |
virtual void | clear (osg::Object &obj) const |
virtual void | addElement (osg::Object &obj, void *ptr) const |
virtual void | insertElement (osg::Object &obj, unsigned int index, void *ptr) const |
virtual void | setElement (osg::Object &obj, unsigned int index, void *ptr) const |
virtual void * | getElement (osg::Object &obj, unsigned int index) const |
virtual const void * | getElement (const osg::Object &obj, unsigned int index) const |
virtual bool | read (InputStream &is, osg::Object &obj) |
virtual bool | write (OutputStream &os, const osg::Object &obj) |
Public Attributes | |
std::string | _name |
unsigned int | _numElementsOnRow |
typedef C::const_iterator osgDB::IsAVectorSerializer< C >::ConstIterator |
typedef C::value_type osgDB::IsAVectorSerializer< C >::ValueType |
osgDB::IsAVectorSerializer< C >::IsAVectorSerializer | ( | const char * | name, |
BaseSerializer::Type | elementType, | ||
unsigned int | numElementsOnRow | ||
) | [inline] |
virtual void osgDB::IsAVectorSerializer< C >::addElement | ( | osg::Object & | obj, |
void * | ptr | ||
) | const [inline, virtual] |
Reimplemented from osgDB::VectorBaseSerializer.
virtual void osgDB::IsAVectorSerializer< C >::clear | ( | osg::Object & | obj | ) | const [inline, virtual] |
Reimplemented from osgDB::VectorBaseSerializer.
virtual void* osgDB::IsAVectorSerializer< C >::getElement | ( | osg::Object & | obj, |
unsigned int | index | ||
) | const [inline, virtual] |
Reimplemented from osgDB::VectorBaseSerializer.
virtual const void* osgDB::IsAVectorSerializer< C >::getElement | ( | const osg::Object & | obj, |
unsigned int | index | ||
) | const [inline, virtual] |
Reimplemented from osgDB::VectorBaseSerializer.
virtual const std::string& osgDB::IsAVectorSerializer< C >::getName | ( | ) | const [inline, virtual] |
Implements osgDB::BaseSerializer.
References osgDB::IsAVectorSerializer< C >::_name.
virtual void osgDB::IsAVectorSerializer< C >::insertElement | ( | osg::Object & | obj, |
unsigned int | index, | ||
void * | ptr | ||
) | const [inline, virtual] |
Reimplemented from osgDB::VectorBaseSerializer.
virtual bool osgDB::IsAVectorSerializer< C >::read | ( | InputStream & | is, |
osg::Object & | obj | ||
) | [inline, virtual] |
virtual void osgDB::IsAVectorSerializer< C >::reserve | ( | osg::Object & | obj, |
unsigned int | numElements | ||
) | const [inline, virtual] |
Reimplemented from osgDB::VectorBaseSerializer.
virtual void osgDB::IsAVectorSerializer< C >::resize | ( | osg::Object & | obj, |
unsigned int | numElements | ||
) | const [inline, virtual] |
Reimplemented from osgDB::VectorBaseSerializer.
virtual void osgDB::IsAVectorSerializer< C >::setElement | ( | osg::Object & | obj, |
unsigned int | index, | ||
void * | ptr | ||
) | const [inline, virtual] |
Reimplemented from osgDB::VectorBaseSerializer.
virtual unsigned int osgDB::IsAVectorSerializer< C >::size | ( | const osg::Object & | obj | ) | const [inline, virtual] |
Reimplemented from osgDB::VectorBaseSerializer.
Referenced by osgDB::IsAVectorSerializer< C >::read(), and osgDB::IsAVectorSerializer< C >::write().
virtual bool osgDB::IsAVectorSerializer< C >::write | ( | OutputStream & | os, |
const osg::Object & | obj | ||
) | [inline, virtual] |
Implements osgDB::BaseSerializer.
References osgDB::IsAVectorSerializer< C >::_name, osgDB::IsAVectorSerializer< C >::_numElementsOnRow, osgDB::OutputStream::BEGIN_BRACKET, osgDB::OutputStream::END_BRACKET, osgDB::OutputStream::isBinary(), osgDB::OutputStream::PROPERTY, and osgDB::IsAVectorSerializer< C >::size().
std::string osgDB::IsAVectorSerializer< C >::_name |
unsigned int osgDB::IsAVectorSerializer< C >::_numElementsOnRow |
Referenced by osgDB::IsAVectorSerializer< C >::write().
![]() | Generated at Tue Dec 8 2015 00:14:28 for the OpenSceneGraph by doxygen 1.7.6.1. |