BloombergLP::bdlar::CustomizedTypeRef

Type-erased non-const reference to an object in the bdlat customized-type category.

Synopsis

Declared in <bdlar_customizedtyperef.h>

class CustomizedTypeRef;

Member Functions

NameDescription
CustomizedTypeRef [constructor]Constructors
baseCategory Return the bdlat type category of the base type.
convertFromBaseType Assign a value converted from the specified base value.
convertToBaseType Return a reference to the base value.
createBaseAndConvert Create a base-type value, apply baseManipulator, then convert it.
objectAddress Return a pointer to the wrapped object.
reset Reset the referred object to the default value.
tmpAnyBuffer Return a pointer to buffer large enough to store one AnyConstRef object.
vtable Return a pointer to the vtable.

Non-Member Functions

NameDescription
bdlat_customizedTypeConvertFromBaseTypeConvert the specified value into the customized type referred to by the specified ref. Return 0 on success and a non-zero value otherwise.
bdlat_customizedTypeConvertToBaseTypeReturn the base-type representation of the specified ref.
bdlat_customizedTypeCreateBaseAndConvertCreate a base-type value, apply baseManipulator, then convert it.
bdlat_valueTypeResetReset the specified ref to its default-constructed state.