![]() |
Field that contains a character value. More...
#include <Field.h>
Public Member Functions | |
CharField (int field, char data) | |
CharField (int field) | |
void | setValue (char value) |
char | getValue () const throw ( IncorrectDataFormat ) |
Get the string representation of the Field (i.e.) 55=MSFT[SOH]. | |
operator char () const |
Field that contains a character value.
Definition at line 254 of file Field.h.
FIX::CharField::CharField | ( | int | field, | |
char | data | |||
) | [inline, explicit] |
Definition at line 257 of file Field.h.
00258 : FieldBase( field, CharConvertor::convert( data ) ) {}
FIX::CharField::CharField | ( | int | field | ) | [inline] |
char FIX::CharField::getValue | ( | ) | const throw ( IncorrectDataFormat ) [inline] |
Get the string representation of the Field (i.e.) 55=MSFT[SOH].
Reimplemented from FIX::FieldBase.
Definition at line 264 of file Field.h.
00265 { try 00266 { return CharConvertor::convert( getString() ); } 00267 catch( FieldConvertError& ) 00268 { throw IncorrectDataFormat( getField(), getString() ); } }
FIX::CharField::operator char | ( | ) | const [inline] |
void FIX::CharField::setValue | ( | char | value | ) | [inline] |
Definition at line 262 of file Field.h.
00263 { setString( CharConvertor::convert( value ) ); }