Public Types | |
enum | ReadWriteMode { READ_AND_WRITE, READ_ONLY } |
typedef std::vector < std::string > | Associates |
typedef bool(* | ReadFunc )(osg::Object &, osgDB::Input &) |
typedef bool(* | WriteFunc )(const osg::Object &, osgDB::Output &) |
Public Member Functions | |
DotOsgWrapper (osg::Object *proto, const std::string &name, const std::string &associates, ReadFunc readFunc, WriteFunc writeFunc, ReadWriteMode readWriteMode=READ_AND_WRITE) | |
const osg::Object * | getPrototype () const |
const std::string & | getName () const |
const Associates & | getAssociates () const |
ReadFunc | getReadFunc () const |
WriteFunc | getWriteFunc () const |
ReadWriteMode | getReadWriteMode () const |
Protected Member Functions | |
DotOsgWrapper () | |
protected to prevent inappropriate creation of wrappers. | |
DotOsgWrapper (DotOsgWrapper &) | |
protected to prevent inappropriate creation of wrappers. | |
virtual | ~DotOsgWrapper () |
protected to prevent wrapper being created on stack. | |
Protected Attributes | |
osg::ref_ptr < osg::Object > | _prototype |
std::string | _name |
Associates | _associates |
ReadFunc | _readFunc |
WriteFunc | _writeFunc |
ReadWriteMode | _readWriteMode |
typedef std::vector<std::string> osgDB::DotOsgWrapper::Associates |
typedef bool(* osgDB::DotOsgWrapper::ReadFunc)(osg::Object &, osgDB::Input &) |
typedef bool(* osgDB::DotOsgWrapper::WriteFunc)(const osg::Object &, osgDB::Output &) |
osgDB::DotOsgWrapper::DotOsgWrapper | ( | osg::Object * | proto, | |
const std::string & | name, | |||
const std::string & | associates, | |||
ReadFunc | readFunc, | |||
WriteFunc | writeFunc, | |||
ReadWriteMode | readWriteMode = READ_AND_WRITE | |||
) |
osgDB::DotOsgWrapper::DotOsgWrapper | ( | ) | [inline, protected] |
protected to prevent inappropriate creation of wrappers.
osgDB::DotOsgWrapper::DotOsgWrapper | ( | DotOsgWrapper & | ) | [inline, protected] |
protected to prevent inappropriate creation of wrappers.
virtual osgDB::DotOsgWrapper::~DotOsgWrapper | ( | ) | [inline, protected, virtual] |
protected to prevent wrapper being created on stack.
const osg::Object* osgDB::DotOsgWrapper::getPrototype | ( | ) | const [inline] |
const std::string& osgDB::DotOsgWrapper::getName | ( | ) | const [inline] |
const Associates& osgDB::DotOsgWrapper::getAssociates | ( | ) | const [inline] |
ReadFunc osgDB::DotOsgWrapper::getReadFunc | ( | ) | const [inline] |
WriteFunc osgDB::DotOsgWrapper::getWriteFunc | ( | ) | const [inline] |
ReadWriteMode osgDB::DotOsgWrapper::getReadWriteMode | ( | ) | const [inline] |
osg::ref_ptr<osg::Object> osgDB::DotOsgWrapper::_prototype [protected] |
std::string osgDB::DotOsgWrapper::_name [protected] |
Associates osgDB::DotOsgWrapper::_associates [protected] |
ReadFunc osgDB::DotOsgWrapper::_readFunc [protected] |
WriteFunc osgDB::DotOsgWrapper::_writeFunc [protected] |
ReadWriteMode osgDB::DotOsgWrapper::_readWriteMode [protected] |