Quick Links: |
#include <bdlat_arrayutil.h>
Public Member Functions | |
AccessByCategoryAdapter (ACCESSOR *accessor) | |
template<class VALUE_TYPE > | |
int | operator() (const VALUE_TYPE &value) const |
See the class-level documentation of ArrayUtil
for the description of this component-private class template.
bdlat::ArrayUtil::AccessByCategoryAdapter< ACCESSOR >::AccessByCategoryAdapter | ( | ACCESSOR * | accessor | ) | [explicit] |
Create an AccessByCategoryAdapter
object having the specified accessor
attribute value.
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
.