ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Wintermute::BaseStringTable Class Reference

#include <base_string_table.h>

Inheritance diagram for Wintermute::BaseStringTable:
Collaboration diagram for Wintermute::BaseStringTable:

List of all members.

Public Member Functions

bool loadFile (const char *filename, bool deleteAll=true)
void expand (char **str) const
void expand (Common::String &str) const
const char * expandStatic (const char *string) const
bool addString (const char *key, const char *val, bool reportDuplicities=true)
 BaseStringTable (BaseGame *inGame)
 ~BaseStringTable () override
char * getKey (const char *str) const
bool persist (BasePersistenceManager *persistMgr) override

Private Types

typedef Common::HashMap
< Common::String,
Common::String >
::const_iterator 
StringsIter

Private Attributes

Common::HashMap
< Common::String,
Common::String
_strings
Common::Array< Common::String_filenames

Detailed Description

Definition at line 40 of file base_string_table.h.


Member Typedef Documentation

Definition at line 54 of file base_string_table.h.


Constructor & Destructor Documentation

Wintermute::BaseStringTable::BaseStringTable ( BaseGame inGame  ) 

Definition at line 39 of file base_string_table.cpp.

Wintermute::BaseStringTable::~BaseStringTable (  )  [override]

Definition at line 45 of file base_string_table.cpp.


Member Function Documentation

bool Wintermute::BaseStringTable::addString ( const char *  key,
const char *  val,
bool  reportDuplicities = true 
)

Definition at line 53 of file base_string_table.cpp.

void Wintermute::BaseStringTable::expand ( char **  str  )  const

Definition at line 113 of file base_string_table.cpp.

void Wintermute::BaseStringTable::expand ( Common::String str  )  const

Definition at line 151 of file base_string_table.cpp.

const char * Wintermute::BaseStringTable::expandStatic ( const char *  string  )  const

Definition at line 161 of file base_string_table.cpp.

char * Wintermute::BaseStringTable::getKey ( const char *  str  )  const

Definition at line 77 of file base_string_table.cpp.

bool Wintermute::BaseStringTable::loadFile ( const char *  filename,
bool  deleteAll = true 
)

Definition at line 197 of file base_string_table.cpp.

bool Wintermute::BaseStringTable::persist ( BasePersistenceManager persistMgr  )  [override, virtual]

Reimplemented from Wintermute::BaseClass.

Definition at line 267 of file base_string_table.cpp.


Member Data Documentation


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


Generated on Sat Sep 19 2020 05:06:28 for ResidualVM by doxygen 1.7.1
curved edge   curved edge