OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
CSMWorld::Resources Class Reference

#include <resources.hpp>

Collaboration diagram for CSMWorld::Resources:

Public Member Functions

 Resources (const VFS::Manager *vfs, const std::string &baseDirectory, UniversalId::Type type, const char *const *extensions=0)
 
int getSize () const
 
std::string getId (int index) const
 
int getIndex (const std::string &id) const
 
int searchId (const std::string &id) const
 
UniversalId::Type getType () const
 

Private Attributes

std::map< std::string, intmIndex
 
std::vector< std::string > mFiles
 
std::string mBaseDirectory
 
UniversalId::Type mType
 

Constructor & Destructor Documentation

CSMWorld::Resources::Resources ( const VFS::Manager vfs,
const std::string &  baseDirectory,
UniversalId::Type  type,
const char *const *  extensions = 0 
)
Parameters
typeType of resources in this table.

Here is the call graph for this function:

Member Function Documentation

std::string CSMWorld::Resources::getId ( int  index) const
int CSMWorld::Resources::getIndex ( const std::string &  id) const

Here is the call graph for this function:

int CSMWorld::Resources::getSize ( ) const
CSMWorld::UniversalId::Type CSMWorld::Resources::getType ( ) const

Here is the caller graph for this function:

int CSMWorld::Resources::searchId ( const std::string &  id) const

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

std::string CSMWorld::Resources::mBaseDirectory
private
std::vector<std::string> CSMWorld::Resources::mFiles
private
std::map<std::string, int> CSMWorld::Resources::mIndex
private
UniversalId::Type CSMWorld::Resources::mType
private

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