BloombergLP::bdlar::CustomizedTypeRef

Synopsis

Declared in <bdlar_customizedtyperef.h>

class CustomizedTypeRef;

Member Functions

NameDescription
CustomizedTypeRef [constructor]Constructors
baseCategory Return a type category of the base type.
convertFromBaseType Assign a value converted from the specified base value. Return 0 if successful and non-zero otherwise.
convertToBaseType Return a reference to the base value.
createBaseAndConvert Create an uninitialized value of the base type, apply the specified baseManipulator to it, then call the bdlat_CustomizedTypeFunctions::convertFromBaseType function with this object and the value.
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 an uninitialized value of the base type, apply the specified baseManipulator to it, then convert the result into the customized type referred to by the specified ref. Return 0 on success and a non-zero value otherwise.
bdlat_valueTypeResetReset the specified ref to its default-constructed state.