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

#include <globals.hpp>

Collaboration diagram for MWWorld::Globals:

Public Member Functions

const ESM::Variantoperator[] (const std::string &name) const
 
ESM::Variantoperator[] (const std::string &name)
 
char getType (const std::string &name) const
 If there is no global variable with this name, ' ' is returned. More...
 
void fill (const MWWorld::ESMStore &store)
 Replace variables with variables from store with default values. More...
 
int countSavedGameRecords () const
 
void write (ESM::ESMWriter &writer, Loading::Listener &progress) const
 
bool readRecord (ESM::ESMReader &reader, uint32_t type)
 

Private Types

typedef std::map< std::string,
ESM::Global
Collection
 

Private Member Functions

Collection::const_iterator find (const std::string &name) const
 
Collection::iterator find (const std::string &name)
 

Private Attributes

Collection mVariables
 

Member Typedef Documentation

typedef std::map<std::string, ESM::Global> MWWorld::Globals::Collection
private

Member Function Documentation

int MWWorld::Globals::countSavedGameRecords ( ) const

Here is the caller graph for this function:

void MWWorld::Globals::fill ( const MWWorld::ESMStore store)

Replace variables with variables from store with default values.

Here is the call graph for this function:

Here is the caller graph for this function:

Globals::Collection::const_iterator MWWorld::Globals::find ( const std::string &  name) const
private

Here is the call graph for this function:

Here is the caller graph for this function:

Globals::Collection::iterator MWWorld::Globals::find ( const std::string &  name)
private

Here is the call graph for this function:

char MWWorld::Globals::getType ( const std::string &  name) const

If there is no global variable with this name, ' ' is returned.

Here is the call graph for this function:

Here is the caller graph for this function:

const ESM::Variant & MWWorld::Globals::operator[] ( const std::string &  name) const

Here is the call graph for this function:

ESM::Variant & MWWorld::Globals::operator[] ( const std::string &  name)

Here is the call graph for this function:

bool MWWorld::Globals::readRecord ( ESM::ESMReader reader,
uint32_t  type 
)

Records for variables that do not exist are dropped silently.

Returns
Known type?

Here is the call graph for this function:

Here is the caller graph for this function:

void MWWorld::Globals::write ( ESM::ESMWriter writer,
Loading::Listener progress 
) const

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

Collection MWWorld::Globals::mVariables
private

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