diff options
| author | Ted Ross <tross@apache.org> | 2008-09-03 18:01:44 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2008-09-03 18:01:44 +0000 |
| commit | 13191e7951b29453c75db8384391d26f0402139d (patch) | |
| tree | b3ca5bd5f9c8523924cf9d1a0fe118099bef9894 /cpp/src/qpid/framing | |
| parent | b8cf7ea1034fa6216183f03022c83efdb154f3ee (diff) | |
| download | qpid-python-13191e7951b29453c75db8384391d26f0402139d.tar.gz | |
QPID-1174 Updates to the management framework
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@691700 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/framing')
| -rw-r--r-- | cpp/src/qpid/framing/FieldTable.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/framing/FieldTable.h b/cpp/src/qpid/framing/FieldTable.h index 3c65d31aee..ed27f3fef6 100644 --- a/cpp/src/qpid/framing/FieldTable.h +++ b/cpp/src/qpid/framing/FieldTable.h @@ -58,6 +58,7 @@ class FieldTable int count() const; void set(const std::string& name, const ValuePtr& value); ValuePtr get(const std::string& name) const; + bool isSet(const std::string& name) const { return get(name).get() != 0; } void setString(const std::string& name, const std::string& value); void setInt(const std::string& name, int value); |
