Oxygine  1
2g game engine
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
oxygine::file::ZipFileSystem Class Reference
Inheritance diagram for oxygine::file::ZipFileSystem:
oxygine::file::FileSystem

Public Member Functions

void add (const char *zip)
 
void add (const unsigned char *data, unsigned int size)
 
void add (std::vector< char > &data)
 
void reset ()
 
- Public Member Functions inherited from oxygine::file::FileSystem
 FileSystem (bool readonly)
 
void setPrefix (const char *str)
 
bool isExists (const char *file)
 
bool isExistsHere (const char *file)
 
status deleteFile (const char *file)
 
status renameFile (const char *src, const char *dest)
 
status makeDirectory (const char *path)
 
status deleteDirectory (const char *path)
 
status open (const char *file, const char *mode, error_policy ep, fileHandle *&fh)
 
status read (const char *file, file::buffer &bf, error_policy ep)
 
void mount (FileSystem *fs)
 
void unmount (FileSystem *fs)
 

Protected Member Functions

status _read (const char *file, file::buffer &, error_policy ep)
 
status _open (const char *file, const char *mode, error_policy ep, file::fileHandle *&fh)
 
status _deleteFile (const char *file)
 
status _makeDirectory (const char *file)
 
status _deleteDirectory (const char *file)
 
status _renameFile (const char *src, const char *dest)
 
bool _isExists (const char *file)
 

Protected Attributes

Zips _zips
 
- Protected Attributes inherited from oxygine::file::FileSystem
char _prefix [32]
 
bool _readonly
 
filesystems _filesystems
 

Additional Inherited Members

- Public Types inherited from oxygine::file::FileSystem
enum  status { status_error, status_ok }
 
- Protected Types inherited from oxygine::file::FileSystem
typedef std::vector< FileSystem * > filesystems
 

Member Function Documentation

§ add()

void oxygine::file::ZipFileSystem::add ( const char *  zip)

add zip from file


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