Added ZString.c_str() function; Added MStrin operator=.

This commit is contained in:
Brad Arant committed 2022-07-16 21:33:55 -07:00
1 parent 2a4fc0ad6f
commit 287933f9ce
7 files changed
+60 -5

No files matched your search

+13
View File
@@ -67,6 +67,12 @@ namespace coreutils {
ZString(std::string string);
///
/// Destructor for the ZString.
///
~ZString();
///
/// A friend method used to write the value of the ZString from the cursor
/// point to an ostream using the << syntax.
@@ -131,6 +137,12 @@ namespace coreutils {
///
///
char* c_str();
///
///
///
std::vector<ZString> &split(ZString &delimiter, size_t maxSize = 0);
///
@@ -293,6 +305,7 @@ namespace coreutils {
char *data;
char *cursor;
size_t length;
char *cdata = NULL;
private:
std::vector<ZString> list;