Type-erased const reference to an object in the bdlat nullable-value type category.
Declared in <bdlar_nullablevalueref.h>
class NullableValueConstRef;
| Name | Description |
|---|---|
CategoryTag | Tag type indicating the nullable-value type category. |
| Name | Description |
|---|---|
NullableValueConstRef [constructor] | Constructors |
accessValue | Invoke the specified accessor on the referred non-null value. The supplied accessor must be a callable type that can be called as if it had the following signature: ` int accessor(const VALUE& refOrValue); ` Return the value from the invocation of accessor. The behavior is undefined if the referred object is null. |
isNull | Return true if the referred object contains a null value, and false otherwise. |
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. |
| Name | Description |
|---|---|
bdlat_TypeName_xsdName | Return the bdlat_TypeName::xsdName value for the specified ref. |
bdlat_nullableValueAccessValue | Invoke accessor on the non-null value held by ref. |
bdlat_nullableValueIsNull | Return true if the specified ref contains a null value, and false otherwise. |