Synopsis

Declared in <bdlar_dynamictyperef.h>

class DynamicTypeRef;

Member Functions

Name

Description

DynamicTypeRef [constructor]

Constructors

objectAddress

Return a pointer to the wrapped object.

reset

Reset the referred object to the default value.

typeCategory

Return type category of the referred object.

valueConstRef

Return a reference to the (non‐modifiable) value. The behavior is undefined if the referred object is null.

valueRef

Return a reference to the (modifiable) value. The behavior is undefined if the referred object is null.

vtable

Return a pointer to the vtable.

Non-Member Functions

Name

Description

bdlat_typeCategoryAccessArray

Invoke the specified accessor on the array selection of the specified ref. Return the value from the invocation of accessor.

bdlat_typeCategoryAccessChoice

Invoke the specified accessor on the choice selection of the specified ref. Return the value from the invocation of accessor.

bdlat_typeCategoryAccessCustomizedType

Invoke the specified accessor on the customized‐type selection of the specified ref. Return the value from the invocation of accessor.

bdlat_typeCategoryAccessEnumeration

Invoke the specified accessor on the enumeration selection of the specified ref. Return the value from the invocation of accessor.

bdlat_typeCategoryAccessNullableValue

Invoke the specified accessor on the nullable‐value selection of the specified ref. Return the value from the invocation of accessor.

bdlat_typeCategoryAccessSequence

Invoke the specified accessor on the sequence selection of the specified ref. Return the value from the invocation of accessor.

bdlat_typeCategoryAccessSimple

Invoke the specified accessor on the simple‐type selection of the specified ref. Return the value from the invocation of accessor.

bdlat_typeCategoryManipulateArray

Invoke the specified manipulator on the array value of the specified ref. Return the value from the invocation of manipulator.

bdlat_typeCategoryManipulateChoice

Invoke the specified manipulator on the choice selection of the specified ref. Return the value from the invocation of manipulator.

bdlat_typeCategoryManipulateCustomizedType

Invoke the specified manipulator on the customized‐type value of the specified ref. Return the value from the invocation of manipulator.

bdlat_typeCategoryManipulateEnumeration

Invoke the specified manipulator on the enumeration value of the specified ref. Return the value from the invocation of manipulator.

bdlat_typeCategoryManipulateNullableValue

Invoke the specified manipulator on the nullable‐value selection of the specified ref. Return the value from the invocation of manipulator.

bdlat_typeCategoryManipulateSequence

Invoke manipulator on the sequence selection of ref.

bdlat_typeCategoryManipulateSimple

Invoke the specified manipulator on the simple‐type selection of the specified ref. Return the value from the invocation of manipulator.

bdlat_typeCategorySelect

Return the dynamic type category of the specified ref.

bdlat_valueTypeReset

Reset the specified ref to its default‐constructed state.

Created with MrDocs