xoreos  0.0.5
Public Member Functions | Public Attributes | List of all members
Aurora::ResourceManager::Resource Struct Reference

A resource. More...

Collaboration diagram for Aurora::ResourceManager::Resource:
Collaboration graph
[legend]

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...
 
OpenedArchivearchive
 Pointer to the opened archive. More...
 
uint32 archiveIndex
 Index into the archive. More...
 

Detailed Description

A resource.

Definition at line 396 of file resman.h.

Constructor & Destructor Documentation

◆ Resource()

Aurora::ResourceManager::Resource::Resource ( )

Definition at line 98 of file resman.cpp.

References selfArchive.

Member Function Documentation

◆ operator<()

bool Aurora::ResourceManager::Resource::operator< ( const Resource right) const

Definition at line 104 of file resman.cpp.

References priority.

Member Data Documentation

◆ archive

OpenedArchive* Aurora::ResourceManager::Resource::archive

◆ archiveIndex

uint32 Aurora::ResourceManager::Resource::archiveIndex

◆ isSmall

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().

◆ name

Common::UString Aurora::ResourceManager::Resource::name

◆ path

Common::UString Aurora::ResourceManager::Resource::path

◆ priority

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<().

◆ selfArchive

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

Source Aurora::ResourceManager::Resource::source

◆ type

FileType Aurora::ResourceManager::Resource::type

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