OpenMW
Public Member Functions | Private Types | Private Member Functions | Private Attributes
DirArchive Class Reference

An OGRE Archive wrapping a BSAFile archive. More...

List of all members.

Public Member Functions

 DirArchive (const String &name)
bool isCaseSensitive () const
void load ()
void unload ()
DataStreamPtr open (const String &filename, bool readonly=true) const
StringVectorPtr list (bool recursive=true, bool dirs=false)
FileInfoListPtr listFileInfo (bool recursive=true, bool dirs=false)
StringVectorPtr find (const String &pattern, bool recursive=true, bool dirs=false)
bool exists (const String &filename)
time_t getModifiedTime (const String &)
FileInfoListPtr findFileInfo (const String &pattern, bool recursive=true, bool dirs=false) const

Private Types

typedef std::map< std::string,
std::string > 
index

Private Member Functions

index::const_iterator lookup_filename (std::string const &filename) const

Private Attributes

index mIndex

Detailed Description

An OGRE Archive wrapping a BSAFile archive.


Member Typedef Documentation

typedef std::map<std::string, std::string> DirArchive::index [private]

Constructor & Destructor Documentation

DirArchive::DirArchive ( const String &  name) [inline]

Member Function Documentation

bool DirArchive::exists ( const String &  filename) [inline]
StringVectorPtr DirArchive::find ( const String &  pattern,
bool  recursive = true,
bool  dirs = false 
) [inline]
FileInfoListPtr DirArchive::findFileInfo ( const String &  pattern,
bool  recursive = true,
bool  dirs = false 
) const [inline]
time_t DirArchive::getModifiedTime ( const String &  ) [inline]
bool DirArchive::isCaseSensitive ( ) const [inline]
StringVectorPtr DirArchive::list ( bool  recursive = true,
bool  dirs = false 
) [inline]
FileInfoListPtr DirArchive::listFileInfo ( bool  recursive = true,
bool  dirs = false 
) [inline]
void DirArchive::load ( ) [inline]
index::const_iterator DirArchive::lookup_filename ( std::string const &  filename) const [inline, private]
DataStreamPtr DirArchive::open ( const String &  filename,
bool  readonly = true 
) const [inline]
void DirArchive::unload ( ) [inline]

Member Data Documentation


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