Orderbook Simulation
OrderbookSim is a C++ application simulating a financial market order book. It efficiently manages and matches buy and sell orders while calculating the Volume-Weighted Average Price (VWAP).
|
deserialization of CBOR, MessagePack, and UBJSON values More...
#include <json.hpp>
Public Member Functions | |
binary_reader (InputAdapterType &&adapter, const input_format_t format=input_format_t::json) noexcept | |
create a binary reader More... | |
binary_reader (const binary_reader &)=delete | |
binary_reader (binary_reader &&)=default | |
binary_reader & | operator= (const binary_reader &)=delete |
binary_reader & | operator= (binary_reader &&)=default |
~binary_reader ()=default | |
bool | sax_parse (const input_format_t format, json_sax_t *sax_, const bool strict=true, const cbor_tag_handler_t tag_handler=cbor_tag_handler_t::error) |
deserialization of CBOR, MessagePack, and UBJSON values
|
inlineexplicitnoexcept |
create a binary reader
[in] | adapter | input adapter to read from |
|
delete |
|
default |
|
default |
|
default |
|
delete |
|
inline |
[in] | format | the binary format to parse |
[in] | sax_ | a SAX event processor |
[in] | strict | whether to expect the input to be consumed completed |
[in] | tag_handler | how to treat CBOR tags |