libbmq  a5f8a06ba1d16cb5a65643e1fa7f1a1d6aadef40
bmqt_propertytype.h File Reference

Provide enum for the supported data types for a message property. More...

#include <bsl_iosfwd.h>
#include <bsl_string.h>

Go to the source code of this file.

Classes

struct  BloombergLP::bmqt::PropertyType
 This enum represents the supported data types for a message property. More...
 

Namespaces

 BloombergLP
 
 BloombergLP::bmqt
 

Functions

bsl::ostream & BloombergLP::bmqt::operator<< (bsl::ostream &stream, PropertyType::Enum value)
 

Detailed Description

This component contains bmqt::PropertyType which describes various data types that are supported for message properties.

Data Types and Size

This section describes the size of each data type:

Data Type Size (in bytes)
BOOL 1
CHAR 1
SHORT 2
INT 4
INT64 8
STRING variable
BINARY variable

Note that the difference between BINARY and STRING data types is that the former allows null (‘’\0'`) character while the later does not.