#define ONIXS_CMEMDH_NAMESPACE_BEGIN
#define ONIXS_CMEMDH_NAMESPACE_END
#define ONIXS_CMEMDH_EXPORTED
#define ONIXS_CMEMDH_NODISCARD
Serves as a factory for book of given type.
void consolidate(ConsolidatedBook &consolidated, const DirectBook &direct, const ImpliedBook &implied)
Rebuilds a consolidated book from direct and implied books.
MbpBook< ImpliedPriceLevel, MbpBookDepth > ImpliedBook
Defines implied book.
void toFormattedStr(std::string &str, const ConsolidatedBook &book)
Appends a human-readable formatted serialization of a consolidated book to a string.
MbpBookFactory< ConsolidatedPriceLevel, MbpBookDepth > ConsolidatedBookFactory
Allocates and constructs consolidated books with contiguous level storage.
void brief(std::string &str, const ConsolidatedBook &book)
Appends a compact summary of a consolidated book to a string.
MbpBook< DirectPriceLevel, MbpBookDepth > DirectBook
Multi-depth order book containing direct price levels.
MbpBook< ConsolidatedPriceLevel, MbpBookDepth > ConsolidatedBook
Consolidated multi-depth order book.
void toStr(std::string &str, BookState::Enum bookState)
Appends a string representation of a book state.