61 unsigned char * buffer,
size_t bufferSize,
size_t * rootBlockLength)
const;
74 unsigned char* buffer,
size_t bufferSize,
size_t* rootBlockLength)
const;
141 const unsigned char * buffer,
size_t bufferSize,
size_t * numberOfDecodedBytes =
nullptr)
const;
160 int *templateId =
nullptr,
int *version =
nullptr)
const;
179 bool tryDecode(
int templateId,
int version,
size_t rootBlockLength,
181 size_t * numberOfDecodedBytes)
const;
221 const std::string & sbeTemplateXml);
#define ONIXS_FIXENGINE_API
Identifies the FIX messages dictionary.
static Dictionary generateFixDictionary(ProtocolVersion::Enum baseVersion, const std::string &sbeTemplateXml)
unsigned schemaVersion() const
The maximum known version of the SBE schema.
const OnixS::FIX::Message & decode(const unsigned char *buffer, size_t bufferSize, size_t *numberOfDecodedBytes=nullptr, int *templateId=nullptr, int *version=nullptr) const
Decoder(ProtocolVersion::Enum baseVersion, const std::string &xmlTemplates, ISbeCustomCoderLibrary *customCoders=nullptr)
Decoder(const std::string &xmlTemplates, ISbeCustomCoderLibrary *customCoders=nullptr)
unsigned schemaId() const
The schema identifier.
Decoder(const std::string &xmlTemplates, const OnixS::FIX::Dictionary &fixDictionary, ISbeCustomCoderLibrary *customCoders=nullptr)
static Dictionary generateFixDictionary(const std::string &sbeTemplateXml)
void maximumNumberOfRepeatingGroupEntries(int value)
bool tryDecode(int templateId, int version, size_t rootBlockLength, const unsigned char *buffer, size_t offset, size_t count, OnixS::FIX::Message *message, size_t *numberOfDecodedBytes) const
int maximumNumberOfRepeatingGroupEntries() const
friend ONIXS_FIXENGINE_API_DECL(class, OnixS::FIX::Dictionary)
OnixS::FIX::Dictionary fixDictionary() const
const OnixS::FIX::Message & decode(int templateId, int version, size_t rootBlockLength, const unsigned char *buffer, size_t bufferSize, size_t *numberOfDecodedBytes=nullptr) const
std::string schemaHeaderType() const
std::string schemaSemanticVersion() const
The semantic version of the SBE schema.
~Decoder()
The destructor.
Encoder(const std::string &xmlTemplates, ISbeCustomCoderLibrary *customCoders=nullptr)
~Encoder(void)
Destructor.
unsigned schemaVersion() const
The maximum known version of the SBE schema.
unsigned schemaId() const
The schema identifier.
size_t encode(const OnixS::FIX::Message &fixMessage, int templateID, int version, unsigned char *buffer, size_t bufferSize, size_t *rootBlockLength) const
std::string schemaHeaderType() const
std::string schemaSemanticVersion() const
The semantic version of the SBE schema.
size_t encodeWithHeader(const OnixS::FIX::Message &fixMessage, int templateID, int version, unsigned char *buffer, size_t bufferSize, size_t *rootBlockLength) const
The library that contains user-defined SBE coders.
ONIXS_FIXENGINE_API_DECL(class, IEngineListener)