OnixS C++ CME MDP Conflated UDP Handler  1.1.2
API documentation
ValueConverter Struct Referenceabstract

#include <OnixS/CME/ConflatedUDP/FIX/ValueConverters.h>

Public Member Functions

virtual const ChartypeName () const =0
 
virtual void toStr (std::string &, const ValueContainer &) const
 
virtual bool convert (StrRef &, const ValueContainer &) const
 
virtual bool convert (Char &, const ValueContainer &) const
 
virtual bool convert (Int8 &, const ValueContainer &) const
 
virtual bool convert (UInt8 &, const ValueContainer &) const
 
virtual bool convert (Int16 &, const ValueContainer &) const
 
virtual bool convert (UInt16 &, const ValueContainer &) const
 
virtual bool convert (Int32 &, const ValueContainer &) const
 
virtual bool convert (UInt32 &, const ValueContainer &) const
 
virtual bool convert (Int64 &, const ValueContainer &) const
 
virtual bool convert (UInt64 &, const ValueContainer &) const
 
virtual bool convert (Decimal &, const ValueContainer &) const
 
virtual bool convert (Timestamp &, const ValueContainer &) const
 
virtual bool convert (MaturityMonthYear &, const ValueContainer &) const
 

Detailed Description

Abstraction gathering operations over a value of a particular type stored as a field in a message.

Definition at line 39 of file ValueConverters.h.

Member Function Documentation

virtual bool convert ( StrRef ,
const ValueContainer  
) const
inlinevirtual

Tries to convert the value stored in the given container into the string reference. The returned value indicates whether the conversion successful.

Reimplemented in CharConverter, and StrRefConverter.

Definition at line 63 of file ValueConverters.h.

virtual bool convert ( Timestamp ,
const ValueContainer  
) const
inlinevirtual

Tries to convert the value stored in the given container into a timestamp. The returned value indicates whether the conversion successful.

Reimplemented in TimestampConverter, CharConverter, and StrRefConverter.

Definition at line 195 of file ValueConverters.h.

virtual bool convert ( MaturityMonthYear ,
const ValueContainer  
) const
inlinevirtual

Tries to convert the value stored in the given container into a month-year. The returned value indicates whether the conversion successful.

Reimplemented in MaturityMonthYearConverter.

Definition at line 207 of file ValueConverters.h.

virtual const Char* typeName ( ) const
pure virtual

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