OpenMW
Public Types | Public Member Functions | Private Attributes
MWWorld::ESMStore Class Reference

#include <esmstore.hpp>

List of all members.

Public Types

typedef std::map< int,
StoreBase * >::const_iterator 
iterator

Public Member Functions

iterator begin () const
iterator end () const
int find (const std::string &id) const
 ESMStore ()
void clearDynamic ()
void movePlayerRecord ()
void load (ESM::ESMReader &esm, Loading::Listener *listener)
template<class T >
const Store< T > & get () const
template<class T >
const T * insert (const T &x)
template<class T >
const T * insertStatic (const T &x)
void setUp ()

Private Attributes

Store< ESM::Activator > mActivators
Store< ESM::Potion > mPotions
Store< ESM::Apparatus > mAppas
Store< ESM::Armor > mArmors
Store< ESM::BodyPart > mBodyParts
Store< ESM::Book > mBooks
Store< ESM::BirthSign > mBirthSigns
Store< ESM::Class > mClasses
Store< ESM::Clothing > mClothes
Store< ESM::LoadCNTC > mContChange
Store< ESM::Container > mContainers
Store< ESM::Creature > mCreatures
Store< ESM::LoadCREC > mCreaChange
Store< ESM::Dialogue > mDialogs
Store< ESM::Door > mDoors
Store< ESM::Enchantment > mEnchants
Store< ESM::Faction > mFactions
Store< ESM::Global > mGlobals
Store< ESM::Ingredient > mIngreds
Store< ESM::CreatureLevList > mCreatureLists
Store< ESM::ItemLevList > mItemLists
Store< ESM::Light > mLights
Store< ESM::Lockpick > mLockpicks
Store< ESM::Miscellaneous > mMiscItems
Store< ESM::NPC > mNpcs
Store< ESM::LoadNPCC > mNpcChange
Store< ESM::Probe > mProbes
Store< ESM::Race > mRaces
Store< ESM::Region > mRegions
Store< ESM::Repair > mRepairs
Store< ESM::SoundGenerator > mSoundGens
Store< ESM::Sound > mSounds
Store< ESM::Spell > mSpells
Store< ESM::StartScript > mStartScripts
Store< ESM::Static > mStatics
Store< ESM::Weapon > mWeapons
Store< ESM::GameSetting > mGameSettings
Store< ESM::Script > mScripts
Store< ESM::Cell > mCells
Store< ESM::Land > mLands
Store< ESM::LandTexture > mLandTextures
Store< ESM::Pathgrid > mPathgrids
Store< ESM::MagicEffect > mMagicEffects
Store< ESM::Skill > mSkills
Store< ESM::Attribute > mAttributes
std::map< std::string, int > mIds
std::map< int, StoreBase * > mStores
ESM::NPC mPlayerTemplate
unsigned int mDynamicCount

Member Typedef Documentation

typedef std::map<int, StoreBase *>::const_iterator MWWorld::ESMStore::iterator
Todo:
replace with SharedIterator<StoreBase>

Constructor & Destructor Documentation


Member Function Documentation

iterator MWWorld::ESMStore::begin ( ) const [inline]
iterator MWWorld::ESMStore::end ( ) const [inline]
int MWWorld::ESMStore::find ( const std::string &  id) const [inline]
template<class T >
const Store<T>& MWWorld::ESMStore::get ( ) const [inline]
template<class T >
const T* MWWorld::ESMStore::insert ( const T &  x) [inline]
template<class T >
const T* MWWorld::ESMStore::insertStatic ( const T &  x) [inline]
void MWWorld::ESMStore::load ( ESM::ESMReader &  esm,
Loading::Listener *  listener 
)
Todo:
Move this to somewhere else. ESMReader?

Member Data Documentation

unsigned int MWWorld::ESMStore::mDynamicCount [private]
std::map<std::string, int> MWWorld::ESMStore::mIds [private]
std::map<int, StoreBase *> MWWorld::ESMStore::mStores [private]

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