Qpid C++ Messaging API  0.26
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
qpid::types Namespace Reference

Classes

class  Exception
 
class  Uuid
 
struct  InvalidConversion
 
class  Variant
 

Enumerations

enum  VariantType {
  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, VAR_UUID
}
 

Functions

size_t hash_value (const Uuid &uuid)
 
QPID_TYPES_EXTERN bool operator== (const Uuid &, const Uuid &)
 
QPID_TYPES_EXTERN bool operator!= (const Uuid &, const Uuid &)
 
QPID_TYPES_EXTERN bool operator< (const Uuid &, const Uuid &)
 
QPID_TYPES_EXTERN bool operator> (const Uuid &, const Uuid &)
 
QPID_TYPES_EXTERN bool operator<= (const Uuid &, const Uuid &)
 
QPID_TYPES_EXTERN bool operator>= (const Uuid &, const Uuid &)
 
QPID_TYPES_EXTERN std::ostream & operator<< (std::ostream &, Uuid)
 
QPID_TYPES_EXTERN std::istream & operator>> (std::istream &, Uuid &)
 
QPID_TYPES_EXTERN std::string getTypeName (VariantType type)
 
QPID_TYPES_EXTERN bool isIntegerType (VariantType type)
 
QPID_TYPES_EXTERN std::ostream & operator<< (std::ostream &out, const Variant &value)
 
QPID_TYPES_EXTERN std::ostream & operator<< (std::ostream &out, const Variant::Map &map)
 
QPID_TYPES_EXTERN std::ostream & operator<< (std::ostream &out, const Variant::List &list)
 
QPID_TYPES_EXTERN bool operator== (const Variant &a, const Variant &b)
 
QPID_TYPES_EXTERN bool operator!= (const Variant &a, const Variant &b)
 

Enumeration Type Documentation

Enumerator
VAR_VOID 
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 
VAR_UUID 

Function Documentation

QPID_TYPES_EXTERN std::string qpid::types::getTypeName ( VariantType  type)
size_t qpid::types::hash_value ( const Uuid &  uuid)
inline

Hash value function for use with boots::hash or std::hash

QPID_TYPES_EXTERN bool qpid::types::isIntegerType ( VariantType  type)
QPID_TYPES_EXTERN bool qpid::types::operator!= ( const Uuid &  ,
const Uuid &   
)

Returns true if the uuids are NOT equal, false if they are.

QPID_TYPES_EXTERN bool qpid::types::operator!= ( const Variant &  a,
const Variant &  b 
)
QPID_TYPES_EXTERN bool qpid::types::operator< ( const Uuid &  ,
const Uuid &   
)
QPID_TYPES_EXTERN std::ostream& qpid::types::operator<< ( std::ostream &  ,
Uuid   
)

Print in format 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb.

QPID_TYPES_EXTERN std::ostream& qpid::types::operator<< ( std::ostream &  out,
const Variant &  value 
)
QPID_TYPES_EXTERN std::ostream& qpid::types::operator<< ( std::ostream &  out,
const Variant::Map &  map 
)
QPID_TYPES_EXTERN std::ostream& qpid::types::operator<< ( std::ostream &  out,
const Variant::List &  list 
)
QPID_TYPES_EXTERN bool qpid::types::operator<= ( const Uuid &  ,
const Uuid &   
)
QPID_TYPES_EXTERN bool qpid::types::operator== ( const Uuid &  ,
const Uuid &   
)

Returns true if the uuids are equal, false otherwise.

QPID_TYPES_EXTERN bool qpid::types::operator== ( const Variant &  a,
const Variant &  b 
)
QPID_TYPES_EXTERN bool qpid::types::operator> ( const Uuid &  ,
const Uuid &   
)
QPID_TYPES_EXTERN bool qpid::types::operator>= ( const Uuid &  ,
const Uuid &   
)
QPID_TYPES_EXTERN std::istream& qpid::types::operator>> ( std::istream &  ,
Uuid &   
)

Read from format 1b4e28ba-2fa1-11d2-883f-b9a761bde3fb.