Sub strings collection. More...
Sub strings collection.
Public Member Methods | |
SubStrings (const Strings &strings, Int32 indexFirst, Int32 count=SUBSTRINGS_ALL) | |
Constructor. More... | |
Int32 | GetCount () const |
Gets the count. More... | |
PCChar8 | GetString (Int32 index) const |
Gets a string. More... | |
![]() | |
virtual | ~Strings () |
Destructor. More... | |
PCChar8 | operator[] (Int32 index) const |
Array indexer operator. More... | |
void | CheckCount (Int32 expectedValue) const |
Check count. Raise an exception whenever the count mismatch. More... | |
bool | Contains (const PCChar8 text) const |
Query if this string collection contains the given text. More... | |
SubStrings | ( | const Strings & | strings, |
Int32 | indexFirst, | ||
Int32 | count = SUBSTRINGS_ALL |
||
) |
Constructor.
strings | The string collection. |
indexFirst | The index first. |
count | (optional) number of strings. Default = SUBSTRINGS_ALL |