diff options
| author | Carl C. Trieloff <cctrieloff@apache.org> | 2008-11-06 16:00:22 +0000 |
|---|---|---|
| committer | Carl C. Trieloff <cctrieloff@apache.org> | 2008-11-06 16:00:22 +0000 |
| commit | e210a6d2d45f260fe9a711fc5266b749e6d045a5 (patch) | |
| tree | 741a692a9969594fc3f339a7102bd7563207fc78 /cpp/src/qpid/framing/FieldTable.h | |
| parent | 2e987bf2b0c3f9318b28c79186a35f338c90ee6c (diff) | |
| download | qpid-python-e210a6d2d45f260fe9a711fc5266b749e6d045a5.tar.gz | |
Non fucntional changes
- move sequence count to args, so only store if set
- correct const-ness in fieldtable
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711884 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/framing/FieldTable.h')
| -rw-r--r-- | cpp/src/qpid/framing/FieldTable.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/src/qpid/framing/FieldTable.h b/cpp/src/qpid/framing/FieldTable.h index 66103448a7..600ee5356d 100644 --- a/cpp/src/qpid/framing/FieldTable.h +++ b/cpp/src/qpid/framing/FieldTable.h @@ -62,14 +62,14 @@ class FieldTable 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); - void setInt64(const std::string& name, int64_t value); - void setTimestamp(const std::string& name, uint64_t value); - void setUInt64(const std::string& name, uint64_t value); + void setInt(const std::string& name, const int value); + void setInt64(const std::string& name, const int64_t value); + void setTimestamp(const std::string& name, const uint64_t value); + void setUInt64(const std::string& name, const uint64_t value); void setTable(const std::string& name, const FieldTable& value); void setArray(const std::string& name, const Array& value); - void setFloat(const std::string& name, float value); - void setDouble(const std::string& name, double value); + void setFloat(const std::string& name, const float value); + void setDouble(const std::string& name, const double value); //void setDecimal(string& name, xxx& value); int getAsInt(const std::string& name) const; |
