Quick Links:

bmqa | bmqpi | bmqt

Namespaces

Component bmqt_propertytype
[Package bmqt]

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

Namespaces

namespace  bmqt

Detailed Description

Outline
Purpose:
Provide enum for the supported data types for a message property.
Classes:
bmqt::PropertyType Enum for supported data types for a message property.
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.