Namespace for datum types in the bdl package group.

Types

Name

Description

Datum

Space‐efficient discriminated union holding a scalar or aggregate of Datum values.

DatumArrayBuilder

This class provides a mechanism to build a Datum object having an array value in an exception‐safe manner.

DatumArrayRef

Read‐only view of an array of Datum values.

DatumBinaryRef

This class provides a type to represent a pointer to non‐modifiable binary data and an integral size value.

DatumError

Value‐semantic type for an error code with an optional error message.

DatumIntMapBuilder

Mechanism to build a Datum object having an int‐map value.

DatumIntMapEntry

This class represents an entry in a datum map keyed by string values.

DatumIntMapRef

Read‐only view of a map of Datum values keyed by integers.

DatumMaker

This concrete mechanism class provides "sugar" for easily creating bdld::Datum objects for testing.

DatumMapBuilder

This class provides a mechanism to build a Datum object having a map value in an exception‐safe manner.

DatumMapEntry

This class represents an entry in a datum map keyed by string values.

DatumMapOwningKeysBuilder

This class provides a mechanism to build a Datum object having a map (owning keys) value in an exception‐safe manner.

DatumMapRef

Read‐only view of a map of Datum values keyed by strings.

DatumMutableArrayRef

This class provides mutable access to a datum array.

DatumMutableIntMapRef

This class provides a mutable access to a datum int‐map. The users of this class can assign to the individual elements and also change the size of the map.

DatumMutableMapOwningKeysRef

Mutable view of a key‐owning datum map.

DatumMutableMapRef

This class provides a mutable access to a datum map. The users of this class can assign to the individual elements and also change the size of the map.

DatumUdt

This class provides a type to represent a pointer to an object of some user‐defined type and an integer value denoting what actual type is represented.

DatumUtil

This struct serves as a namespace for utility functions that operate on bdld::Datum objects.

Datum_Helpers

Helpers for loading and storing typed values within a buffer.

Datum_IntMapHeader

This component‐local class provides a layout of the meta‐information stored in front of the Datum int‐maps.

Datum_MakeDependent

Metafunction that aliases its first template argument as type.

Datum_MapHeader

This component‐local class provides a layout of the meta‐information stored in front of the Datum maps.

ManagedDatum

This class implements a smart‐pointer‐like resource manager for a Datum object.

Functions

Name

Description

hashAppend

Incorporate the value of datum into hashAlgorithm.

swap

Exchange the values of the specified a and b objects.

operator<<

Stream insertion operators

operator==

Equality operators

operator!=

Inequality operators

operator<

Less‐than operators

operator<=

Less‐than‐or‐equal operators

operator>

Greater‐than operators

operator>=

Greater‐than‐or‐equal operators

Created with MrDocs