jstring changes

This commit is contained in:
Brad Arant committed 2023-03-08 13:54:42 -08:00
1 parent 8f8c14d7b2
commit f39bdc98f6
9 files changed
+92 -19

No files matched your search

+11 -3
View File
@@ -105,8 +105,8 @@ namespace coreutils {
bool operator>(const ZString &valuex) const;
bool operator==(const ZString &valuex);
bool operator==(std::string value);
bool operator==(const char *valuex) const;
// bool operator==(std::string value);
// bool operator==(const char *valuex) const;
bool operator!=(const ZString &valuex) const;
bool operator!=(const char *valuex) const;
@@ -207,6 +207,14 @@ namespace coreutils {
ZString getTokenExclude(std::string exclude);
///
/// If the cursor is over a container character then a call to this method
/// will return the contents of the container. The cursor will remain at
/// the position following the container.
///
ZString getContainer();
///
/// Use the [] operator to retrieve values delimited by the split method.
///
@@ -358,9 +366,9 @@ namespace coreutils {
char *cursor;
size_t length;
char *cdata = NULL;
std::vector<ZString> list;
private:
std::vector<ZString> list;
std::stack<char *> stack;
bool isCharacter(char ch, const char *string);