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

FIX::BoolField Class Reference

Field that contains a boolean value. More...

#include <Field.h>

Inheritance diagram for FIX::BoolField:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

 operator const bool () const

Detailed Description

Field that contains a boolean value.

Definition at line 312 of file Field.h.


Constructor & Destructor Documentation

FIX::BoolField::BoolField int  field,
bool  data
[inline, explicit]
 

Definition at line 315 of file Field.h.

00316 : FieldBase( field, BoolConvertor::convert( data ) ) {}

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

Definition at line 317 of file Field.h.

00318 : FieldBase( field, "" ) {}


Member Function Documentation

const bool FIX::BoolField::getValue  )  const throw ( IncorrectDataFormat ) [inline]
 

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

Reimplemented from FIX::FieldBase.

Definition at line 322 of file Field.h.

00323     { try
00324       { return BoolConvertor::convert( getString() ); }
00325       catch( FieldConvertError& )
00326       { throw IncorrectDataFormat( getField() ); } }

FIX::BoolField::operator const bool  )  const [inline]
 

Definition at line 327 of file Field.h.

00328     { return getValue(); }

void FIX::BoolField::setValue bool  value  )  [inline]
 

Definition at line 320 of file Field.h.

00321     { setString( BoolConvertor::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