|
ITCHCPP 1.6.1
High-Performance NASDAQ TotalView-ITCH 5.0 Parser & Market-Data Platform
|
Functions | |
| template<typename FieldType > | |
| auto | read_field (const std::byte *base, std::size_t offset) noexcept -> FieldType |
Reads an integral field of width sizeof(T) at offset, converting from network (big-endian) order on access. | |
| auto | read_timestamp (const std::byte *base, std::size_t offset) noexcept -> std::uint64_t |
Reads the 48-bit ITCH timestamp at offset into a 64-bit value. | |
| auto | read_stock (const std::byte *base, std::size_t offset) noexcept -> std::string_view |
| Views an 8-byte fixed-width stock field as a string_view (untrimmed). | |
Variables | |
| constexpr std::size_t | STOCK_LOCATE_OFFSET = 1 |
| constexpr std::size_t | TRACKING_NUMBER_OFFSET = 3 |
| constexpr std::size_t | TIMESTAMP_OFFSET = 5 |
|
inlinenoexcept |
Reads an integral field of width sizeof(T) at offset, converting from network (big-endian) order on access.
| FieldType | The type of the field to read. |
| base | Pointer to the start of the message frame. |
| offset | Byte offset of the field within the frame. |
Definition at line 37 of file overlay.hpp.
|
inlinenoexcept |
Reads the 48-bit ITCH timestamp at offset into a 64-bit value.
| base | Pointer to the start of the message frame. |
| offset | Byte offset of the timestamp field within the frame. |
Definition at line 53 of file overlay.hpp.
Referenced by itch::overlay::MessageView::timestamp().
|
inlinenoexcept |
Views an 8-byte fixed-width stock field as a string_view (untrimmed).
| base | Pointer to the start of the message frame. |
| offset | Byte offset of the stock field within the frame. |
Definition at line 66 of file overlay.hpp.
Referenced by itch::overlay::AddOrderView::stock(), and itch::overlay::NonCrossTradeView::stock().
|
constexpr |
Definition at line 73 of file overlay.hpp.
Referenced by itch::overlay::MessageView::stock_locate().
|
constexpr |
Definition at line 74 of file overlay.hpp.
Referenced by itch::overlay::MessageView::tracking_number().
|
constexpr |
Definition at line 75 of file overlay.hpp.
Referenced by itch::overlay::MessageView::timestamp().