#include <RecordHelper.h>
Public Types | |
typedef coral::AttributeList | AttributeList |
typedef void(TOutput::* | TSetMethod) (const TCField) |
Public Types inherited from FieldHandlerBase< TOutput > | |
typedef coral::AttributeList | AttributeList |
Public Member Functions | |
void | extractValue (const AttributeList &src, TOutput &dest) override |
FieldHandler (const std::string &fieldName, TSetMethod setter) | |
FieldHandler ()=delete | |
Public Member Functions inherited from FieldHandlerBase< TOutput > | |
FieldHandlerBase (const std::string &name) | |
FieldHandlerBase ()=delete | |
virtual const std::string | getColumnName () |
const std::string & | getName () |
virtual | ~FieldHandlerBase () |
Protected Member Functions | |
void | call (TOutput &dest, const TCField value) |
Protected Attributes | |
TSetMethod | setter_ = nullptr |
A template field handler that simply
Definition at line 60 of file RecordHelper.h.
typedef coral::AttributeList FieldHandler< TOutput, TCField, TDBField >::AttributeList |
Definition at line 62 of file RecordHelper.h.
typedef void(TOutput::* FieldHandler< TOutput, TCField, TDBField >::TSetMethod) (const TCField) |
Definition at line 63 of file RecordHelper.h.
|
inline |
Definition at line 65 of file RecordHelper.h.
|
delete |
|
inlineprotected |
Definition at line 85 of file RecordHelper.h.
Referenced by FieldHandler< TOutput, bool, char >::extractValue().
|
inlineoverridevirtual |
Actual data extraction.
Implements FieldHandlerBase< TOutput >.
Definition at line 71 of file RecordHelper.h.
|
protected |
Points to the setter method used to stuff the field's value into the destination object.
Definition at line 88 of file RecordHelper.h.
Referenced by FieldHandler< TOutput, bool, char >::call().