Public Member Functions | |
| Decoder (const std::string &xmlTemplates, FIXForge::FIX::Version fixVersion, bool decodeEachMessageIndependently) | |
| Constructor. | |
| ~Decoder (void) | |
| Destructor. | |
| const FIXForge::FIX::Message & | decode (const char *buffer, size_t bufferSize) |
| Decodes the given FAST 1.1 stream chunk into the corresponding FIX Message. | |
| const FIXForge::FIX::Message & | decode (const std::vector< char > &chunk) |
| Decodes the given FAST 1.1 stream chunk into the corresponding FIX Message. | |
| bool | decode (const char *buffer, size_t offset, size_t count, const FIXForge::FIX::Message **message, size_t *chunkLengh) |
| void | reset () |
| Resets the state of the previous values dictionaries (sets the state of the previous values to undefined). | |
Static Public Member Functions | |
| static bool | decodeUnsignedInteger (const char *buffer, size_t bufferSize, unsigned int *value, size_t *fieldLength) |
| Decoded the FAST-encoded unsigned integer. | |
Definition at line 77 of file FAST_1-1.h.
| Decoder | ( | const std::string & | xmlTemplates, | |
| FIXForge::FIX::Version | fixVersion, | |||
| bool | decodeEachMessageIndependently | |||
| ) |
| ~Decoder | ( | void | ) |
Destructor.
| const FIXForge::FIX::Message& decode | ( | const char * | buffer, | |
| size_t | bufferSize | |||
| ) |
Decodes the given FAST 1.1 stream chunk into the corresponding FIX Message.
| buffer | Buffer that contains the FAST stream chunk to be decoded. | |
| bufferSize | Size of the buffer. |
| EngineException | if the message cannot be decoded. |
| const FIXForge::FIX::Message& decode | ( | const std::vector< char > & | chunk | ) |
Decodes the given FAST 1.1 stream chunk into the corresponding FIX Message.
| chunk | The FAST stream chunk to be decoded. |
| EngineException | if the message cannot be decoded. |
| bool decode | ( | const char * | buffer, | |
| size_t | offset, | |||
| size_t | count, | |||
| const FIXForge::FIX::Message ** | message, | |||
| size_t * | chunkLengh | |||
| ) |
| static bool decodeUnsignedInteger | ( | const char * | buffer, | |
| size_t | bufferSize, | |||
| unsigned int * | value, | |||
| size_t * | fieldLength | |||
| ) | [static] |
Decoded the FAST-encoded unsigned integer.
| buffer | Buffer that contains the FAST stream chunk to be decoded. | |
| bufferSize | Size of the buffer. | |
| value | Decoded value. | |
| fieldLength | Number of bytes that contained the encoded value. |
| void reset | ( | ) |
Resets the state of the previous values dictionaries (sets the state of the previous values to undefined).
1.5.2