[#BloombergLP-bdlar-NullableValueConstRef]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::NullableValueConstRef
:relfileprefix: ../../
:mrdocs:

Type&hyphen;erased const reference to an object in the `bdlat` nullable&hyphen;value type category&period;

== Synopsis

Declared in `&lt;bdlar&lowbar;nullablevalueref&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class NullableValueConstRef;
----

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlar/NullableValueConstRef/CategoryTag.adoc[`CategoryTag`] 
| Tag type indicating the nullable&hyphen;value type category&period;
|===


== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlar/NullableValueConstRef/2constructor-048.adoc[`NullableValueConstRef`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/bdlar/NullableValueConstRef/accessValue.adoc[`accessValue`] 
| Invoke the specified `accessor` on the referred non&hyphen;null value&period; The supplied `accessor` must be a callable type that can be called as if it had the following signature&colon; &grave; int accessor(const VALUE&amp; refOrValue)&semi; &grave; Return the value from the invocation of `accessor`&period; The behavior is undefined if the referred object is null&period;
| xref:BloombergLP/bdlar/NullableValueConstRef/isNull.adoc[`isNull`] 
| Return `true` if the referred object contains a null value, and `false` otherwise&period;
| xref:BloombergLP/bdlar/NullableValueConstRef/objectAddress.adoc[`objectAddress`] 
| Return a pointer to the wrapped object&period;
| xref:BloombergLP/bdlar/NullableValueConstRef/valueCategory.adoc[`valueCategory`] 
| Return the value type category&period;
| xref:BloombergLP/bdlar/NullableValueConstRef/vtable.adoc[`vtable`] 
| Return a pointer to the vtable&period;
| xref:BloombergLP/bdlar/NullableValueConstRef/xsdName.adoc[`xsdName`] 
| Return the `bdlat&lowbar;TypeName&colon;&colon;xsdName` value for the underlying object&period;
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlar/bdlat_TypeName_xsdName-06.adoc[`bdlat&lowbar;TypeName&lowbar;xsdName`]
| Return the `bdlat&lowbar;TypeName&colon;&colon;xsdName` value for the specified `ref`&period;
| xref:BloombergLP/bdlar/bdlat_nullableValueAccessValue-09.adoc[`bdlat&lowbar;nullableValueAccessValue`]
| Invoke `accessor` on the non&hyphen;null value held by `ref`&period;
| xref:BloombergLP/bdlar/bdlat_nullableValueIsNull-0a.adoc[`bdlat&lowbar;nullableValueIsNull`]
| Return `true` if the specified `ref` contains a null value, and `false` otherwise&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
