A type-erased universal wrapper for reference to any type category with read/write access.
Declared in <bdlar_anyref.h>
class AnyRef;
| Name | Description |
|---|---|
AnyRef [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. |
reset | Reset the referred object to the default value. |
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. |
| Name | Description |
|---|---|
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_typeCategoryManipulateArray | Invoke the specified manipulator on the array selection of the specified any. Return the value from the invocation of manipulator. |
bdlat_typeCategoryManipulateChoice | Invoke the specified manipulator on the choice selection of the specified any. Return the value from the invocation of manipulator. |
bdlat_typeCategoryManipulateCustomizedType | Invoke the specified manipulator on the customized-type selection of the specified any. Return the value from the invocation of manipulator. |
bdlat_typeCategoryManipulateEnumeration | Invoke the specified manipulator on the enumeration selection of the specified any. Return the value from the invocation of manipulator. |
bdlat_typeCategoryManipulateNullableValue | Invoke the specified manipulator on the nullable-value selection of the specified any. Return the value from the invocation of manipulator. |
bdlat_typeCategoryManipulateSequence | Invoke the specified manipulator on the sequence selection of the specified any. Return the value from the invocation of manipulator. |
bdlat_typeCategoryManipulateSimple | Invoke the specified manipulator on the simple-type selection of the specified any. Return the value from the invocation of manipulator. |
bdlat_typeCategorySelect | Return the type category of the object referred to by the specified any. |
bdlat_valueTypeReset | Reset the object referred to by the specified ref. |