Cell container.
More...
#include <cells.hpp>
List of all members.
Public Member Functions |
void | clear () |
| Cells (const MWWorld::ESMStore &store, std::vector< ESM::ESMReader > &reader) |
CellStore * | getExterior (int x, int y) |
CellStore * | getInterior (const std::string &name) |
Ptr | getPtr (const std::string &name, CellStore &cellStore, bool searchInContainers=false) |
Ptr | getPtr (const std::string &name) |
void | getExteriorPtrs (const std::string &name, std::vector< MWWorld::Ptr > &out) |
Private Member Functions |
| Cells (const Cells &) |
Cells & | operator= (const Cells &) |
CellStore * | getCellStore (const ESM::Cell *cell) |
Ptr | getPtrAndCache (const std::string &name, CellStore &cellStore) |
Private Attributes |
const MWWorld::ESMStore & | mStore |
std::vector< ESM::ESMReader > & | mReader |
std::map< std::string, CellStore > | mInteriors |
std::map< std::pair< int, int >
, CellStore > | mExteriors |
std::vector< std::pair
< std::string, CellStore * > > | mIdCache |
std::size_t | mIdCacheIndex |
Detailed Description
Constructor & Destructor Documentation
- Todo:
- pass the dynamic part of the ESMStore isntead (once it is written) of the whole world
Member Function Documentation
Get all Ptrs referencing name in exterior cells
- Note:
- Due to the current implementation of getPtr this only supports one Ptr per cell.
-
name must be lower case
- Parameters:
-
searchInContainers | Only affect loaded cells. |
- Note:
- name must be lower case
- Note:
- name must be lower case
Cells& MWWorld::Cells::operator= |
( |
const Cells & |
| ) |
[private] |
Member Data Documentation
The documentation for this class was generated from the following files: