Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
Represents a value of variable type. More...
#include <qpid/types/Variant.h>
Public Types | |
typedef std::map< std::string, Variant > | Map |
typedef std::list< Variant > | List |
typedef std::list<Variant> qpid::types::Variant::List |
typedef std::map<std::string, Variant> qpid::types::Variant::Map |
QPID_TYPES_EXTERN qpid::types::Variant::Variant | ( | ) |
QPID_TYPES_EXTERN qpid::types::Variant::Variant | ( | bool | ) |
QPID_TYPES_EXTERN qpid::types::Variant::Variant | ( | uint8_t | ) |
QPID_TYPES_EXTERN qpid::types::Variant::Variant | ( | uint16_t | ) |
QPID_TYPES_EXTERN qpid::types::Variant::Variant | ( | uint32_t | ) |
QPID_TYPES_EXTERN qpid::types::Variant::Variant | ( | uint64_t | ) |
QPID_TYPES_EXTERN qpid::types::Variant::Variant | ( | int8_t | ) |
QPID_TYPES_EXTERN qpid::types::Variant::Variant | ( | int16_t | ) |
QPID_TYPES_EXTERN qpid::types::Variant::Variant | ( | int32_t | ) |
QPID_TYPES_EXTERN qpid::types::Variant::Variant | ( | int64_t | ) |
QPID_TYPES_EXTERN qpid::types::Variant::Variant | ( | float | ) |
QPID_TYPES_EXTERN qpid::types::Variant::Variant | ( | double | ) |
QPID_TYPES_EXTERN qpid::types::Variant::Variant | ( | const std::string & | ) |
QPID_TYPES_EXTERN qpid::types::Variant::Variant | ( | const char * | ) |
QPID_TYPES_EXTERN qpid::types::Variant::Variant | ( | const Map & | ) |
QPID_TYPES_EXTERN qpid::types::Variant::Variant | ( | const List & | ) |
QPID_TYPES_EXTERN qpid::types::Variant::Variant | ( | const Variant & | ) |
QPID_TYPES_EXTERN qpid::types::Variant::Variant | ( | const Uuid & | ) |
QPID_TYPES_EXTERN qpid::types::Variant::~Variant | ( | ) |
QPID_TYPES_EXTERN bool qpid::types::Variant::asBool | ( | ) | const |
QPID_TYPES_EXTERN double qpid::types::Variant::asDouble | ( | ) | const |
QPID_TYPES_EXTERN float qpid::types::Variant::asFloat | ( | ) | const |
QPID_TYPES_EXTERN int16_t qpid::types::Variant::asInt16 | ( | ) | const |
QPID_TYPES_EXTERN int32_t qpid::types::Variant::asInt32 | ( | ) | const |
QPID_TYPES_EXTERN int64_t qpid::types::Variant::asInt64 | ( | ) | const |
QPID_TYPES_EXTERN int8_t qpid::types::Variant::asInt8 | ( | ) | const |
QPID_TYPES_EXTERN const List& qpid::types::Variant::asList | ( | ) | const |
QPID_TYPES_EXTERN List& qpid::types::Variant::asList | ( | ) |
QPID_TYPES_EXTERN const Map& qpid::types::Variant::asMap | ( | ) | const |
QPID_TYPES_EXTERN Map& qpid::types::Variant::asMap | ( | ) |
QPID_TYPES_EXTERN std::string qpid::types::Variant::asString | ( | ) | const |
QPID_TYPES_EXTERN uint16_t qpid::types::Variant::asUint16 | ( | ) | const |
QPID_TYPES_EXTERN uint32_t qpid::types::Variant::asUint32 | ( | ) | const |
QPID_TYPES_EXTERN uint64_t qpid::types::Variant::asUint64 | ( | ) | const |
QPID_TYPES_EXTERN uint8_t qpid::types::Variant::asUint8 | ( | ) | const |
QPID_TYPES_EXTERN Uuid qpid::types::Variant::asUuid | ( | ) | const |
QPID_TYPES_EXTERN const std::string& qpid::types::Variant::getEncoding | ( | ) | const |
QPID_TYPES_EXTERN const std::string& qpid::types::Variant::getString | ( | ) | const |
Unlike asString(), getString() will not do any conversions and will throw InvalidConversion if the type is not STRING.
QPID_TYPES_EXTERN std::string& qpid::types::Variant::getString | ( | ) |
QPID_TYPES_EXTERN VariantType qpid::types::Variant::getType | ( | ) | const |
QPID_TYPES_EXTERN bool qpid::types::Variant::isEqualTo | ( | const Variant & | a | ) | const |
QPID_TYPES_EXTERN bool qpid::types::Variant::isVoid | ( | ) | const |
QPID_TYPES_EXTERN qpid::types::Variant::operator bool | ( | ) | const |
QPID_TYPES_EXTERN qpid::types::Variant::operator double | ( | ) | const |
QPID_TYPES_EXTERN qpid::types::Variant::operator float | ( | ) | const |
QPID_TYPES_EXTERN qpid::types::Variant::operator int16_t | ( | ) | const |
QPID_TYPES_EXTERN qpid::types::Variant::operator int32_t | ( | ) | const |
QPID_TYPES_EXTERN qpid::types::Variant::operator int64_t | ( | ) | const |
QPID_TYPES_EXTERN qpid::types::Variant::operator int8_t | ( | ) | const |
QPID_TYPES_EXTERN qpid::types::Variant::operator std::string | ( | ) | const |
QPID_TYPES_EXTERN qpid::types::Variant::operator uint16_t | ( | ) | const |
QPID_TYPES_EXTERN qpid::types::Variant::operator uint32_t | ( | ) | const |
QPID_TYPES_EXTERN qpid::types::Variant::operator uint64_t | ( | ) | const |
QPID_TYPES_EXTERN qpid::types::Variant::operator uint8_t | ( | ) | const |
QPID_TYPES_EXTERN qpid::types::Variant::operator Uuid | ( | ) | const |
QPID_TYPES_EXTERN Variant& qpid::types::Variant::operator= | ( | bool | ) |
QPID_TYPES_EXTERN Variant& qpid::types::Variant::operator= | ( | uint8_t | ) |
QPID_TYPES_EXTERN Variant& qpid::types::Variant::operator= | ( | uint16_t | ) |
QPID_TYPES_EXTERN Variant& qpid::types::Variant::operator= | ( | uint32_t | ) |
QPID_TYPES_EXTERN Variant& qpid::types::Variant::operator= | ( | uint64_t | ) |
QPID_TYPES_EXTERN Variant& qpid::types::Variant::operator= | ( | int8_t | ) |
QPID_TYPES_EXTERN Variant& qpid::types::Variant::operator= | ( | int16_t | ) |
QPID_TYPES_EXTERN Variant& qpid::types::Variant::operator= | ( | int32_t | ) |
QPID_TYPES_EXTERN Variant& qpid::types::Variant::operator= | ( | int64_t | ) |
QPID_TYPES_EXTERN Variant& qpid::types::Variant::operator= | ( | float | ) |
QPID_TYPES_EXTERN Variant& qpid::types::Variant::operator= | ( | double | ) |
QPID_TYPES_EXTERN Variant& qpid::types::Variant::operator= | ( | const std::string & | ) |
QPID_TYPES_EXTERN Variant& qpid::types::Variant::operator= | ( | const char * | ) |
QPID_TYPES_EXTERN Variant& qpid::types::Variant::operator= | ( | const Map & | ) |
QPID_TYPES_EXTERN Variant& qpid::types::Variant::operator= | ( | const List & | ) |
QPID_TYPES_EXTERN Variant& qpid::types::Variant::operator= | ( | const Variant & | ) |
QPID_TYPES_EXTERN Variant& qpid::types::Variant::operator= | ( | const Uuid & | ) |
QPID_TYPES_EXTERN Variant& qpid::types::Variant::parse | ( | const std::string & | ) |
Parses the argument and assigns itself the appropriate value.
Recognises integers, doubles and booleans.
QPID_TYPES_EXTERN void qpid::types::Variant::reset | ( | ) |
QPID_TYPES_EXTERN void qpid::types::Variant::setEncoding | ( | const std::string & | ) |