diff options
| author | Gordon Sim <gsim@apache.org> | 2008-09-19 12:56:38 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2008-09-19 12:56:38 +0000 |
| commit | 6266b974c0c227d279f4dde0fdbc07defd7b5965 (patch) | |
| tree | fb407d8484cd6e01f0823a39aefce922782420e2 /cpp/src/qpid/framing/FieldTable.h | |
| parent | 85021877a773ca361d90ebfce5d9ff0994d50378 (diff) | |
| download | qpid-python-6266b974c0c227d279f4dde0fdbc07defd7b5965.tar.gz | |
Added support for nested field tables & arrays within a field table.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697076 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/framing/FieldTable.h')
| -rw-r--r-- | cpp/src/qpid/framing/FieldTable.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/qpid/framing/FieldTable.h b/cpp/src/qpid/framing/FieldTable.h index ed27f3fef6..4a0d4da11e 100644 --- a/cpp/src/qpid/framing/FieldTable.h +++ b/cpp/src/qpid/framing/FieldTable.h @@ -34,6 +34,7 @@ namespace qpid { */ namespace framing { +class Array; class FieldValue; class Buffer; @@ -64,12 +65,14 @@ class FieldTable void setInt(const std::string& name, int value); void setTimestamp(const std::string& name, uint64_t value); void setTable(const std::string& name, const FieldTable& value); + void setArray(const std::string& name, const Array& value); //void setDecimal(string& name, xxx& value); std::string getString(const std::string& name) const; int getInt(const std::string& name) const; // uint64_t getTimestamp(const std::string& name) const; -// void getTable(const std::string& name, FieldTable& value) const; + void getTable(const std::string& name, FieldTable& value) const; + void getArray(const std::string& name, Array& value) const; // //void getDecimal(string& name, xxx& value); // //void erase(const std::string& name); |
