53 Encoder(
const std::string & xmlTemplates,
const std::string & fixDictionaryId,
bool encodeEachMessageIndependently);
61 Encoder(
const std::string & xmlTemplates,
bool encodeEachMessageIndependently);
81 Encoder(
ProtocolVersion::Enum baseVersion,
const std::string & xmlTemplates,
const std::string & genericFixDictionaryId,
bool encodeEachMessageIndependently);
171 const std::string & xmlTemplates,
const std::string & genericFixDictionaryId,
274 const std::string & fixDictionaryId, std::string * fixDictionaryXml);
283 const std::string & fastTemplateXml,
const std::string & fixDictionaryId,
284 std::string * fixDictionaryXml);
#define ONIXS_FIXENGINE_API
Identifies the FIX messages dictionary.
bool tryDecode(const unsigned char *buffer, size_t offset, size_t count, OnixS::FIX::Message *message, size_t *numberOfDecodedBytes)
const OnixS::FIX::Message & decode(const unsigned char *buffer, size_t bufferSize)
Decoder(const std::string &xmlTemplates, const OnixS::FIX::Dictionary &fixDictionary, bool decodeEachMessageIndependently, InputDataTraits::Enum inputDataTraits)
void maximumNumberOfRepeatingGroupEntries(int value)
const OnixS::FIX::Message & decode(const std::vector< char > &chunk)
static void generateFixDictionary(const std::string &fastTemplateXml, const std::string &fixDictionaryId, std::string *fixDictionaryXml)
const OnixS::FIX::Message & decode(const char *buffer, size_t bufferSize)
Decoder(const std::string &xmlTemplates, bool decodeEachMessageIndependently, InputDataTraits::Enum inputDataTraits)
Decoder(ProtocolVersion::Enum baseVersionForGeneratedDictionary, const std::string &xmlTemplates, const std::string &genericFixDictionaryId, bool decodeEachMessageIndependently, InputDataTraits::Enum inputDataTraits)
InputDataTraits::Enum inputDataTraits() const
static bool tryDecodeUnsignedInteger(const char *buffer, size_t bufferSize, unsigned int *value, size_t *fieldLength)
int maximumNumberOfRepeatingGroupEntries() const
friend ONIXS_FIXENGINE_API_DECL(class, OnixS::FIX::Dictionary)
static void generateFixDictionary(ProtocolVersion::Enum baseVersion, const std::string &fastTemplateXml, const std::string &fixDictionaryId, std::string *fixDictionaryXml)
static bool tryDecodeUnsignedInteger(const unsigned char *buffer, size_t bufferSize, unsigned int *value, size_t *fieldLength)
OnixS::FIX::Dictionary fixDictionary() const
Decoder(ProtocolVersion::Enum baseVersionForGeneratedDictionary, const std::string &xmlTemplates, bool decodeEachMessageIndependently, InputDataTraits::Enum inputDataTraits)
bool tryDecode(const char *buffer, size_t offset, size_t count, OnixS::FIX::Message *message, size_t *numberOfDecodedBytes)
const OnixS::FIX::Message & decode(const OnixS::Sockets::Bytes &chunk)
~Decoder()
The destructor.
~Encoder(void)
The destructor.
size_t encode(const OnixS::FIX::Message &fixMessage, int templateID, char *buffer, size_t bufferSize)
size_t encode(const OnixS::FIX::Message &fixMessage, char *buffer, size_t bufferSize)
Encoder(ProtocolVersion::Enum baseVersion, const std::string &xmlTemplates, bool encodeEachMessageIndependently)
Encoder(const std::string &xmlTemplates, ProtocolVersion::Enum fixVersion, bool encodeEachMessageIndependently)
size_t encode(const OnixS::FIX::Message &fixMessage, unsigned char *buffer, size_t bufferSize)
Encoder(ProtocolVersion::Enum baseVersion, const std::string &xmlTemplates, const std::string &genericFixDictionaryId, bool encodeEachMessageIndependently)
Encoder(const std::string &xmlTemplates, bool encodeEachMessageIndependently)
size_t encode(const OnixS::FIX::Message &fixMessage, int templateID, unsigned char *buffer, size_t bufferSize)
friend ONIXS_FIXENGINE_API_DECL(class, OnixS::FIX::Dictionary)
OnixS::FIX::Dictionary fixDictionary() const
Encoder(const std::string &xmlTemplates, const std::string &fixDictionaryId, bool encodeEachMessageIndependently)
ONIXS_FIXENGINE_API_DECL(class, IEngineListener)
std::vector< Byte > Bytes
Sequence of bytes.