xoreos
0.0.5
|
A resource. More...
Public Member Functions | |
Resource () | |
bool | operator< (const Resource &right) const |
Public Attributes | |
Common::UString | name |
The resource's name. More... | |
FileType | type |
The resource's type. More... | |
bool | isSmall |
Is this a "small" (compressed Nintendo DS) file? More... | |
uint32 | priority |
The resource's priority over others with the same name and type. More... | |
std::pair< KnownArchives *, KnownArchives::iterator > | selfArchive |
The archive this resource itself is. More... | |
Source | source |
Where can the resource be found? More... | |
Common::UString | path |
The file's path. More... | |
OpenedArchive * | archive |
Pointer to the opened archive. More... | |
uint32 | archiveIndex |
Index into the archive. More... | |
Aurora::ResourceManager::Resource::Resource | ( | ) |
Definition at line 98 of file resman.cpp.
References selfArchive.
bool Aurora::ResourceManager::Resource::operator< | ( | const Resource & | right | ) | const |
Definition at line 104 of file resman.cpp.
References priority.
OpenedArchive* Aurora::ResourceManager::Resource::archive |
Pointer to the opened archive.
Definition at line 416 of file resman.h.
Referenced by Aurora::ResourceManager::getArchiveResource(), Aurora::ResourceManager::getResourceSize(), and Aurora::ResourceManager::indexArchive().
uint32 Aurora::ResourceManager::Resource::archiveIndex |
Index into the archive.
Definition at line 417 of file resman.h.
Referenced by Aurora::ResourceManager::getArchiveResource(), Aurora::ResourceManager::getResourceSize(), and Aurora::ResourceManager::indexArchive().
bool Aurora::ResourceManager::Resource::isSmall |
Is this a "small" (compressed Nintendo DS) file?
Definition at line 401 of file resman.h.
Referenced by Aurora::ResourceManager::addResource(), Aurora::ResourceManager::getResource(), and Aurora::ResourceManager::indexArchive().
Common::UString Aurora::ResourceManager::Resource::name |
The resource's name.
Definition at line 397 of file resman.h.
Referenced by Aurora::ResourceManager::addResource(), Aurora::ResourceManager::checkHashCollision(), Aurora::ResourceManager::checkResourceIsArchive(), Aurora::ResourceManager::dumpResourcesList(), Aurora::ResourceManager::getArchiveName(), Aurora::ResourceManager::getResource(), and Aurora::ResourceManager::indexArchive().
Common::UString Aurora::ResourceManager::Resource::path |
The file's path.
Definition at line 413 of file resman.h.
Referenced by Aurora::ResourceManager::addResource(), Aurora::ResourceManager::findResourceFile(), Aurora::ResourceManager::getArchiveName(), Aurora::ResourceManager::getResource(), and Aurora::ResourceManager::getResourceSize().
uint32 Aurora::ResourceManager::Resource::priority |
The resource's priority over others with the same name and type.
Definition at line 404 of file resman.h.
Referenced by Aurora::ResourceManager::addResource(), Aurora::ResourceManager::indexArchive(), and operator<().
std::pair<KnownArchives *, KnownArchives::iterator> Aurora::ResourceManager::Resource::selfArchive |
The archive this resource itself is.
Definition at line 407 of file resman.h.
Referenced by Aurora::ResourceManager::checkResourceIsArchive(), and Resource().
Source Aurora::ResourceManager::Resource::source |
Where can the resource be found?
Definition at line 410 of file resman.h.
Referenced by Aurora::ResourceManager::addResource(), Aurora::ResourceManager::checkResourceIsArchive(), Aurora::ResourceManager::findResourceFile(), Aurora::ResourceManager::getArchiveName(), Aurora::ResourceManager::getResource(), Aurora::ResourceManager::getResourceSize(), and Aurora::ResourceManager::indexArchive().
FileType Aurora::ResourceManager::Resource::type |
The resource's type.
Definition at line 398 of file resman.h.
Referenced by Aurora::ResourceManager::addResource(), Aurora::ResourceManager::checkHashCollision(), Aurora::ResourceManager::checkResourceIsArchive(), Aurora::ResourceManager::dumpResourcesList(), Aurora::ResourceManager::getArchiveName(), Aurora::ResourceManager::getResource(), Aurora::ResourceManager::indexArchive(), and Aurora::ResourceManager::normalizeType().