Public Types | |
typedef std::vector < osg::ref_ptr< BaseSerializer > > | SerializerList |
Public Member Functions | |
ObjectWrapper (osg::Object *proto, const std::string &name, const std::string &associates) | |
const osg::Object * | getProto () const |
const std::string & | getName () const |
const StringList & | getAssociates () const |
void | addSerializer (BaseSerializer *s) |
bool | read (InputStream &, osg::Object &) |
bool | write (OutputStream &, const osg::Object &) |
bool | readSchema (const StringList &properties) |
void | writeSchema (StringList &properties) |
void | resetSchema () |
Protected Member Functions | |
ObjectWrapper () | |
virtual | ~ObjectWrapper () |
Protected Attributes | |
osg::ref_ptr< osg::Object > | _proto |
std::string | _name |
StringList | _associates |
SerializerList | _serializers |
SerializerList | _backupSerializers |
typedef std::vector< osg::ref_ptr<BaseSerializer> > osgDB::ObjectWrapper::SerializerList |
osgDB::ObjectWrapper::ObjectWrapper | ( | osg::Object * | proto, | |
const std::string & | name, | |||
const std::string & | associates | |||
) |
osgDB::ObjectWrapper::ObjectWrapper | ( | ) | [inline, protected] |
virtual osgDB::ObjectWrapper::~ObjectWrapper | ( | ) | [inline, protected, virtual] |
const osg::Object* osgDB::ObjectWrapper::getProto | ( | ) | const [inline] |
const std::string& osgDB::ObjectWrapper::getName | ( | ) | const [inline] |
const StringList& osgDB::ObjectWrapper::getAssociates | ( | ) | const [inline] |
void osgDB::ObjectWrapper::addSerializer | ( | BaseSerializer * | s | ) | [inline] |
bool osgDB::ObjectWrapper::read | ( | InputStream & | , | |
osg::Object & | ||||
) |
bool osgDB::ObjectWrapper::write | ( | OutputStream & | , | |
const osg::Object & | ||||
) |
bool osgDB::ObjectWrapper::readSchema | ( | const StringList & | properties | ) |
void osgDB::ObjectWrapper::writeSchema | ( | StringList & | properties | ) |
void osgDB::ObjectWrapper::resetSchema | ( | ) | [inline] |
osg::ref_ptr<osg::Object> osgDB::ObjectWrapper::_proto [protected] |
std::string osgDB::ObjectWrapper::_name [protected] |
StringList osgDB::ObjectWrapper::_associates [protected] |
SerializerList osgDB::ObjectWrapper::_serializers [protected] |