From d10ed783fa2348e01a3d5e273db6bd120ba72a59 Mon Sep 17 00:00:00 2001 From: Brad Arant Date: Thu, 13 Jun 2024 07:06:29 -0700 Subject: [PATCH] just built KeywordValue core object. Not functional yet. --- KeywordValue.cpp | 14 ++++++++++++++ KeywordValue.h | 21 +++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 KeywordValue.cpp create mode 100644 KeywordValue.h diff --git a/KeywordValue.cpp b/KeywordValue.cpp new file mode 100644 index 0000000..0ef32ae --- /dev/null +++ b/KeywordValue.cpp @@ -0,0 +1,14 @@ +#include "KeywordValue.h" +#include + +namespace jet { + + KeywordValue::KeywordValue(coreutils::ZString &data) { + + } + + KeywordValue::~KeywordValue() { + std::cout << "KeywordValue destruction: " << getLength() << std::endl; + } + +} diff --git a/KeywordValue.h b/KeywordValue.h new file mode 100644 index 0000000..343278f --- /dev/null +++ b/KeywordValue.h @@ -0,0 +1,21 @@ +#ifndef __KeywordValue_h__ +#define __KeywordValue_h__ + +#include "MString.h" + +namespace jet { + + /// + /// KeywordValue will read the data ZString until a double quote (") is reached. + /// + + class KeywordValue : public coreutils::MString { + + public: + KeywordValue(coreutils::ZString &data); + virtual ~KeywordValue(); + }; + +} + +#endif