ZenLib::Translation Class Reference

Helper for translation. More...

#include <Translation.h>

List of all members.

Public Member Functions

 Translation ()
 Translation (const Ztring &Source)
 Translation (const Char *Source)
Ztring Get () const
const ZtringGet (const Ztring &Value)
Ztring Get (const Ztring &Count, const Ztring &Value)
void Write (const Ztring &NewLanguage)
void Write (const Ztring &Value, const Ztring &NewLanguage)
void Separator_Set (size_type Level, const Ztring &NewSeparator)
 Set the Separator character.
void Quote_Set (const Ztring &NewQuote)
 Set the Quote character During Read() or Write() method, if Separator is in the sequence, we must quote it.
void Max_Set (size_type Level, size_type Max)
 Set the Maximum number of element to read During Read() or Write() method, if there is more elements, merge them with the last element.

Protected Attributes

Ztring Separator [2]
Ztring Quote
size_type Max [2]


Detailed Description

Helper for translation.

Constructor & Destructor Documentation

ZenLib::Translation::Translation (  ) 

ZenLib::Translation::Translation ( const Ztring Source  ) 

ZenLib::Translation::Translation ( const Char Source  ) 


Member Function Documentation

Ztring ZenLib::Translation::Get (  )  const

const Ztring& ZenLib::Translation::Get ( const Ztring Value  ) 

Ztring ZenLib::Translation::Get ( const Ztring Count,
const Ztring Value 
)

void ZenLib::Translation::Write ( const Ztring NewLanguage  ) 

void ZenLib::Translation::Write ( const Ztring Value,
const Ztring NewLanguage 
)

void ZenLib::Translation::Separator_Set ( size_type  Level,
const Ztring NewSeparator 
)

Set the Separator character.

void ZenLib::Translation::Quote_Set ( const Ztring NewQuote  ) 

Set the Quote character During Read() or Write() method, if Separator is in the sequence, we must quote it.

void ZenLib::Translation::Max_Set ( size_type  Level,
size_type  Max 
)

Set the Maximum number of element to read During Read() or Write() method, if there is more elements, merge them with the last element.


Member Data Documentation

size_type ZenLib::Translation::Max[2] [protected]


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

Generated on Sun Nov 9 17:08:57 2014 for ZenLib by  doxygen 1.5.6