Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

bdlat::NullableValueUtil::AccessByCategoryAdapter< ACCESSOR > Class Template Reference

#include <bdlat_nullablevalueutil.h>

List of all members.

Public Member Functions

 AccessByCategoryAdapter (ACCESSOR *accessor)
template<class VALUE_TYPE >
int operator() (const VALUE_TYPE &value) const

Detailed Description

template<class ACCESSOR>
class bdlat::NullableValueUtil::AccessByCategoryAdapter< ACCESSOR >

See the class-level documentation of NullableValueUtil for the description of this component-private class template.

See Component bdlat_nullablevalueutil


Constructor & Destructor Documentation

template<class ACCESSOR >
bdlat::NullableValueUtil::AccessByCategoryAdapter< ACCESSOR >::AccessByCategoryAdapter ( ACCESSOR *  accessor  )  [explicit]

Create an AccessByCategoryAdapter object having the specified accessor attribute.


Member Function Documentation

template<class ACCESSOR >
template<class VALUE_TYPE >
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.


The documentation for this class was generated from the following file: