![]() |
Field that contains an integer value. More...
#include <Field.h>
Public Member Functions | |
IntField (int field, int data) | |
IntField (int field) | |
void | setValue (int value) |
int | getValue () const throw ( IncorrectDataFormat ) |
Get the string representation of the Field (i.e.) 55=MSFT[SOH]. | |
operator const int () const |
Field that contains an integer value.
Definition at line 294 of file Field.h.
FIX::IntField::IntField | ( | int | field, | |
int | data | |||
) | [inline, explicit] |
Definition at line 297 of file Field.h.
00298 : FieldBase( field, IntConvertor::convert( data ) ) {}
FIX::IntField::IntField | ( | int | field | ) | [inline] |
int FIX::IntField::getValue | ( | ) | const throw ( IncorrectDataFormat ) [inline] |
Get the string representation of the Field (i.e.) 55=MSFT[SOH].
Reimplemented from FIX::FieldBase.
Definition at line 304 of file Field.h.
00305 { try 00306 { return IntConvertor::convert( getString() ); } 00307 catch( FieldConvertError& ) 00308 { throw IncorrectDataFormat( getField(), getString() ); } }
FIX::IntField::operator const int | ( | ) | const [inline] |
void FIX::IntField::setValue | ( | int | value | ) | [inline] |
Definition at line 302 of file Field.h.
00303 { setString( IntConvertor::convert( value ) ); }