|
BDE 4.39.x Production Release
|
Functions | |
| template<class t_TYPE , class t_MANIPULATOR > | |
| int | createBaseAndConvert (t_TYPE *object, t_MANIPULATOR &baseManipulator) |
| template<class TYPE , class BASE_TYPE > | |
| int | convertFromBaseType (TYPE *object, const BASE_TYPE &value) |
| template<class TYPE > | |
| const BaseType< TYPE >::Type & | convertToBaseType (const TYPE &object) |
| template<class t_TYPE , class t_MANIPULATOR > | |
| int | bdlat_customizedTypeCreateBaseAndConvert (t_TYPE *object, t_MANIPULATOR &baseManipulator) |
| template<class TYPE , class BASE_TYPE > | |
| int | bdlat_customizedTypeConvertFromBaseType (TYPE *object, const BASE_TYPE &value) |
| template<class TYPE > | |
| const BaseType< TYPE >::Type & | bdlat_customizedTypeConvertToBaseType (const TYPE &object) |
This namespace provides functions that expose "customized type" behavior for "customized type" types. See the component-level documentation for more information.
This namespace declaration adds the default implementations of the "customized type" customization-point functions to bdlat_CustomizedTypeFunctions. These default implementations assume the type of the acted-upon object has member functions to convert to and from "simple" types.
| int bdlat_CustomizedTypeFunctions::bdlat_customizedTypeConvertFromBaseType | ( | TYPE * | object, |
| const BASE_TYPE & | value | ||
| ) |
| const BaseType< TYPE >::Type & bdlat_CustomizedTypeFunctions::bdlat_customizedTypeConvertToBaseType | ( | const TYPE & | object | ) |
| int bdlat_CustomizedTypeFunctions::bdlat_customizedTypeCreateBaseAndConvert | ( | t_TYPE * | object, |
| t_MANIPULATOR & | baseManipulator | ||
| ) |
| int bdlat_CustomizedTypeFunctions::convertFromBaseType | ( | TYPE * | object, |
| const BASE_TYPE & | value | ||
| ) |
Convert from the specified value to the specified customized object. Return 0 if successful and non-zero otherwise.
| const BaseType< TYPE >::Type & bdlat_CustomizedTypeFunctions::convertToBaseType | ( | const TYPE & | object | ) |
Load into the specified result the value of the specified object.
| int bdlat_CustomizedTypeFunctions::createBaseAndConvert | ( | t_TYPE * | object, |
| t_MANIPULATOR & | baseManipulator | ||
| ) |
Create an uninitialized value of the base type, apply the specified baseManipulator to it, then call the bdlat_CustomizedTypeFunctions::convertFromBaseType function with the specified object and the value.