Type‐erased const reference to an object in the bdlat nullable‐value type category.

Synopsis

Declared in <bdlar_nullablevalueref.h>

class NullableValueConstRef;

Type Aliases

Name

Description

CategoryTag

Tag type indicating the nullable‐value type category.

Member Functions

Name

Description

NullableValueConstRef [constructor]

Constructors

accessValue

Invoke the specified accessor on the referred non‐null value.

isNull

Return whether the referred object contains a null value.

objectAddress

Return a pointer to the wrapped object.

valueCategory

Return the value type category.

vtable

Return a pointer to the vtable.

xsdName

Return the bdlat_TypeName::xsdName value for the underlying object.

Non-Member Functions

Name

Description

bdlat_TypeName_xsdName

Return the bdlat_TypeName::xsdName value for the specified ref using the specified format.

bdlat_nullableValueAccessValue

Invoke the specified accessor on the non‐null value held by the specified ref. Return the value from the invocation of accessor.

bdlat_nullableValueIsNull

Return true if the specified ref contains a null value, and false otherwise.

Created with MrDocs