ScummVM API documentation
Ultima::Ultima4::MapLoaders Class Reference
Inheritance diagram for Ultima::Ultima4::MapLoaders:
Common::HashMap< Map::Type, MapLoader *, MapType_Hash >

Public Member Functions

 MapLoaders ()
 
 ~MapLoaders ()
 
MapLoadergetLoader (Map::Type type)
 
- Public Member Functions inherited from Common::HashMap< Map::Type, MapLoader *, MapType_Hash >
 HashMap ()
 
 HashMap (const HM_t &map)
 
 ~HashMap ()
 
HM_toperator= (const HM_t &map)
 
bool contains (const Map::Type &key) const
 
MapLoader * & operator[] (const Map::Type &key)
 
const MapLoader * & operator[] (const Map::Type &key) const
 
MapLoader * & getOrCreateVal (const Map::Type &key)
 
MapLoader * & getVal (const Map::Type &key)
 
const MapLoader * & getVal (const Map::Type &key) const
 
const MapLoader * & getValOrDefault (const Map::Type &key) const
 
const MapLoader * & getValOrDefault (const Map::Type &key, const MapLoader * &defaultVal) const
 
bool tryGetVal (const Map::Type &key, MapLoader * &out) const
 
void setVal (const Map::Type &key, const MapLoader * &val)
 
void clear (bool shrinkArray=0)
 
void erase (iterator entry)
 
void erase (const Map::Type &key)
 
size_type size () const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
iterator find (const Map::Type &key)
 
const_iterator find (const Map::Type &key) const
 
bool empty () const
 

Additional Inherited Members

- Public Types inherited from Common::HashMap< Map::Type, MapLoader *, MapType_Hash >
typedef uint size_type
 
typedef IteratorImpl< Nodeiterator
 
typedef IteratorImpl< const Nodeconst_iterator
 

Constructor & Destructor Documentation

◆ MapLoaders()

Ultima::Ultima4::MapLoaders::MapLoaders ( )

Constructor

◆ ~MapLoaders()

Ultima::Ultima4::MapLoaders::~MapLoaders ( )

Destructor

Member Function Documentation

◆ getLoader()

MapLoader* Ultima::Ultima4::MapLoaders::getLoader ( Map::Type  type)

Gets a map loader for the given map type.


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