Index  Source Files  Annotated Class List  Alphabetical Class List  Class Hierarchy  Graphical Class Hierarchy   
 

FIX::IntField Class Reference

Field that contains an integer value. More...

#include <Field.h>

Inheritance diagram for FIX::IntField:

Inheritance graph
[legend]
Collaboration diagram for FIX::IntField:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 IntField (int field, int data)
 IntField (int field)
void setValue (int value)
const int getValue () const throw ( IncorrectDataFormat )
 Get the string representation of the Field (i.e.) 55=MSFT[SOH].

 operator const int () const

Detailed Description

Field that contains an integer value.

Definition at line 292 of file Field.h.


Constructor & Destructor Documentation

FIX::IntField::IntField int  field,
int  data
[inline, explicit]
 

Definition at line 295 of file Field.h.

00296 : FieldBase( field, IntConvertor::convert( data ) ) {}

FIX::IntField::IntField int  field  )  [inline]
 

Definition at line 297 of file Field.h.

00298 : FieldBase( field, "" ) {}


Member Function Documentation

const 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 302 of file Field.h.

00303     { try
00304       { return IntConvertor::convert( getString() ); }
00305       catch( FieldConvertError& )
00306       { throw IncorrectDataFormat( getField() ); } }

FIX::IntField::operator const int  )  const [inline]
 

Definition at line 307 of file Field.h.

00308     { return getValue(); }

void FIX::IntField::setValue int  value  )  [inline]
 

Definition at line 300 of file Field.h.

00301     { setString( IntConvertor::convert( value ) ); }


The documentation for this class was generated from the following file:
Generated on Mon Jul 24 19:36:42 2006 for QuickFIX by doxygen 1.3.6-20040222 written by Dimitri van Heesch, © 1997-2001