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

FIX::CheckSumField Class Reference

Field that contains a checksum value. More...

#include <Field.h>

Inheritance diagram for FIX::CheckSumField:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CheckSumField (int field, int data)
 CheckSumField (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 a checksum value.

Definition at line 413 of file Field.h.


Constructor & Destructor Documentation

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

Definition at line 416 of file Field.h.

00417 : FieldBase( field, CheckSumConvertor::convert( data ) ) {}

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

Definition at line 418 of file Field.h.

00419 : FieldBase( field, "" ) {}


Member Function Documentation

const int FIX::CheckSumField::getValue  )  const throw ( IncorrectDataFormat ) [inline]
 

Get the string representation of the Field (i.e.) 55=MSFT[SOH].

Reimplemented from FIX::FieldBase.

Definition at line 423 of file Field.h.

00424     { try
00425       { return CheckSumConvertor::convert( getString() ); }
00426       catch( FieldConvertError& )
00427       { throw IncorrectDataFormat( getField() ); } }

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

Definition at line 428 of file Field.h.

00429     { return getValue(); }

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

Definition at line 421 of file Field.h.

00422     { setString( CheckSumConvertor::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