osgDB::ObjectWrapper Class Reference

Inheritance diagram for osgDB::ObjectWrapper:

osg::Referenced

List of all members.

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::ObjectgetProto () const
const std::string & getName () const
const StringListgetAssociates () 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


Member Typedef Documentation


Constructor & Destructor Documentation

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]


Member Function Documentation

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]


Member Data Documentation

std::string osgDB::ObjectWrapper::_name [protected]


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

Generated on Sat Mar 20 12:34:01 2010 for openscenegraph by  doxygen 1.5.6