LangImpl Class Reference

#include <LangImpl.h>

Inheritance diagram for LangImpl:

Lang

List of all members.

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_


Detailed Description

Definition at line 28 of file LangImpl.h.


Constructor & Destructor Documentation

LangImpl::LangImpl (  ) 

Definition at line 29 of file LangImpl.cpp.

References init(), and langMutex.


Member Function Documentation

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]

Implements Lang.

Definition at line 51 of file LangImpl.cpp.

References LANG_STRING.

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().


Member Data Documentation

std::vector<ResourceBundle *> LangImpl::bundles_ [protected]

Definition at line 43 of file LangImpl.h.

Referenced by getEntry(), and init().

ResourceBundle LangImpl::undefinedBundle_ [protected]

Definition at line 44 of file LangImpl.h.

Referenced by getEntry(), init(), and saveUndefined().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:03 2009 for Scorched3D by  doxygen 1.5.3