summaryrefslogtreecommitdiff
path: root/cpp/include/qpid/messaging/Variant.h
diff options
context:
space:
mode:
authorStephen D. Huston <shuston@apache.org>2009-08-31 22:43:29 +0000
committerStephen D. Huston <shuston@apache.org>2009-08-31 22:43:29 +0000
commit447c941935ae75a91093e5b49f05a40cc188ab60 (patch)
treee1693ff473d1a9e355df8e4b679107ca52354618 /cpp/include/qpid/messaging/Variant.h
parent13b692aac42bc0e896a31c176daf79920a82ea5e (diff)
downloadqpid-python-447c941935ae75a91093e5b49f05a40cc188ab60.tar.gz
Changes to make messaging API build on Windows: Prepend VAR_ to Variant types enum to avoid name clashes, add 'reference' type for FieldTable ValueMap to satisfy STL, refer to structs as such, not as class (avoids compile warning)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@809772 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include/qpid/messaging/Variant.h')
-rw-r--r--cpp/include/qpid/messaging/Variant.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/cpp/include/qpid/messaging/Variant.h b/cpp/include/qpid/messaging/Variant.h
index ac000244c2..1e51914794 100644
--- a/cpp/include/qpid/messaging/Variant.h
+++ b/cpp/include/qpid/messaging/Variant.h
@@ -44,21 +44,21 @@ struct InvalidConversion : public qpid::Exception
};
enum VariantType {
- VOID = 0,
- BOOL,
- UINT8,
- UINT16,
- UINT32,
- UINT64,
- INT8,
- INT16,
- INT32,
- INT64,
- FLOAT,
- DOUBLE,
- STRING,
- MAP,
- LIST
+ VAR_VOID = 0,
+ VAR_BOOL,
+ VAR_UINT8,
+ VAR_UINT16,
+ VAR_UINT32,
+ VAR_UINT64,
+ VAR_INT8,
+ VAR_INT16,
+ VAR_INT32,
+ VAR_INT64,
+ VAR_FLOAT,
+ VAR_DOUBLE,
+ VAR_STRING,
+ VAR_MAP,
+ VAR_LIST
};
class VariantImpl;