Go to the documentation of this file.
14 #ifndef ZenLib_ZtringListListH
15 #define ZenLib_ZtringListListH
60 const Ztring &
Read (size_type Pos0, size_type Pos1)
const;
64 const Ztring &
Read (
const Ztring &Pos0, size_type Pos0_1, size_type Pos1)
const;
77 void Write (
const Ztring &ToWrite, size_type Pos0, size_type Pos1);
85 void Insert (
const ZtringList &ToInsert, size_type Pos0) {insert(begin()+Pos0, ToInsert);}
89 void Delete (size_type Pos0) {erase(begin()+Pos0);}
97 void Swap (size_type Pos0_A, size_type Pos0_B);
99 void Swap1 (size_type Pos1_A, size_type Pos1_B);
105 size_type
Find (
const Ztring &ToFind, size_type Pos1=0, size_type Pos0Begin=0)
const;
107 size_type
Find_Filled (size_type Pos1=0, size_type Pos0Begin=0)
const;
123 void Max_Set (size_type Level, size_type
Max);
void Delete1(size_type Pos1)
Delete a string at all positions Pos1.
ZtringList & operator()(size_type Pos0)
Same as [], but write a empty string if Pos doesn't exist yet.
void Insert(const ZtringList &ToInsert, size_type Pos0)
Insert a vector of string at position Pos0.
Definition: ZtringListList.h:85
void push_back(const Char *ToAdd)
Add a vector of string (Char version)
Definition: ZtringListList.h:83
size_type Find(const Ztring &ToFind, size_type Pos1=0, size_type Pos0Begin=0) const
Find the first position of the string in the vector of vector, in a specific column.
size_type Find_Filled(size_type Pos1=0, size_type Pos0Begin=0) const
Find the first position of the string in the vector of vector, in a specific column,...
Ztring Separator[2]
Definition: ZtringListList.h:126
ZtringListList & operator+=(const ZtringListList &Source)
ZtringListList SubSheet(const Ztring &ToFind, size_type Pos1=0, size_type Pos0Begin=0, const Ztring &Comparator=__T("=="), ztring_t Options=Ztring_Nothing) const
Return a subsheet, with all lines with position of the string in the vector of vector,...
void Separator_Set(size_type Level, const Ztring &NewSeparator)
Set the Separator character.
bool operator!=(const ZtringListList &Source) const
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,...
Ztring Read1(size_type Pos1) const
Read all strings at position Pos1.
Vector of vectors of strings manipulation (based on std::vector<std::vector<std::(w)string>>)
Definition: ZtringListList.h:29
void Write(const Ztring &ToWrite)
Write all.
String manipulation (based on std::(w)string)
Definition: Ztring.h:49
void Quote_Set(const Ztring &NewQuote)
Set the Quote character During Read() or Write() method, if Separator is in the sequence,...
char Char
Definition: Conf.h:244
ztring_t
Options for Ztring methods.
Definition: Ztring.h:33
#define __T(__x)
Definition: Conf.h:246
void Delete(size_type Pos0)
Delete a vector of string at position Pos0.
Definition: ZtringListList.h:89
void Swap(size_type Pos0_A, size_type Pos0_B)
Swap 2 positions.
size_type Max[2]
Definition: ZtringListList.h:128
Definition: BitStream.h:23
void Sort(size_type Pos1, ztring_t Options=Ztring_Nothing)
Sort.
@ Ztring_Nothing
Definition: Ztring.h:35
Ztring FindValue(const Ztring &ToFind, size_type Pos1Value=1, size_type Pos1=0, size_type Pos0Begin=0, const Ztring &Comparator=__T("=="), ztring_t Options=Ztring_Nothing) const
Return [xxx][Pos1Value] when founded the first position of the string in the vector of vector,...
void Swap1(size_type Pos1_A, size_type Pos1_B)
Swap 2 columns for each line.
void Insert1(const Ztring &ToInsert, size_type Pos1)
Insert a string at all positions Pos1.
ZtringListList & operator=(const ZtringListList &Source)
bool operator==(const ZtringListList &Source) const
Ztring Quote
Definition: ZtringListList.h:127
Vector of strings manipulation (based on std::vector<std::(w)string>)
Definition: ZtringList.h:30
void push_back(const ZtringList &ToAdd)
Add a vector of string.
Ztring Read() const
Read all.