![]() |
Field that contains a boolean value. More...
#include <Field.h>
Public Member Functions | |
BoolField (int field, bool data) | |
BoolField (int field) | |
void | setValue (bool value) |
bool | getValue () const throw ( IncorrectDataFormat ) |
Get the string representation of the Field (i.e.) 55=MSFT[SOH]. | |
operator bool () const |
Field that contains a boolean value.
Definition at line 314 of file Field.h.
FIX::BoolField::BoolField | ( | int | field, | |
bool | data | |||
) | [inline, explicit] |
Definition at line 317 of file Field.h.
00318 : FieldBase( field, BoolConvertor::convert( data ) ) {}
FIX::BoolField::BoolField | ( | int | field | ) | [inline] |
bool FIX::BoolField::getValue | ( | ) | const throw ( IncorrectDataFormat ) [inline] |
Get the string representation of the Field (i.e.) 55=MSFT[SOH].
Reimplemented from FIX::FieldBase.
Definition at line 324 of file Field.h.
00325 { try 00326 { return BoolConvertor::convert( getString() ); } 00327 catch( FieldConvertError& ) 00328 { throw IncorrectDataFormat( getField(), getString() ); } }
FIX::BoolField::operator bool | ( | ) | const [inline] |
void FIX::BoolField::setValue | ( | bool | value | ) | [inline] |
Definition at line 322 of file Field.h.
00323 { setString( BoolConvertor::convert( value ) ); }