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

+17 -1
View File
@@ -7,7 +7,9 @@ namespace coreutils {
///
/// Use the MString object when you need a permanent backing store on the heap
/// for a ZString style functionality.
/// for a ZString style functionality. Because MString has a backing store we
/// added functionalities to build strings as well as the parsing power of the
/// ZString.
///
class MString : public ZString {
@@ -48,8 +50,22 @@ namespace coreutils {
~MString();
///
/// Assignment operator will copy data to backing store.
///
MString& operator=(coreutils::ZString& data);
///
///
///
int write(char ch);
///
///
///
int write(ZString &value);
private: