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

FIX::CharField Class Reference

Field that contains a character value. More...

#include <Field.h>

Inheritance diagram for FIX::CharField:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

 operator const char () const

Detailed Description

Field that contains a character value.

Definition at line 252 of file Field.h.


Constructor & Destructor Documentation

FIX::CharField::CharField int  field,
char  data
[inline, explicit]
 

Definition at line 255 of file Field.h.

00256 : FieldBase( field, CharConvertor::convert( data ) ) {}

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

Definition at line 257 of file Field.h.

00258 : FieldBase( field, "" ) {}


Member Function Documentation

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

00263     { try
00264       { return CharConvertor::convert( getString() ); }
00265       catch( FieldConvertError& )
00266       { throw IncorrectDataFormat( getField() ); } }

FIX::CharField::operator const char  )  const [inline]
 

Definition at line 267 of file Field.h.

00268     { return getValue(); }

void FIX::CharField::setValue char  value  )  [inline]
 

Definition at line 260 of file Field.h.

00261     { setString( CharConvertor::convert( value ) ); }


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