OnixS C++ CME Market Data Handler  5.4.0
API documentation
StrRefConverter Struct Reference

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

Public Member Functions

const ChartypeName () const
 
void toStr (std::string &str, const ValueContainer &container) const
 
bool convert (StrRef &ref, const ValueContainer &container) const
 
bool convert (Char &value, const ValueContainer &container) const
 
bool convert (Int8 &value, const ValueContainer &container) const
 
bool convert (UInt8 &value, const ValueContainer &container) const
 
bool convert (Int16 &value, const ValueContainer &container) const
 
bool convert (UInt16 &value, const ValueContainer &container) const
 
bool convert (Int32 &value, const ValueContainer &container) const
 
bool convert (UInt32 &value, const ValueContainer &container) const
 
bool convert (Int64 &value, const ValueContainer &container) const
 
bool convert (UInt64 &value, const ValueContainer &container) const
 
bool convert (Decimal &value, const ValueContainer &container) const
 
bool convert (Timestamp &value, const ValueContainer &container) const
 
- Public Member Functions inherited from ValueConverter
virtual bool convert (MaturityMonthYear &, const ValueContainer &) const
 

Static Public Member Functions

static const ValueConverterself ()
 

Detailed Description

Implements the value conversion abstraction for the text fields.

Definition at line 242 of file ValueConverters.h.

Member Function Documentation

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 from ValueConverter.

Definition at line 268 of file ValueConverters.h.

bool convert ( Char ,
const ValueContainer  
) const
inlinevirtual

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

Reimplemented from ValueConverter.

Definition at line 278 of file ValueConverters.h.

bool convert ( Int8 ,
const ValueContainer  
) const
inlinevirtual

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

Reimplemented from ValueConverter.

Definition at line 304 of file ValueConverters.h.

bool convert ( UInt8 ,
const ValueContainer  
) const
inlinevirtual

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

Reimplemented from ValueConverter.

Definition at line 321 of file ValueConverters.h.

bool convert ( Int16 ,
const ValueContainer  
) const
inlinevirtual

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

Reimplemented from ValueConverter.

Definition at line 338 of file ValueConverters.h.

bool convert ( UInt16 ,
const ValueContainer  
) const
inlinevirtual

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

Reimplemented from ValueConverter.

Definition at line 355 of file ValueConverters.h.

bool convert ( Int32 ,
const ValueContainer  
) const
inlinevirtual

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

Reimplemented from ValueConverter.

Definition at line 372 of file ValueConverters.h.

bool convert ( UInt32 ,
const ValueContainer  
) const
inlinevirtual

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

Reimplemented from ValueConverter.

Definition at line 389 of file ValueConverters.h.

bool convert ( Int64 &  ,
const ValueContainer  
) const
inlinevirtual

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

Reimplemented from ValueConverter.

Definition at line 406 of file ValueConverters.h.

bool convert ( UInt64 ,
const ValueContainer  
) const
inlinevirtual

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

Reimplemented from ValueConverter.

Definition at line 423 of file ValueConverters.h.

bool convert ( Decimal ,
const ValueContainer  
) const
inlinevirtual

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

Reimplemented from ValueConverter.

Definition at line 440 of file ValueConverters.h.

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 from ValueConverter.

Definition at line 457 of file ValueConverters.h.

static const ValueConverter& self ( )
inlinestatic

Definition at line 476 of file ValueConverters.h.

void toStr ( std::string &  ,
const ValueContainer  
) const
inlinevirtual

Outputs the text presentation of the FIX value stored in the given container into the given string.

Reimplemented from ValueConverter.

Definition at line 252 of file ValueConverters.h.

const Char* typeName ( ) const
inlinevirtual

The name of the type whose values are manipulated through the given converter.

Implements ValueConverter.

Definition at line 246 of file ValueConverters.h.


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