summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/framing/FieldTable.h
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2008-10-13 21:24:40 +0000
committerAndrew Stitcher <astitcher@apache.org>2008-10-13 21:24:40 +0000
commit76dc7ca3e92919d83932e66906425067652e76f5 (patch)
tree3ad2af5d89e4df8af3c3eea74226c3c73ce80c63 /cpp/src/qpid/framing/FieldTable.h
parent037882cebf617cd18b5aa372fc22f50e692df2c6 (diff)
downloadqpid-python-76dc7ca3e92919d83932e66906425067652e76f5.tar.gz
Field Table API: changed the getInt() & getString() operations
which are inconsistent with all the other getXXX() functions to getAsString()/getAsInt() to better indicate their real function. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@704255 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/framing/FieldTable.h')
-rw-r--r--cpp/src/qpid/framing/FieldTable.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/cpp/src/qpid/framing/FieldTable.h b/cpp/src/qpid/framing/FieldTable.h
index f4f130743b..66103448a7 100644
--- a/cpp/src/qpid/framing/FieldTable.h
+++ b/cpp/src/qpid/framing/FieldTable.h
@@ -72,16 +72,17 @@ class FieldTable
void setDouble(const std::string& name, double 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;
+ int getAsInt(const std::string& name) const;
uint64_t getAsUInt64(const std::string& name) const;
int64_t getAsInt64(const std::string& name) const;
+ std::string getAsString(const std::string& name) const;
+
bool getTable(const std::string& name, FieldTable& value) const;
bool getArray(const std::string& name, Array& value) const;
bool getFloat(const std::string& name, float& value) const;
bool getDouble(const std::string& name, double& value) const;
-// void getDecimal(string& name, xxx& value);
+ //bool getTimestamp(const std::string& name, uint64_t& value) const;
+ //bool getDecimal(string& name, xxx& value);
void erase(const std::string& name);