Its working!!!
This commit is contained in:
1 parent
a3ba545c59
commit
1632a41b3e
5 files changed
+67
-59
No files matched your search
@@ -28,15 +28,9 @@ namespace coreutils {
|
||||
///
|
||||
/// Consructor providing an empty ZString..
|
||||
///
|
||||
|
||||
|
||||
ZString();
|
||||
|
||||
///
|
||||
/// Copy constructor.
|
||||
///
|
||||
|
||||
ZString(const ZString&);
|
||||
|
||||
///
|
||||
///
|
||||
///
|
||||
@@ -49,11 +43,13 @@ namespace coreutils {
|
||||
|
||||
ZString(char *data, size_t length);
|
||||
|
||||
ZString(const char *data, size_t length);
|
||||
|
||||
///
|
||||
/// Consructor providing a copy of a ZString.
|
||||
///
|
||||
|
||||
ZString(ZString &zstring);
|
||||
ZString(const ZString &zstring);
|
||||
|
||||
///
|
||||
/// A friend method used to write the value of the ZString from the cursor
|
||||
@@ -96,13 +92,13 @@ namespace coreutils {
|
||||
///
|
||||
///
|
||||
|
||||
std::vector<ZString> split(ZString delimiter, size_t maxSize = 0);
|
||||
std::vector<ZString> &split(ZString &delimiter, size_t maxSize = 0);
|
||||
|
||||
///
|
||||
///
|
||||
///
|
||||
|
||||
std::vector<ZString> split(std::string &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
|
||||
@@ -110,19 +106,21 @@ namespace coreutils {
|
||||
/// include string is not encountered in the ZString data.
|
||||
///
|
||||
|
||||
ZString getTokenInclude(char *include);
|
||||
ZString getTokenInclude(const char *include);
|
||||
|
||||
///
|
||||
///
|
||||
///
|
||||
|
||||
ZString getTokenExclude(char *exclude);
|
||||
ZString getTokenExclude(const char *exclude);
|
||||
|
||||
ZString getTokenExclude(std::string exclude);
|
||||
|
||||
///
|
||||
/// Use the [] operator to retrieve values delimited by the split method.
|
||||
///
|
||||
|
||||
ZString operator[](int index);
|
||||
ZString &operator[](int index);
|
||||
|
||||
///
|
||||
/// Return true if the ZString cursor is at the end of the data.
|
||||
@@ -140,13 +138,13 @@ namespace coreutils {
|
||||
///
|
||||
///
|
||||
|
||||
bool equals(ZString zstring);
|
||||
bool equals(ZString &zstring);
|
||||
|
||||
///
|
||||
///
|
||||
///
|
||||
|
||||
bool equals(std::string string);
|
||||
bool equals(std::string &string);
|
||||
|
||||
///
|
||||
/// Advance the cursor the length of the provided value if the value at
|
||||
|
||||
Reference in new issue
Block a user