ZString modifications.

This commit is contained in:
barant committed 2021-07-31 11:15:07 -07:00
1 parent ff2c2b7432
commit 78cb2fdd10
2 files changed
+38 -5

No files matched your search

+16 -1
View File
@@ -61,7 +61,10 @@ namespace coreutils {
///
friend std::ostream& operator<<(std::ostream& os, const ZString& zstring);
friend std::ostream& operator<<(std::ostream& os, const std::string& string);
friend std::ostream& operator+(std::ostream& os, const ZString& zstring);
///
/// Return a vector of ZString objects which contain the parts established
/// by using the split method and passing a delimiter value.
@@ -95,6 +98,12 @@ namespace coreutils {
std::vector<ZString> split(ZString delimiter, size_t maxSize = 0);
///
///
///
std::vector<ZString> split(std::string &delimiter, size_t maxSize = 0);
///
/// Use getTokenInclude with a list of character to allow the forwarding
/// of the cursor through the data until a character that is not in the
@@ -133,6 +142,12 @@ namespace coreutils {
bool equals(ZString zstring);
///
///
///
bool equals(std::string string);
///
/// Advance the cursor the length of the provided value if the value at
/// the cursor position is equal to the value provided.