OpenMW
Classes | Public Types | Public Member Functions | Public Attributes | Private Types | Private Member Functions | Private Attributes
MWWorld::Store< ESM::Cell > Class Template Reference

#include <store.hpp>

List of all members.

Classes

struct  DynamicExtCmp
struct  ExtCmp

Public Types

typedef SharedIterator< ESM::Cell > iterator

Public Member Functions

 Store ()
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
void setUp ()
void load (ESM::ESMReader &esm, const std::string &id)
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
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 Attributes

ESMStore * mEsmStore

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

Private Attributes

DynamicInt mInt
DynamicExt mExt
std::vector< ESM::Cell * > mSharedInt
std::vector< ESM::Cell * > mSharedExt
DynamicInt mDynamicInt
DynamicExt mDynamicExt

template<>
class MWWorld::Store< ESM::Cell >


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]

Constructor & Destructor Documentation

MWWorld::Store< ESM::Cell >::Store ( ) [inline]

Member Function Documentation

bool MWWorld::Store< ESM::Cell >::erase ( const ESM::Cell &  cell) [inline]
bool MWWorld::Store< ESM::Cell >::erase ( const std::string &  id) [inline]
bool MWWorld::Store< ESM::Cell >::erase ( int  x,
int  y 
) [inline]
iterator MWWorld::Store< ESM::Cell >::extBegin ( ) const [inline]
iterator MWWorld::Store< ESM::Cell >::extEnd ( ) const [inline]
const ESM::Cell* MWWorld::Store< ESM::Cell >::find ( const std::string &  id) const [inline]
const ESM::Cell* MWWorld::Store< ESM::Cell >::find ( int  x,
int  y 
) const [inline]
size_t MWWorld::Store< ESM::Cell >::getSize ( ) const [inline, virtual]

Implements MWWorld::StoreBase.

ESM::Cell* MWWorld::Store< ESM::Cell >::insert ( const ESM::Cell &  cell) [inline]
iterator MWWorld::Store< ESM::Cell >::intBegin ( ) const [inline]
iterator MWWorld::Store< ESM::Cell >::intEnd ( ) const [inline]
void MWWorld::Store< ESM::Cell >::listIdentifier ( std::vector< std::string > &  list) const [inline, virtual]

Reimplemented from MWWorld::StoreBase.

void MWWorld::Store< ESM::Cell >::load ( ESM::ESMReader &  esm,
const std::string &  id 
) [virtual]

Implements MWWorld::StoreBase.

const ESM::Cell* MWWorld::Store< ESM::Cell >::search ( const ESM::Cell &  cell) const [inline, private]
const ESM::Cell* MWWorld::Store< ESM::Cell >::search ( const std::string &  id) const [inline]
const ESM::Cell* MWWorld::Store< ESM::Cell >::search ( int  x,
int  y 
) const [inline]
const ESM::Cell* MWWorld::Store< ESM::Cell >::searchExtByName ( const std::string &  id) const [inline]
const ESM::Cell* MWWorld::Store< ESM::Cell >::searchExtByRegion ( const std::string &  id) const [inline]
const ESM::Cell* MWWorld::Store< ESM::Cell >::searchOrCreate ( int  x,
int  y 
) [inline]
void MWWorld::Store< ESM::Cell >::setUp ( ) [inline, virtual]

Reimplemented from MWWorld::StoreBase.


Member Data Documentation

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: