OnixS C++ FIX Engine  4.10.1
API Documentation
SbeFieldCodingSettings Class Reference

#include <OnixS/FIXEngine/FIX/SbeCustomization.h>

Public Member Functions

 ~SbeFieldCodingSettings () ONIXS_FIXENGINE_DEFAULT
 
The handling of named values.

The methods control how to handle fields that uses the name-value mapping.

Such fields are set and enumeration fields.

  • When value names are not used externally (default) the raw value is exported to the FIX message by the decoder or expected by the encoder.
  • When value names are used externally, the associated names are exported to FIX messages by the decoder and expected by the encoder.
void useValueNamesExternally (bool)
 
bool useValueNamesExternally () const
 
The Usage of the formatted date and time.

The methods control how to handle fields that represents the date and time.

  • When usage of the formatted date and time specified (default), the raw value formatted into the FIX-aware format like YYYYMMDD, etc. in dependency on the semantic type of the field. The formatted timestamps are produced by the decoder and expected by the encoder.
  • When usage of the formatted date and time is not specified, the raw numeric data is exported to the FIX message by the decoder without an additional handling. The encoder also expects numeric data in such fields.
void useFormattedDateTime (bool)
 
bool useFormattedDateTime () const
 

Friends

SbeFieldCodingSettings createSbeFieldCodingSettings (void *)
 

Detailed Description

The class allows to control different aspects of the coding without usage of custom coders. The request for the management is issued for each field of all FIX messages unless the coding library has been provided a custom coder for the given FIX field.

Definition at line 529 of file SbeCustomization.h.

Constructor & Destructor Documentation

Member Function Documentation

void useFormattedDateTime ( bool  )

Controls the usage of the formatted date and time.

bool useFormattedDateTime ( ) const

Checks if the formatted date and time used.

void useValueNamesExternally ( bool  )

Controls the usage of value names.

bool useValueNamesExternally ( ) const

Checks if the value names are used externally.

Friends And Related Function Documentation

SbeFieldCodingSettings createSbeFieldCodingSettings ( void *  )
friend

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