Quick Links:

bal | bbl | bdl | bsl

Classes | Functions

bdlat_CustomizedTypeFunctions Namespace Reference
[Component bdlat_customizedtypefunctions]

Classes

struct  IsCustomizedType
struct  BaseType

Functions

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 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)

Function Documentation

template<class TYPE , class BASE_TYPE >
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.

template<class TYPE >
const BaseType<TYPE>::Type& bdlat_CustomizedTypeFunctions::convertToBaseType ( const TYPE &  object  ) 

Load into the specified result the value of the specified object.

template<class TYPE , class BASE_TYPE >
int bdlat_CustomizedTypeFunctions::bdlat_customizedTypeConvertFromBaseType ( TYPE *  object,
const BASE_TYPE &  value 
)
template<class TYPE >
const BaseType<TYPE>::Type& bdlat_CustomizedTypeFunctions::bdlat_customizedTypeConvertToBaseType ( const TYPE &  object  )