![]() |
Field that contains a double value. More...
#include <Field.h>
Public Member Functions | |
DoubleField (int field, double data, int padding=0) | |
DoubleField (int field) | |
void | setValue (double value, int padding=0) |
double | getValue () const throw ( IncorrectDataFormat ) |
Get the string representation of the Field (i.e.) 55=MSFT[SOH]. | |
operator double () const |
Field that contains a double value.
Definition at line 274 of file Field.h.
FIX::DoubleField::DoubleField | ( | int | field, | |
double | data, | |||
int | padding = 0 | |||
) | [inline, explicit] |
Definition at line 277 of file Field.h.
00278 : FieldBase( field, DoubleConvertor::convert( data, padding ) ) {}
FIX::DoubleField::DoubleField | ( | int | field | ) | [inline] |
double FIX::DoubleField::getValue | ( | ) | const throw ( IncorrectDataFormat ) [inline] |
Get the string representation of the Field (i.e.) 55=MSFT[SOH].
Reimplemented from FIX::FieldBase.
Definition at line 284 of file Field.h.
00285 { try 00286 { return DoubleConvertor::convert( getString() ); } 00287 catch( FieldConvertError& ) 00288 { throw IncorrectDataFormat( getField(), getString() ); } }
FIX::DoubleField::operator double | ( | ) | const [inline] |
void FIX::DoubleField::setValue | ( | double | value, | |
int | padding = 0 | |||
) | [inline] |
Definition at line 282 of file Field.h.
00283 { setString( DoubleConvertor::convert( value, padding ) ); }