Type-erased non-const reference to an object in the bdlat nullable-value type category.
Declared in <bdlar_nullablevalueref.h>
class NullableValueRef;
| Name | Description |
|---|---|
CategoryTag | Tag type indicating the nullable-value type category. |
| Name | Description |
|---|---|
NullableValueRef [constructor] | Constructors |
accessValue | Invoke the specified accessor on the referred non-null value. |
isNull | Return true if the referred object contains a null value, and false otherwise. |
makeValue | Assign to the referred object the default value for the contained type. |
manipulateValue | Invoke the specified manipulator on the referred non-null value. |
objectAddress | Return a pointer to the wrapped object. |
reset | Reset the referred object to the default value. |
valueCategory | Return the value type category. |
vtable | Return a pointer to the vtable. |
| Name | Description |
|---|---|
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. |
bdlat_nullableValueMakeValue | Create a value in the specified ref if it is currently null. |
bdlat_nullableValueManipulateValue | Invoke the specified manipulator on the non-null value held by the specified ref. Return the value from the invocation of manipulator. |
bdlat_valueTypeReset | Reset the specified ref to its default-constructed state. |