OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
MWWorld::Store< ESM::Cell > Class Template Reference

#include <store.hpp>

Inheritance diagram for MWWorld::Store< ESM::Cell >:
Collaboration diagram for MWWorld::Store< ESM::Cell >:

Classes

struct  DynamicExtCmp
 

Public Types

typedef SharedIterator< ESM::Celliterator
 

Public Member Functions

const ESM::Cellsearch (const std::string &id) const
 
const ESM::Cellsearch (int x, int y) const
 
const ESM::CellsearchOrCreate (int x, int y)
 
const ESM::Cellfind (const std::string &id) const
 
const ESM::Cellfind (int x, int y) const
 
void setUp ()
 
RecordId load (ESM::ESMReader &esm)
 
iterator intBegin () const
 
iterator intEnd () const
 
iterator extBegin () const
 
iterator extEnd () const
 
const ESM::CellsearchExtByName (const std::string &id) const
 
const ESM::CellsearchExtByRegion (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::Cellinsert (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 clearDynamic ()
 
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::Cellsearch (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
 

Member Typedef Documentation

typedef std::map<std::pair<int, int>, ESM::Cell, DynamicExtCmp> MWWorld::Store< ESM::Cell >::DynamicExt
private
typedef std::map<std::string, ESM::Cell> MWWorld::Store< ESM::Cell >::DynamicInt
private

Member Function Documentation

bool MWWorld::Store< ESM::Cell >::erase ( const ESM::Cell cell)

Here is the call graph for this function:

bool MWWorld::Store< ESM::Cell >::erase ( const std::string &  id)

Here is the call graph for this function:

bool MWWorld::Store< ESM::Cell >::erase ( int  x,
int  y 
)
Store< ESM::Cell >::iterator MWWorld::Store< ESM::Cell >::extBegin ( ) const

Here is the caller graph for this function:

Store< ESM::Cell >::iterator MWWorld::Store< ESM::Cell >::extEnd ( ) const

Here is the caller graph for this function:

const ESM::Cell * MWWorld::Store< ESM::Cell >::find ( const std::string &  id) const

Here is the call graph for this function:

const ESM::Cell * MWWorld::Store< ESM::Cell >::find ( int  x,
int  y 
) const

Here is the call graph for this function:

size_t MWWorld::Store< ESM::Cell >::getSize ( ) const
virtual

Implements MWWorld::StoreBase.

void MWWorld::Store< ESM::Cell >::handleMovedCellRefs ( ESM::ESMReader esm,
ESM::Cell cell 
)
private

Here is the call graph for this function:

ESM::Cell * MWWorld::Store< ESM::Cell >::insert ( const ESM::Cell cell)

Here is the call graph for this function:

Store< ESM::Cell >::iterator MWWorld::Store< ESM::Cell >::intBegin ( ) const

Here is the caller graph for this function:

Store< ESM::Cell >::iterator MWWorld::Store< ESM::Cell >::intEnd ( ) const

Here is the caller graph for this function:

void MWWorld::Store< ESM::Cell >::listIdentifier ( std::vector< std::string > &  list) 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.

RecordId MWWorld::Store< ESM::Cell >::load ( ESM::ESMReader esm)
virtual

Implements MWWorld::StoreBase.

Here is the call graph for this function:

const ESM::Cell * MWWorld::Store< ESM::Cell >::search ( const ESM::Cell cell) const
private

Here is the call graph for this function:

const ESM::Cell * MWWorld::Store< ESM::Cell >::search ( const std::string &  id) const

Here is the call graph for this function:

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

Here is the call graph for this function:

const ESM::Cell * MWWorld::Store< ESM::Cell >::searchExtByRegion ( const std::string &  id) const

Here is the call graph for this function:

const ESM::Cell * MWWorld::Store< ESM::Cell >::searchOrCreate ( int  x,
int  y 
)
void MWWorld::Store< ESM::Cell >::setUp ( )
virtual

Reimplemented from MWWorld::StoreBase.

Member Data Documentation

DynamicExt MWWorld::Store< ESM::Cell >::mDynamicExt
private
DynamicInt MWWorld::Store< ESM::Cell >::mDynamicInt
private
std::vector<ESM::Cell *> MWWorld::Store< ESM::Cell >::mSharedExt
private
std::vector<ESM::Cell *> MWWorld::Store< ESM::Cell >::mSharedInt
private

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