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

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

== Synopsis

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

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

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlar/DynamicTypeConstRef/2constructor-0d.adoc[`DynamicTypeConstRef`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/bdlar/DynamicTypeConstRef/objectAddress.adoc[`objectAddress`] 
| Return a pointer to the wrapped object&period;
| xref:BloombergLP/bdlar/DynamicTypeConstRef/typeCategory.adoc[`typeCategory`] 
| Return type category of the referred object&period;
| xref:BloombergLP/bdlar/DynamicTypeConstRef/valueConstRef.adoc[`valueConstRef`] 
| Return a reference to the (non&hyphen;modifiable) value&period; The behavior is undefined if the referred object is null&period;
| xref:BloombergLP/bdlar/DynamicTypeConstRef/vtable.adoc[`vtable`] 
| Return a pointer to the vtable&period;
| xref:BloombergLP/bdlar/DynamicTypeConstRef/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-026.adoc[`bdlat&lowbar;TypeName&lowbar;xsdName`]
| Return the `bdlat&lowbar;TypeName&colon;&colon;xsdName` value for the specified `ref`&period;
| xref:BloombergLP/bdlar/bdlat_typeCategoryAccessArray-01.adoc[`bdlat&lowbar;typeCategoryAccessArray`]
| Invoke the specified `accessor` on the array selection of the specified `ref`&period; Return the value from the invocation of `accessor`&period;
| xref:BloombergLP/bdlar/bdlat_typeCategoryAccessChoice-00.adoc[`bdlat&lowbar;typeCategoryAccessChoice`]
| Invoke the specified `accessor` on the choice selection of the specified `ref`&period;
| xref:BloombergLP/bdlar/bdlat_typeCategoryAccessCustomizedType-02.adoc[`bdlat&lowbar;typeCategoryAccessCustomizedType`]
| Invoke the specified `accessor` on the customized&hyphen;type selection of the specified `ref`&period; Return the value from the invocation of `accessor`&period;
| xref:BloombergLP/bdlar/bdlat_typeCategoryAccessEnumeration-00.adoc[`bdlat&lowbar;typeCategoryAccessEnumeration`]
| Invoke the specified `accessor` on the enumeration selection of the specified `ref`&period; Return the value from the invocation of `accessor`&period;
| xref:BloombergLP/bdlar/bdlat_typeCategoryAccessNullableValue-0f.adoc[`bdlat&lowbar;typeCategoryAccessNullableValue`]
| Invoke the specified `accessor` on the nullable&hyphen;value selection of the specified `ref`&period; Return the value from the invocation of `accessor`&period;
| xref:BloombergLP/bdlar/bdlat_typeCategoryAccessSequence-05.adoc[`bdlat&lowbar;typeCategoryAccessSequence`]
| Invoke the specified `accessor` on the sequence selection of the specified `ref`&period; Return the value from the invocation of `accessor`&period;
| xref:BloombergLP/bdlar/bdlat_typeCategoryAccessSimple-06.adoc[`bdlat&lowbar;typeCategoryAccessSimple`]
| Invoke the specified `accessor` on the simple&hyphen;type selection of the specified `ref`&period; Return the value from the invocation of `accessor`&period;
| xref:BloombergLP/bdlar/bdlat_typeCategorySelect-026.adoc[`bdlat&lowbar;typeCategorySelect`]
| Return the dynamic type category of the specified `ref`&period;
|===


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