OpenMW
Public Member Functions | Private Types | Private Member Functions | Private Attributes
Translation::Storage Class Reference

#include <translation.hpp>

List of all members.

Public Member Functions

void loadTranslationData (const Files::Collections &dataFileCollections, const std::string &esmFileName)
std::string translateCellName (const std::string &cellName) const
std::string topicID (const std::string &phrase) const
std::string topicStandardForm (const std::string &phrase) const
void setEncoder (ToUTF8::Utf8Encoder *encoder)
bool hasTranslation () const

Private Types

typedef std::map< std::string,
std::string > 
ContainerType

Private Member Functions

void loadData (ContainerType &container, const std::string &fileNameNoExtension, const std::string &extension, const Files::Collections &dataFileCollections)
void loadDataFromStream (ContainerType &container, std::istream &stream)

Private Attributes

ToUTF8::Utf8EncodermEncoder
ContainerType mCellNamesTranslations
ContainerType mTopicIDs
ContainerType mPhraseForms

Member Typedef Documentation

typedef std::map<std::string, std::string> Translation::Storage::ContainerType [private]

Member Function Documentation

void Translation::Storage::loadData ( ContainerType container,
const std::string &  fileNameNoExtension,
const std::string &  extension,
const Files::Collections dataFileCollections 
) [private]
void Translation::Storage::loadDataFromStream ( ContainerType container,
std::istream &  stream 
) [private]
void Translation::Storage::loadTranslationData ( const Files::Collections dataFileCollections,
const std::string &  esmFileName 
)
std::string Translation::Storage::topicID ( const std::string &  phrase) const
std::string Translation::Storage::topicStandardForm ( const std::string &  phrase) const
std::string Translation::Storage::translateCellName ( const std::string &  cellName) const

Member Data Documentation


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