ZenLib
Public Member Functions | Protected Attributes | List of all members
ZenLib::InfoMap Class Reference

Helper for InfoMap. More...

#include <InfoMap.h>

Public Member Functions

 InfoMap ()
 InfoMap (const Ztring &Source)
 InfoMap (const Char *Source)
const ZtringGet (const Ztring &Value, size_t Pos) const
const ZtringGet (const Ztring &Value, size_t Pos, const Ztring &WithValue, size_t WithValue_Pos) const
void Write (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 InfoMap.

Constructor & Destructor Documentation

ZenLib::InfoMap::InfoMap ( )
ZenLib::InfoMap::InfoMap ( const Ztring Source)
ZenLib::InfoMap::InfoMap ( const Char Source)

Member Function Documentation

const Ztring& ZenLib::InfoMap::Get ( const Ztring Value,
size_t  Pos 
) const
const Ztring& ZenLib::InfoMap::Get ( const Ztring Value,
size_t  Pos,
const Ztring WithValue,
size_t  WithValue_Pos 
) const
void ZenLib::InfoMap::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.

void ZenLib::InfoMap::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::InfoMap::Separator_Set ( size_type  Level,
const Ztring NewSeparator 
)

Set the Separator character.

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

Member Data Documentation

size_type ZenLib::InfoMap::Max[2]
protected
Ztring ZenLib::InfoMap::Quote
protected
Ztring ZenLib::InfoMap::Separator[2]
protected

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