Quick Links: |
#include <bdlat_nullablevalueutil.h>
Public Member Functions | |
AccessByCategoryAdapter (ACCESSOR *accessor) | |
template<class VALUE_TYPE > | |
int | operator() (const VALUE_TYPE &value) const |
See the class-level documentation of NullableValueUtil
for the description of this component-private class template.
See Component bdlat_nullablevalueutil
bdlat::NullableValueUtil::AccessByCategoryAdapter< ACCESSOR >::AccessByCategoryAdapter | ( | ACCESSOR * | accessor | ) | [explicit] |
Create an AccessByCategoryAdapter
object having the specified accessor
attribute.
int bdlat::NullableValueUtil::AccessByCategoryAdapter< ACCESSOR >::operator() | ( | const VALUE_TYPE & | value | ) | const |
Invoke the accessor
of this object with the specified value
and a prvalue of the category tag type for its dynamic category. Return the value from the invocation of accessor
.