[#BloombergLP-bdlar-AnyConstRef] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::AnyConstRef :relfileprefix: ../../ :mrdocs: A type‐erased universal wrapper for reference to any type category with read‐only access. == Synopsis Declared in `<bdlar_anyref.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class AnyConstRef; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlar/AnyConstRef/2constructor-0f.adoc[`AnyConstRef`] [.small]#[constructor]# | Constructors | xref:BloombergLP/bdlar/AnyConstRef/arrayVtable.adoc[`arrayVtable`] | Return a pointer to the vtable. The behavior is undefined unless `typeCategory() == bdlat_TypeCategory::e_ARRAY_CATEGORY`. | xref:BloombergLP/bdlar/AnyConstRef/choiceVtable.adoc[`choiceVtable`] | Return a pointer to the vtable. The behavior is undefined unless `typeCategory() == bdlat_TypeCategory::e_CHOICE_CATEGORY`. | xref:BloombergLP/bdlar/AnyConstRef/customizedTypeVtable.adoc[`customizedTypeVtable`] | Return a pointer to the vtable. The behavior is undefined unless `typeCategory() == bdlat_TypeCategory::e_CUSTOMIZED_TYPE_CATEGORY`. | xref:BloombergLP/bdlar/AnyConstRef/dynamicTypeVtable.adoc[`dynamicTypeVtable`] | Return a pointer to the vtable. The behavior is undefined unless `typeCategory() == bdlat_TypeCategory::e_DYNAMIC_CATEGORY`. | xref:BloombergLP/bdlar/AnyConstRef/enumVtable.adoc[`enumVtable`] | Return a pointer to the vtable. The behavior is undefined unless `typeCategory() == bdlat_TypeCategory::e_ENUMERATION_CATEGORY`. | xref:BloombergLP/bdlar/AnyConstRef/nullableValueVtable.adoc[`nullableValueVtable`] | Return a pointer to the vtable. The behavior is undefined unless `typeCategory() == bdlat_TypeCategory::e_NULLABLE_VALUE_CATEGORY`. | xref:BloombergLP/bdlar/AnyConstRef/objectAddress.adoc[`objectAddress`] | Return a pointer to the wrapped object. | xref:BloombergLP/bdlar/AnyConstRef/sequenceVtable.adoc[`sequenceVtable`] | Return a pointer to the vtable. The behavior is undefined unless `typeCategory() == bdlat_TypeCategory::e_SEQUENCE_CATEGORY`. | xref:BloombergLP/bdlar/AnyConstRef/simpleTypeVtable.adoc[`simpleTypeVtable`] | Return a pointer to the vtable. The behavior is undefined unless `typeCategory() == bdlat_TypeCategory::e_SIMPLE_CATEGORY`. | xref:BloombergLP/bdlar/AnyConstRef/typeCategory.adoc[`typeCategory`] | Return type category of the referred object. | xref:BloombergLP/bdlar/AnyConstRef/xsdName.adoc[`xsdName`] | Return the `bdlat_TypeName::xsdName` value for the underlying object. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlar/bdlat_TypeName_xsdName-0d.adoc[`bdlat_TypeName_xsdName`] | Return the XSD name of the object referred to by the specified `ref`. | xref:BloombergLP/bdlar/bdlat_customizedTypeConvertToBaseType-09.adoc[`bdlat_customizedTypeConvertToBaseType`] | Return an `AnyConstRef` to the base‐type representation of the specified `ref`. | xref:BloombergLP/bdlar/bdlat_customizedTypeConvertToBaseType-0a.adoc[`bdlat_customizedTypeConvertToBaseType`] | Return the base‐type representation of the specified `ref`. | xref:BloombergLP/bdlar/bdlat_typeCategoryAccessArray-09.adoc[`bdlat_typeCategoryAccessArray`] | Invoke the specified `accessor` on the array selection of the specified `any`. Return the value from the invocation of `accessor`. | xref:BloombergLP/bdlar/bdlat_typeCategoryAccessChoice-06.adoc[`bdlat_typeCategoryAccessChoice`] | Invoke the specified `accessor` on the choice selection of the specified `any`. Return the value from the invocation of `accessor`. | xref:BloombergLP/bdlar/bdlat_typeCategoryAccessCustomizedType-07.adoc[`bdlat_typeCategoryAccessCustomizedType`] | Invoke the specified `accessor` on the customized‐type selection of the specified `any`. Return the value from the invocation of `accessor`. | xref:BloombergLP/bdlar/bdlat_typeCategoryAccessEnumeration-0b.adoc[`bdlat_typeCategoryAccessEnumeration`] | Invoke the specified `accessor` on the enumeration selection of the specified `any`. Return the value from the invocation of `accessor`. | xref:BloombergLP/bdlar/bdlat_typeCategoryAccessNullableValue-02.adoc[`bdlat_typeCategoryAccessNullableValue`] | Invoke the specified `accessor` on the nullable‐value selection of the specified `any`. Return the value from the invocation of `accessor`. | xref:BloombergLP/bdlar/bdlat_typeCategoryAccessSequence-02.adoc[`bdlat_typeCategoryAccessSequence`] | Invoke the specified `accessor` on the sequence selection of the specified `any`. Return the value from the invocation of `accessor`. | xref:BloombergLP/bdlar/bdlat_typeCategoryAccessSimple-0b.adoc[`bdlat_typeCategoryAccessSimple`] | Invoke the specified `accessor` on the simple‐type selection of the specified `any`. Return the value from the invocation of `accessor`. | xref:BloombergLP/bdlar/bdlat_typeCategorySelect-0a.adoc[`bdlat_typeCategorySelect`] | Return the type category of the object referred to by the specified `any`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#