|
| template<class TYPE > |
| void | makeValue (TYPE *object) |
| |
| template<class TYPE , class MANIPULATOR > |
| int | manipulateValue (TYPE *object, MANIPULATOR &manipulator) |
| |
| template<class TYPE , class ACCESSOR > |
| int | accessValue (const TYPE &object, ACCESSOR &accessor) |
| |
| template<class TYPE > |
| bool | isNull (const TYPE &object) |
| |
| template<class TYPE > |
| void | bdlat_nullableValueMakeValue (bdlb::NullableValue< TYPE > *object) |
| |
| template<class TYPE , class MANIPULATOR > |
| int | bdlat_nullableValueManipulateValue (bdlb::NullableValue< TYPE > *object, MANIPULATOR &manipulator) |
| |
| template<class TYPE , class ACCESSOR > |
| int | bdlat_nullableValueAccessValue (const bdlb::NullableValue< TYPE > &object, ACCESSOR &accessor) |
| |
| template<class TYPE > |
| bool | bdlat_nullableValueIsNull (const bdlb::NullableValue< TYPE > &object) |
| |
| template<class TYPE > |
| void | bdlat_nullableValueMakeValue (bdlb::NullableAllocatedValue< TYPE > *object) |
| |
| template<class TYPE , class MANIPULATOR > |
| int | bdlat_nullableValueManipulateValue (bdlb::NullableAllocatedValue< TYPE > *object, MANIPULATOR &manipulator) |
| |
| template<class TYPE , class ACCESSOR > |
| int | bdlat_nullableValueAccessValue (const bdlb::NullableAllocatedValue< TYPE > &object, ACCESSOR &accessor) |
| |
| template<class TYPE > |
| bool | bdlat_nullableValueIsNull (const bdlb::NullableAllocatedValue< TYPE > &object) |
| |
This namespace provides functions that expose "nullable" behavior for "nullable value" types. See the component-level documentation for more information.
This namespace declaration adds the implementation of the "nullable value" traits for bdlb::NullableValue to bdlat_NullableValueFunctions.
- Note
- Note that
bdlb::NullableValue is the first of two canonical "nullable value" types.
This namespace declaration adds the implementation of the "nullable value" traits for bdlb::NullableAllocatedValue to bdlat_NullableValueFunctions.
- Note
- Note that
bdlb::NullableAllocatedValue is the second of two canonical "nullable value" types.
template<class TYPE , class MANIPULATOR >
| int bdlat_NullableValueFunctions::manipulateValue |
( |
TYPE * |
object, |
|
|
MANIPULATOR & |
manipulator |
|
) |
| |
Invoke the specified manipulator on the address of the value stored in the specified "nullable" object. The supplied manipulator must be a callable type that can be called as if it had the following signature:
int manipulator(VALUE_TYPE *value);
Return the value from the invocation of manipulator.
- Precondition
- The behavior is undefined unless
object does not contain a null value.