Public Member Functions
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)
char getValue () const throw ( IncorrectDataFormat )
 operator char () const

Detailed Description

Field that contains a character value.

Definition at line 312 of file Field.h.


Constructor & Destructor Documentation

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

Definition at line 315 of file Field.h.

: FieldBase( field, CharConvertor::convert( data ) ) {}
FIX::CharField::CharField ( int  field) [inline]

Definition at line 317 of file Field.h.

: FieldBase( field, "" ) {}

Member Function Documentation

char FIX::CharField::getValue ( ) const throw ( IncorrectDataFormat ) [inline]

Definition at line 322 of file Field.h.

References FIX::CharConvertor::convert(), FIX::FieldBase::getField(), and FIX::FieldBase::getString().

Referenced by operator char().

    { try
      { return CharConvertor::convert( getString() ); }
      catch( FieldConvertError& )
      { throw IncorrectDataFormat( getField(), getString() ); } }
FIX::CharField::operator char ( ) const [inline]

Definition at line 327 of file Field.h.

References getValue().

    { return getValue(); }
void FIX::CharField::setValue ( char  value) [inline]

Definition at line 320 of file Field.h.

References FIX::CharConvertor::convert(), and FIX::FieldBase::setString().


The documentation for this class was generated from the following file:

Generated on Mon Jun 23 2014 23:49:39 for QuickFIX by doxygen 1.7.6.1 written by Dimitri van Heesch, © 1997-2001