A type-erased universal wrapper for reference to any type category with read-only access.
Declared in <bdlar_anyref.h>
class AnyConstRef;
| Name | Description |
|---|---|
AnyConstRef [constructor] | Constructors |
arrayVtable | Return a pointer to the vtable. The behavior is undefined unless typeCategory() == bdlat_TypeCategory::e_ARRAY_CATEGORY. |
choiceVtable | Return a pointer to the vtable. The behavior is undefined unless typeCategory() == bdlat_TypeCategory::e_CHOICE_CATEGORY. |
customizedTypeVtable | Return a pointer to the vtable. The behavior is undefined unless typeCategory() == bdlat_TypeCategory::e_CUSTOMIZED_TYPE_CATEGORY. |
dynamicTypeVtable | Return a pointer to the vtable. The behavior is undefined unless typeCategory() == bdlat_TypeCategory::e_DYNAMIC_CATEGORY. |
enumVtable | Return a pointer to the vtable. The behavior is undefined unless typeCategory() == bdlat_TypeCategory::e_ENUMERATION_CATEGORY. |
nullableValueVtable | Return a pointer to the vtable. The behavior is undefined unless typeCategory() == bdlat_TypeCategory::e_NULLABLE_VALUE_CATEGORY. |
objectAddress | Return a pointer to the wrapped object. |
sequenceVtable | Return a pointer to the vtable. The behavior is undefined unless typeCategory() == bdlat_TypeCategory::e_SEQUENCE_CATEGORY. |
simpleTypeVtable | Return a pointer to the vtable. The behavior is undefined unless typeCategory() == bdlat_TypeCategory::e_SIMPLE_CATEGORY. |
typeCategory | Return type category of the referred object. |
xsdName | Return the bdlat_TypeName::xsdName value for the underlying object. |
| Name | Description |
|---|---|
bdlat_TypeName_xsdName | Return the XSD name of the object referred to by the specified ref. |
bdlat_customizedTypeConvertToBaseType | Return an AnyConstRef to the base-type representation of the specified ref. |
bdlat_customizedTypeConvertToBaseType | Return the base-type representation of the specified ref. |
bdlat_typeCategoryAccessArray | Invoke the specified accessor on the array selection of the specified any. Return the value from the invocation of accessor. |
bdlat_typeCategoryAccessChoice | Invoke the specified accessor on the choice selection of the specified any. Return the value from the invocation of accessor. |
bdlat_typeCategoryAccessCustomizedType | Invoke the specified accessor on the customized-type selection of the specified any. Return the value from the invocation of accessor. |
bdlat_typeCategoryAccessEnumeration | Invoke the specified accessor on the enumeration selection of the specified any. Return the value from the invocation of accessor. |
bdlat_typeCategoryAccessNullableValue | Invoke the specified accessor on the nullable-value selection of the specified any. Return the value from the invocation of accessor. |
bdlat_typeCategoryAccessSequence | Invoke the specified accessor on the sequence selection of the specified any. Return the value from the invocation of accessor. |
bdlat_typeCategoryAccessSimple | Invoke the specified accessor on the simple-type selection of the specified any. Return the value from the invocation of accessor. |
bdlat_typeCategorySelect | Return the type category of the object referred to by the specified any. |