|
OpenMW
|
#include <store.hpp>
Public Types | |
| typedef SharedIterator< T > | iterator |
Public Member Functions | |
| Store () | |
| Store (const Store< T > &orig) | |
| virtual void | clearDynamic () |
| void | setUp () |
| const T * | search (const std::string &id) const |
| bool | isDynamic (const std::string &id) const |
| const T * | searchRandom (const std::string &id) const |
| const T * | find (const std::string &id) const |
| const T * | findRandom (const std::string &id) const |
| iterator | begin () const |
| iterator | end () const |
| size_t | getSize () const |
| int | getDynamicSize () const |
| void | listIdentifier (std::vector< std::string > &list) const |
| T * | insert (const T &item) |
| T * | insertStatic (const T &item) |
| bool | eraseStatic (const std::string &id) |
| bool | erase (const std::string &id) |
| bool | erase (const T &item) |
| RecordId | load (ESM::ESMReader &esm) |
| void | write (ESM::ESMWriter &writer, Loading::Listener &progress) const |
| RecordId | read (ESM::ESMReader &reader) |
| Read into dynamic storage. More... | |
| template<> | |
| void | setUp () |
| template<> | |
| void | setUp () |
| template<> | |
| RecordId | load (ESM::ESMReader &esm) |
Public Member Functions inherited from MWWorld::StoreBase | |
| virtual | ~StoreBase () |
Private Types | |
| typedef std::map< std::string, T > | Dynamic |
| typedef std::map< std::string, T > | Static |
Private Attributes | |
| std::map< std::string, T > | mStatic |
| std::vector< T * > | mShared |
| std::map< std::string, T > | mDynamic |
Friends | |
| class | ESMStore |
|
private |
| typedef SharedIterator<T> MWWorld::Store< T >::iterator |
|
private |
| MWWorld::Store< T >::Store | ( | ) |
| MWWorld::Store< T >::Store | ( | const Store< T > & | orig | ) |
| Store< T >::iterator MWWorld::Store< T >::begin | ( | ) | const |
|
virtual |
Reimplemented from MWWorld::StoreBase.
| Store< T >::iterator MWWorld::Store< T >::end | ( | ) | const |
| bool MWWorld::Store< T >::erase | ( | const std::string & | id | ) |
| bool MWWorld::Store< T >::erase | ( | const T & | item | ) |
|
virtual |
Reimplemented from MWWorld::StoreBase.
| const T * MWWorld::Store< T >::find | ( | const std::string & | id | ) | const |
| const T * MWWorld::Store< T >::findRandom | ( | const std::string & | id | ) | const |
Returns a random record that starts with the named ID. An exception is thrown if none are found.
|
virtual |
|
virtual |
| T * MWWorld::Store< T >::insert | ( | const T & | item | ) |
| T * MWWorld::Store< T >::insertStatic | ( | const T & | item | ) |
| bool MWWorld::Store< T >::isDynamic | ( | const std::string & | id | ) | const |
Does the record with this ID come from the dynamic store?
|
virtual |
Reimplemented from MWWorld::StoreBase.
|
virtual |
Implements MWWorld::StoreBase.
|
inlinevirtual |
|
virtual |
Read into dynamic storage.
Reimplemented from MWWorld::StoreBase.
| const T * MWWorld::Store< T >::search | ( | const std::string & | id | ) | const |
| const T * MWWorld::Store< T >::searchRandom | ( | const std::string & | id | ) | const |
Returns a random record that starts with the named ID, or NULL if not found.
|
virtual |
|
virtual |
|
virtual |
Reimplemented from MWWorld::StoreBase.
|
virtual |
Reimplemented from MWWorld::StoreBase.
|
friend |
|
private |
|
private |
|
private |
1.8.6