activemq-cpp-3.9.5
PrimitiveValueConverter.h
Go to the documentation of this file.
1
17
18#ifndef _ACTIVEMQ_UTIL_PRIMITIVEVALUECONVERTER_H_
19#define _ACTIVEMQ_UTIL_PRIMITIVEVALUECONVERTER_H_
20
22
25#include <string>
26
27namespace activemq {
28namespace util {
29
55 public:
56
59
60 template<typename TO>
61 TO convert(const PrimitiveValueNode& value DECAF_UNUSED) const {
62
64 __FILE__, __LINE__, "Invalid Conversion");
65 }
66 };
67
68 template<>
70 template<>
72 template<>
74 template<>
76 template<>
78 template<>
80 template<>
82 template<>
84 template<>
86 template<>
87 std::vector<unsigned char> PrimitiveValueConverter::convert<std::vector<unsigned char> >(const PrimitiveValueNode& value) const;
88
89}}
90
91#endif /* _ACTIVEMQ_UTIL_PRIMITIVEVALUECONVERTER_H_ */
#define AMQCPP_API
Definition Config.h:30
PrimitiveValueConverter()
Definition PrimitiveValueConverter.h:57
TO convert(const PrimitiveValueNode &value DECAF_UNUSED) const
Definition PrimitiveValueConverter.h:61
virtual ~PrimitiveValueConverter()
Definition PrimitiveValueConverter.h:58
Class that wraps around a single value of one of the many types.
Definition PrimitiveValueNode.h:38
Definition UnsupportedOperationException.h:32
Definition ActiveMQMessageTransformation.h:36
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition CachedConsumer.h:24