![]() |
![]() |
#include <RecordHelper.h>
Public Types | |
typedef coral::AttributeList | AttributeList |
![]() | |
typedef coral::AttributeList | AttributeList |
typedef void(TOutput::* | TSetMethod) (const bool) |
![]() | |
typedef coral::AttributeList | AttributeList |
Public Member Functions | |
ASCIIBoolFieldHandler (const std::string &fieldName, typename FieldHandler< TOutput, bool, char >::TSetMethod setter) | |
ASCIIBoolFieldHandler ()=delete | |
void | extractValue (const AttributeList &src, TOutput &dest) override |
![]() | |
void | extractValue (const AttributeList &src, TOutput &dest) override |
FieldHandler (const std::string &fieldName, TSetMethod setter) | |
FieldHandler ()=delete | |
![]() | |
FieldHandlerBase (const std::string &name) | |
FieldHandlerBase ()=delete | |
virtual const std::string | getColumnName () |
const std::string & | getName () |
virtual | ~FieldHandlerBase () |
Additional Inherited Members | |
![]() | |
void | call (TOutput &dest, const bool value) |
![]() | |
TSetMethod | setter_ |
A special handler for bool fields in the GT/GMT DBs. These can't be imported in the generic way because bool values are returned as char '0' for false and '1' for true from the database. Basically, all values that are != FalseCharacter are treated as true (in adherence to the venerable C tradition).
Definition at line 97 of file RecordHelper.h.
typedef coral::AttributeList ASCIIBoolFieldHandler< TOutput, FalseCharacter >::AttributeList |
Definition at line 99 of file RecordHelper.h.
|
inline |
Definition at line 100 of file RecordHelper.h.
|
delete |
|
inlineoverridevirtual |
Extract value as char, then see compare it to '0' to get its truth value.
Implements FieldHandlerBase< TOutput >.
Definition at line 106 of file RecordHelper.h.
References FieldHandler< TOutput, bool, char >::call(), gather_cfg::cout, FieldHandlerBase< TOutput >::getColumnName(), createfilelist::int, and TrackRefitter_38T_cff::src.