|
OpenMW
|
#include <store.hpp>
Classes | |
| struct | DynamicExtCmp |
Public Types | |
| typedef SharedIterator< ESM::Cell > | iterator |
Public Member Functions | |
| const ESM::Cell * | search (const std::string &id) const |
| const ESM::Cell * | search (int x, int y) const |
| const ESM::Cell * | searchOrCreate (int x, int y) |
| const ESM::Cell * | find (const std::string &id) const |
| const ESM::Cell * | find (int x, int y) const |
| virtual void | clearDynamic () |
| void | setUp () |
| RecordId | load (ESM::ESMReader &esm) |
| iterator | intBegin () const |
| iterator | intEnd () const |
| iterator | extBegin () const |
| iterator | extEnd () const |
| const ESM::Cell * | searchExtByName (const std::string &id) const |
| const ESM::Cell * | searchExtByRegion (const std::string &id) const |
| size_t | getSize () const |
| void | listIdentifier (std::vector< std::string > &list) const |
| List identifiers of records contained in this Store (case-smashed). No-op for Stores that don't use string IDs. More... | |
| ESM::Cell * | insert (const ESM::Cell &cell) |
| bool | erase (const ESM::Cell &cell) |
| bool | erase (const std::string &id) |
| bool | erase (int x, int y) |
Public Member Functions inherited from MWWorld::StoreBase | |
| virtual | ~StoreBase () |
| virtual int | getDynamicSize () const |
| virtual bool | eraseStatic (const std::string &id) |
| virtual void | write (ESM::ESMWriter &writer, Loading::Listener &progress) const |
| virtual RecordId | read (ESM::ESMReader &reader) |
| Read into dynamic storage. More... | |
Private Types | |
| typedef std::map< std::string, ESM::Cell > | DynamicInt |
| typedef std::map< std::pair < int, int >, ESM::Cell, DynamicExtCmp > | DynamicExt |
Private Member Functions | |
| const ESM::Cell * | search (const ESM::Cell &cell) const |
| void | handleMovedCellRefs (ESM::ESMReader &esm, ESM::Cell *cell) |
Private Attributes | |
| DynamicInt | mInt |
| DynamicExt | mExt |
| std::vector< ESM::Cell * > | mSharedInt |
| std::vector< ESM::Cell * > | mSharedExt |
| DynamicInt | mDynamicInt |
| DynamicExt | mDynamicExt |
|
private |
|
private |
| typedef SharedIterator<ESM::Cell> MWWorld::Store< ESM::Cell >::iterator |
|
virtual |
| bool MWWorld::Store< ESM::Cell >::erase | ( | const ESM::Cell & | cell | ) |
| bool MWWorld::Store< ESM::Cell >::erase | ( | const std::string & | id | ) |
| bool MWWorld::Store< ESM::Cell >::erase | ( | int | x, |
| int | y | ||
| ) |
| Store< ESM::Cell >::iterator MWWorld::Store< ESM::Cell >::extBegin | ( | ) | const |
| Store< ESM::Cell >::iterator MWWorld::Store< ESM::Cell >::extEnd | ( | ) | const |
| const ESM::Cell * MWWorld::Store< ESM::Cell >::find | ( | const std::string & | id | ) | const |
| const ESM::Cell * MWWorld::Store< ESM::Cell >::find | ( | int | x, |
| int | y | ||
| ) | const |
|
virtual |
Implements MWWorld::StoreBase.
|
private |
| ESM::Cell * MWWorld::Store< ESM::Cell >::insert | ( | const ESM::Cell & | cell | ) |
| Store< ESM::Cell >::iterator MWWorld::Store< ESM::Cell >::intBegin | ( | ) | const |
| Store< ESM::Cell >::iterator MWWorld::Store< ESM::Cell >::intEnd | ( | ) | const |
|
virtual |
List identifiers of records contained in this Store (case-smashed). No-op for Stores that don't use string IDs.
Reimplemented from MWWorld::StoreBase.
|
virtual |
|
private |
| const ESM::Cell * MWWorld::Store< ESM::Cell >::search | ( | const std::string & | id | ) | const |
| const ESM::Cell * MWWorld::Store< ESM::Cell >::search | ( | int | x, |
| int | y | ||
| ) | const |
| const ESM::Cell * MWWorld::Store< ESM::Cell >::searchExtByName | ( | const std::string & | id | ) | const |
| const ESM::Cell * MWWorld::Store< ESM::Cell >::searchExtByRegion | ( | const std::string & | id | ) | const |
| const ESM::Cell * MWWorld::Store< ESM::Cell >::searchOrCreate | ( | int | x, |
| int | y | ||
| ) |
|
virtual |
Reimplemented from MWWorld::StoreBase.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.6