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

FIX::UtcTimeStampField Class Reference

Field that contains a UTC time stamp value. More...

#include <Field.h>

Inheritance diagram for FIX::UtcTimeStampField:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

 operator UtcTimeStamp () const
bool operator< (const UtcTimeStampField &rhs) const
bool operator== (const UtcTimeStampField &rhs) const
bool operator!= (const UtcTimeStampField &rhs) const

Detailed Description

Field that contains a UTC time stamp value.

Definition at line 332 of file Field.h.


Constructor & Destructor Documentation

FIX::UtcTimeStampField::UtcTimeStampField int  field,
const UtcTimeStamp data,
bool  showMilliseconds = false
[inline, explicit]
 

Definition at line 335 of file Field.h.

00336 : FieldBase( field, UtcTimeStampConvertor::convert( data, showMilliseconds ) ) {}

FIX::UtcTimeStampField::UtcTimeStampField int  field,
bool  showMilliseconds = false
[inline]
 

Definition at line 337 of file Field.h.

00338 : FieldBase( field, UtcTimeStampConvertor::convert( UtcTimeStamp(), showMilliseconds ) ) {}


Member Function Documentation

UtcTimeStamp FIX::UtcTimeStampField::getValue  )  const throw ( IncorrectDataFormat ) [inline]
 

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

Reimplemented from FIX::FieldBase.

Definition at line 342 of file Field.h.

Referenced by operator!=(), operator<(), and operator==().

00343     { try
00344       { return UtcTimeStampConvertor::convert( getString() ); }
00345       catch( FieldConvertError& )
00346       { throw IncorrectDataFormat( getField() ); } }

FIX::UtcTimeStampField::operator UtcTimeStamp  )  const [inline]
 

Definition at line 347 of file Field.h.

00348     { return getValue(); }

bool FIX::UtcTimeStampField::operator!= const UtcTimeStampField rhs  )  const [inline]
 

Definition at line 354 of file Field.h.

References getValue().

00355     { return getValue() != rhs.getValue(); }

bool FIX::UtcTimeStampField::operator< const UtcTimeStampField rhs  )  const [inline]
 

Definition at line 350 of file Field.h.

References getValue().

00351     { return getValue() < rhs.getValue(); }

bool FIX::UtcTimeStampField::operator== const UtcTimeStampField rhs  )  const [inline]
 

Definition at line 352 of file Field.h.

References getValue().

00353     { return getValue() == rhs.getValue(); }

void FIX::UtcTimeStampField::setValue UtcTimeStamp value  )  [inline]
 

Definition at line 340 of file Field.h.

00341     { setString( UtcTimeStampConvertor::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