class OSGDB_EXPORT osgDB::DotOsgWrapper

Wrapper class for specifying read and write functions for extending the osg file format.

Inheritance:


Public Classes

[more]enum ReadWriteMode

Public Methods

[more]typedef bool (*ReadFunc)(osg::Object&, osgDB::Input&)
[more]typedef bool (*WriteFunc)(const osg::Object&, osgDB::Output&)
[more] DotOsgWrapper(osg::Object* proto, const std::string& name, const std::string& associates, ReadFunc readFunc, WriteFunc writeFunc, ReadWriteMode readWriteMode=READ_AND_WRITE)
[more]inline const osg::Object* getPrototype() const
[more]inline const std::string& getName() const
[more]inline const Associates& getAssociates() const
[more]inline ReadFunc getReadFunc() const
[more]inline WriteFunc getWriteFunc() const
[more]inline ReadWriteMode getReadWriteMode() const

Public

[more]typedef std::vector<std::string> Associates

Protected Fields

[more]osg::ref_ptr<osg::Object> _prototype
[more]std::string _name
[more]Associates _associates
[more]ReadFunc _readFunc
[more]WriteFunc _writeFunc
[more]ReadWriteMode _readWriteMode

Protected Methods

[more] DotOsgWrapper()
protected to prevent inappropriate creation of wrappers
[more] DotOsgWrapper(DotOsgWrapper&)
protected to prevent inappropriate creation of wrappers
[more]virtual ~DotOsgWrapper()
protected to prevent wrapper being created on stack


Documentation

Wrapper class for specifying read and write functions for extending the osg file format.
otypedef std::vector<std::string> Associates

otypedef bool (*ReadFunc)(osg::Object&, osgDB::Input&)

otypedef bool (*WriteFunc)(const osg::Object&, osgDB::Output&)

oenum ReadWriteMode

o READ_AND_WRITE

o READ_ONLY

o DotOsgWrapper(osg::Object* proto, const std::string& name, const std::string& associates, ReadFunc readFunc, WriteFunc writeFunc, ReadWriteMode readWriteMode=READ_AND_WRITE)

oinline const osg::Object* getPrototype() const

oinline const std::string& getName() const

oinline const Associates& getAssociates() const

oinline ReadFunc getReadFunc() const

oinline WriteFunc getWriteFunc() const

oinline ReadWriteMode getReadWriteMode() const

o DotOsgWrapper()
protected to prevent inappropriate creation of wrappers

o DotOsgWrapper(DotOsgWrapper&)
protected to prevent inappropriate creation of wrappers

ovirtual ~DotOsgWrapper()
protected to prevent wrapper being created on stack

oosg::ref_ptr<osg::Object> _prototype

ostd::string _name

oAssociates _associates

oReadFunc _readFunc

oWriteFunc _writeFunc

oReadWriteMode _readWriteMode


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.