libbmq b6028b29b733bc7541593d2905a5f79a9f0192fc
Loading...
Searching...
No Matches
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

namespace  BloombergLP
 
namespace  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.