Further work on osgDB::Archive

This commit is contained in:
Robert Osfield
2004-11-06 21:18:19 +00:00
parent 3fde44b5a5
commit 8d6aa8b405
3 changed files with 65 additions and 29 deletions

View File

@@ -40,14 +40,12 @@ class OSGDB_EXPORT Archive : public ReaderWriter
enum Status
{
READ,
WRITE
WRITE,
CREATE
};
/** open the archive.*/
virtual bool create(const std::string& filename, unsigned int indexBlockSize=4096);
/** open the archive.*/
virtual bool open(const std::string& filename, Status status);
virtual bool open(const std::string& filename, Status status, unsigned int indexBlockSizeHint=4096);
/** close the archive.*/
virtual void close();