diff options
Diffstat (limited to 'tree/src/cData.h')
-rw-r--r-- | tree/src/cData.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tree/src/cData.h b/tree/src/cData.h index 14c916a..a1e80f2 100644 --- a/tree/src/cData.h +++ b/tree/src/cData.h @@ -18,7 +18,7 @@ using namespace std; class cData{ public: - cData(string _data); + cData(string _data, bool _empty = false); /* * Initializes cData with _data as saved Information */ @@ -34,6 +34,8 @@ public: * clones current cData instance */ + bool isEmpty(); + //Define operators bool operator<(cData); bool operator>(cData); @@ -43,6 +45,7 @@ public: bool operator==(string); private: + bool empty; string sData; }; |