Inheritance diagram for osgDB::Archive:

Public Types | |
| typedef std::vector< std::string > | FileNameList |
Public Member Functions | |
| Archive () | |
| virtual | ~Archive () |
| virtual const char * | libraryName () const |
| return the name of the object's library. | |
| virtual const char * | className () const |
| return the name of the object's class type. | |
| virtual bool | acceptsExtension (const std::string &) const |
| virtual void | close ()=0 |
| close the archive. | |
| virtual bool | fileExists (const std::string &filename) const=0 |
| return true if file exists in archive. | |
| virtual std::string | getMasterFileName () const=0 |
| Get the file name which represents the master file recorded in the Archive. | |
| virtual bool | getFileNames (FileNameList &fileNameList) const=0 |
| Get the full list of file names available in the archive. | |
| virtual ReadResult | readObject (const std::string &,const Options *=NULL) const=0 |
| virtual ReadResult | readImage (const std::string &,const Options *=NULL) const=0 |
| virtual ReadResult | readHeightField (const std::string &,const Options *=NULL) const=0 |
| virtual ReadResult | readNode (const std::string &,const Options *=NULL) const=0 |
| virtual WriteResult | writeObject (const osg::Object &,const std::string &,const Options *=NULL) const=0 |
| virtual WriteResult | writeImage (const osg::Image &,const std::string &,const Options *=NULL) const=0 |
| virtual WriteResult | writeHeightField (const osg::HeightField &,const std::string &,const Options *=NULL) const=0 |
| virtual WriteResult | writeNode (const osg::Node &,const std::string &,const Options *=NULL) const=0 |
See src/osgPlugins/osga for an example of a concrete implementation.
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from osgDB::ReaderWriter. |
|
|
return the name of the object's class type. Must be defined by derived classes. Implements osg::Object. |
|
|
close the archive.
|
|
|
return true if file exists in archive.
|
|
|
Get the full list of file names available in the archive.
|
|
|
Get the file name which represents the master file recorded in the Archive.
|
|
|
return the name of the object's library. Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. Implements osg::Object. |
|
||||||||||||
|
Reimplemented from osgDB::ReaderWriter. |
|
||||||||||||
|
Reimplemented from osgDB::ReaderWriter. |
|
||||||||||||
|
Reimplemented from osgDB::ReaderWriter. |
|
||||||||||||
|
Reimplemented from osgDB::ReaderWriter. |
|
||||||||||||||||
|
Reimplemented from osgDB::ReaderWriter. |
|
||||||||||||||||
|
Reimplemented from osgDB::ReaderWriter. |
|
||||||||||||||||
|
Reimplemented from osgDB::ReaderWriter. |
|
||||||||||||||||
|
Reimplemented from osgDB::ReaderWriter. |