summaryrefslogtreecommitdiff
path: root/cpp/include
diff options
context:
space:
mode:
authorJonathan Robie <jonathan@apache.org>2010-10-29 17:26:05 +0000
committerJonathan Robie <jonathan@apache.org>2010-10-29 17:26:05 +0000
commit35e0d495a6b5a00f6ce8476476a06e0527164617 (patch)
tree930484ef4e02e68d7d8dd79008ee6a09d11b9de5 /cpp/include
parent88d0fc0f70daab03c9302ffa5af30d551372dac2 (diff)
downloadqpid-python-35e0d495a6b5a00f6ce8476476a06e0527164617.tar.gz
Corrects AddressParser to use typed simple values.
Adds Variant::fromString(). Resolves QPID-2896 and QPID-2908. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028860 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include')
-rw-r--r--cpp/include/qpid/types/Variant.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/include/qpid/types/Variant.h b/cpp/include/qpid/types/Variant.h
index 3ed1db4452..2b692f9bdf 100644
--- a/cpp/include/qpid/types/Variant.h
+++ b/cpp/include/qpid/types/Variant.h
@@ -113,6 +113,8 @@ class Variant
QPID_TYPES_EXTERN Variant& operator=(const Variant&);
QPID_TYPES_EXTERN Variant& operator=(const Uuid&);
+ QPID_TYPES_EXTERN Variant& fromString(const std::string&);
+
QPID_TYPES_EXTERN bool asBool() const;
QPID_TYPES_EXTERN uint8_t asUint8() const;
QPID_TYPES_EXTERN uint16_t asUint16() const;