ScummVM API documentation
Scumm::ResourceManager::ResTypeData Class Reference

#include <resource.h>

Inheritance diagram for Scumm::ResourceManager::ResTypeData:
Common::Array< Resource >

Public Attributes

ResTypeMode _mode
 
uint32 _tag
 

Additional Inherited Members

- Public Types inherited from Common::Array< Resource >
typedef Resource * iterator
 
typedef const Resource * const_iterator
 
typedef Resource value_type
 
typedef uint size_type
 
- Public Member Functions inherited from Common::Array< Resource >
 Array (size_type count)
 
 Array (size_type count, const Resource &value)
 
 Array (const Array< Resource > &array)
 
 Array (Array< Resource > &&old)
 
 Array (std::initializer_list< Resource > list)
 
 Array (const T2 *array, size_type n)
 
void push_back (const Resource &element)
 
void push_back (const Array< Resource > &array)
 
void pop_back ()
 
const Resource * data () const
 
Resource * data ()
 
Resource & front ()
 
const Resource & front () const
 
Resource & back ()
 
const Resource & back () const
 
void insert_at (size_type idx, const Resource &element)
 
void insert_at (size_type idx, const Array< Resource > &array)
 
void insert (iterator pos, const Resource &element)
 
Resource remove_at (size_type idx)
 
Resource & operator[] (size_type idx)
 
const Resource & operator[] (size_type idx) const
 
Array< Resource > & operator= (const Array< Resource > &array)
 
Arrayoperator= (Array< Resource > &&old)
 
size_type size () const
 
void clear ()
 
iterator erase (iterator pos)
 
iterator erase (iterator first, iterator last)
 
bool empty () const
 
bool operator== (const Array< Resource > &other) const
 
bool operator!= (const Array< Resource > &other) const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
void reserve (size_type newCapacity)
 
void resize (size_type newSize)
 
void resize (size_type newSize, const Resource value)
 
void assign (const_iterator first, const_iterator last)
 
void swap (Array &arr)
 
- Protected Member Functions inherited from Common::Array< Resource >
void allocCapacity (size_type capacity)
 
void freeStorage (Resource *storage, const size_type elements)
 
iterator insert_aux (iterator pos, const_iterator first, const_iterator last)
 
- Static Protected Member Functions inherited from Common::Array< Resource >
static size_type roundUpCapacity (size_type capacity)
 
- Protected Attributes inherited from Common::Array< Resource >
size_type _capacity
 
size_type _size
 
Resource * _storage
 

Detailed Description

This struct represents a resource type and all resource of that type.

Member Data Documentation

◆ _mode

ResTypeMode Scumm::ResourceManager::ResTypeData::_mode

The mode of this res type.

◆ _tag

uint32 Scumm::ResourceManager::ResTypeData::_tag

The 4-byte tag or chunk type associated to this resource type, if any. Only applies to resources that are loaded from the game data files. This value is only used for debugging purposes.


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