#include <LangImpl.h>

Public Member Functions | |
| LangImpl () | |
| virtual void | saveUndefined () |
| virtual ResourceBundleEntry * | getEntry (const std::string &key, const std::string &value) |
| virtual ResourceBundleEntry * | getEntry (const std::string &key, const LangString &value) |
Protected Member Functions | |
| void | init () |
Protected Attributes | |
| std::vector < ResourceBundle * > | bundles_ |
| ResourceBundle | undefinedBundle_ |
Definition at line 28 of file LangImpl.h.
| LangImpl::LangImpl | ( | ) |
| void LangImpl::saveUndefined | ( | ) | [virtual] |
Implements Lang.
Definition at line 46 of file LangImpl.cpp.
References S3D::getDataFile(), undefinedBundle_, and ResourceBundle::writeToFile().
| ResourceBundleEntry * LangImpl::getEntry | ( | const std::string & | key, | |
| const std::string & | value | |||
| ) | [virtual] |
| ResourceBundleEntry * LangImpl::getEntry | ( | const std::string & | key, | |
| const LangString & | value | |||
| ) | [virtual] |
Implements Lang.
Definition at line 57 of file LangImpl.cpp.
References ResourceBundle::addEntry(), bundles_, ResourceBundle::getEntry(), langMutex, and undefinedBundle_.
| void LangImpl::init | ( | ) | [protected] |
Definition at line 35 of file LangImpl.cpp.
References bundles_, S3D::getDataFile(), langMutex, ResourceBundle::loadFromFile(), and undefinedBundle_.
Referenced by LangImpl().
std::vector<ResourceBundle *> LangImpl::bundles_ [protected] |
ResourceBundle LangImpl::undefinedBundle_ [protected] |
1.5.3