summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/framing/FieldValue.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/framing/FieldValue.h')
-rw-r--r--cpp/src/qpid/framing/FieldValue.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/qpid/framing/FieldValue.h b/cpp/src/qpid/framing/FieldValue.h
index 3ec95a99e1..272670d102 100644
--- a/cpp/src/qpid/framing/FieldValue.h
+++ b/cpp/src/qpid/framing/FieldValue.h
@@ -79,6 +79,7 @@ class FieldValue {
FieldValue(): data(0) {};
// Default assignment operator is fine
void setType(uint8_t type);
+ uint8_t getType();
Data& getData() { return *data; }
uint32_t size() const { return 1 + data->size(); };
bool empty() const { return data.get() == 0; }
@@ -206,6 +207,11 @@ class StringValue : public FieldValue {
StringValue(const std::string& v);
};
+class Str16Value : public FieldValue {
+ public:
+ Str16Value(const std::string& v);
+};
+
/*
* Basic integer value encodes as signed 32 bit
*/