Base Datatypes

OcaBaseDataType

enum OcaBaseDataType : uint8_t

Enum that describes all available base datatypes.

enumerator None = 0

Undefined

enumerator OcaBoolean = 1

Generic boolean

enumerator OcaInt8 = 2

Generic UINT8

enumerator OcaInt16 = 3

Generic UINT16

enumerator OcaInt32 = 4

Generic UINT32

enumerator OcaInt64 = 5

Generic UINT64

enumerator OcaUint8 = 6

Generic UINT8

enumerator OcaUint16 = 7

Generic UINT16

enumerator OcaUint32 = 8

Generic UINT32

enumerator OcaUint64 = 9

Generic UINT64

enumerator OcaFloat32 = 10

Generic 32 bit float

enumerator OcaFloat64 = 11

Generic 64 bit float

enumerator OcaString = 12

Character count + character array (UTF8)

enumerator OcaBitstring = 13

Bit count + bit array

enumerator OcaBlob = 14

Byte count + byte array

enumerator OcaBlobFixedLen = 15

Byte array

enumerator OcaBit = 16

One bit

OcaBoolean

type OcaBoolean

True or false

OcaInt8

type OcaInt8

Generic 8 bit integer parameter

OcaInt16

type OcaInt16

Generic integer parameter

OcaInt32

type OcaInt32

Generic long integer parameter

OcaInt64

type OcaInt64

Generic long integer parameter

OcaUint8

type OcaUint8

General-purpose short index

OcaUint16

type OcaUint16

General-purpose short index

OcaUint32

type OcaUint32

OcaUint64

type OcaUint64

Generic unsigned 64-bit integer parameter

OcaFloat32

type OcaFloat32

Generic 64-bit IEEE floating-point parameter

OcaFloat64

type OcaFloat64

Generic 64-bit IEEE floating-point parameter

OcaString

type OcaString

General character string, UTF-8 encoded.

OcaBitstring

type OcaBitstring

Representation of a bitmask that is used on the network to send bitmask data.

OcaBlob

type OcaBlob

Representation of a binary large object that is used on the network to send large chunks of binary data.

OcaBlobFixedLen

template<typename len>
struct OcaBlobFixedLen<len>

Template class for fixed-length blob.

OcaList

template<typename DT>
struct OcaList<DT>

Template class representing a list of items.

OcaList2D

template<typename T>
struct OcaList2D<T>

Template class representing a two-dimensional list of items. This class describes only the data, not how it will be marshalled for transport via the various OCA protocol implementations.

OcaMap

template<typename KeyType, typename ValType>
struct OcaMap<KeyType, ValType>

Template class representing a map of keys to values.

OcaMultiMap

template<typename KeyType, typename ValType>
struct OcaMultiMap<KeyType, ValType>

Template class representing a map of keys to values where keys do not have to be unique (e.g. can be present multiple times).