Quick Links:

bal | bbl | bdl | bsl

Public Member Functions

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

#include <bdlat_arrayutil.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::ArrayUtil::AccessByCategoryAdapter< ACCESSOR >

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

See Component bdlat_arrayutil


Constructor & Destructor Documentation

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

Create an AccessByCategoryAdapter object having the specified accessor attribute value.


Member Function Documentation

template<class ACCESSOR >
template<class VALUE_TYPE >
int bdlat::ArrayUtil::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 the accessor.


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