OnixS C++ FIX Engine  4.12.0
API Documentation
ISbeFieldDecoder Class Referenceabstract

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

Public Member Functions

virtual ~ISbeFieldDecoder () ONIXS_FIXENGINE_DEFAULT
 
virtual size_t decode (SbeFieldDecoderOutput output, unsigned version, const void *data, size_t available)=0
 

Detailed Description

The interface must be implemented by the custom decoder that decodes a FIX field.

The decoder is attached to the particular field during the ISbeCustomCoderLibrary::queryDecoder.

Definition at line 821 of file SbeCustomization.h.

Constructor & Destructor Documentation

virtual ~ISbeFieldDecoder ( )
virtual

The destructor.

Member Function Documentation

virtual size_t decode ( SbeFieldDecoderOutput  output,
unsigned  version,
const void *  data,
size_t  available 
)
pure virtual

Decode data for the field.

This method is used to read wire-level data and convert it into the FIX field value. The core decoder calls it if the user code provided the custom decoder for the particular FIX field.

Parameters
outputThe destination for the decoded data.
versionThe version of the message being decoded.
dataThe wire-level data.
availableThe number of wire-level bytes available to analyze.
Returns
The number of used bytes.

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