ZenLib
ZenLib::InfoMap Class Reference

Helper for InfoMap. More...

#include <InfoMap.h>

Inheritance diagram for ZenLib::InfoMap:

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

◆ InfoMap() [1/3]

ZenLib::InfoMap::InfoMap ( )

◆ InfoMap() [2/3]

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

◆ InfoMap() [3/3]

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

Member Function Documentation

◆ Get() [1/2]

const Ztring & ZenLib::InfoMap::Get ( const Ztring & Value,
size_t Pos ) const

◆ Get() [2/2]

const Ztring & ZenLib::InfoMap::Get ( const Ztring & Value,
size_t Pos,
const Ztring & WithValue,
size_t WithValue_Pos ) const

◆ Max_Set()

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.

References Max.

◆ Quote_Set()

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.

◆ Separator_Set()

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

Set the Separator character.

◆ Write()

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

Member Data Documentation

◆ Max

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

Referenced by Max_Set().

◆ Quote

Ztring ZenLib::InfoMap::Quote
protected

◆ Separator

Ztring ZenLib::InfoMap::Separator[2]
protected

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