14 #ifndef ZenLib_ZtringListH
15 #define ZenLib_ZtringListH
56 void Insert (
const Ztring &ToInsert, size_type Pos0) {insert(begin()+Pos0, ToInsert);}
58 void Delete (size_type Pos0) {erase(begin()+Pos0);}
62 void Swap (size_type Pos0_A, size_type Pos0_B);
80 void Max_Set (size_type Level, size_type Max_New);
char Char
Definition: Conf.h:225
ZtringList & operator+=(const ZtringList &Source)
void Separator_Set(size_type Level, const Ztring &NewSeparator)
Set the Separator character.
bool operator==(const ZtringList &Source) const
Ztring & operator()(size_type Pos)
Same as [], but write a empty string if Pos doesn't exist yet.
bool operator!=(const ZtringList &Source) const
void Max_Set(size_type Level, size_type Max_New)
Set the Maximum number of element to read During Read() or Write() method, if there is more elements...
void Delete(size_type Pos0)
Delete a string at position Pos0.
Definition: ZtringList.h:58
Vector of strings manipulation (based on std::vector<std::(w)string>)
Definition: ZtringList.h:30
Ztring Separator[1]
Definition: ZtringList.h:83
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.
ztring_t
Options for Ztring methods.
Definition: Ztring.h:33
void Swap(size_type Pos0_A, size_type Pos0_B)
Swap 2 positions.
size_type Find(const Ztring &ToFind, size_type PosBegin=0, const Ztring &Comparator=__T("=="), ztring_t Options=Ztring_Nothing) const
Find the position of the string in the vector.
void Write(const Ztring &ToWrite)
Read a string.
void Sort(ztring_t Options=Ztring_Nothing)
Sort.
String manipulation (based on std::(w)string)
Definition: Ztring.h:49
#define __T(__x)
Definition: Conf.h:227
ZtringList & operator=(const ZtringList &Source)
void Insert(const Ztring &ToInsert, size_type Pos0)
Insert a string at position Pos0.
Definition: ZtringList.h:56
size_type MaxStringLength_Get()
Return the length of the longest string in the list.
Ztring Quote
Definition: ZtringList.h:84
size_type Max[1]
Definition: ZtringList.h:85