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).
Public Member Functions | List of all members
detail::output_adapter_protocol< CharType > Struct Template Referenceabstract

abstract output adapter interface More...

#include <json.hpp>

Inheritance diagram for detail::output_adapter_protocol< CharType >:
detail::output_stream_adapter< CharType > detail::output_string_adapter< CharType, StringType > detail::output_vector_adapter< CharType, AllocatorType >

Public Member Functions

virtual void write_character (CharType c)=0
 
virtual void write_characters (const CharType *s, std::size_t length)=0
 
virtual ~output_adapter_protocol ()=default
 
 output_adapter_protocol ()=default
 
 output_adapter_protocol (const output_adapter_protocol &)=default
 
 output_adapter_protocol (output_adapter_protocol &&) noexcept=default
 
output_adapter_protocoloperator= (const output_adapter_protocol &)=default
 
output_adapter_protocoloperator= (output_adapter_protocol &&) noexcept=default
 

Detailed Description

template<typename CharType>
struct detail::output_adapter_protocol< CharType >

abstract output adapter interface

Constructor & Destructor Documentation

◆ ~output_adapter_protocol()

template<typename CharType >
virtual detail::output_adapter_protocol< CharType >::~output_adapter_protocol ( )
virtualdefault

◆ output_adapter_protocol() [1/3]

template<typename CharType >
detail::output_adapter_protocol< CharType >::output_adapter_protocol ( )
default

◆ output_adapter_protocol() [2/3]

template<typename CharType >
detail::output_adapter_protocol< CharType >::output_adapter_protocol ( const output_adapter_protocol< CharType > &  )
default

◆ output_adapter_protocol() [3/3]

template<typename CharType >
detail::output_adapter_protocol< CharType >::output_adapter_protocol ( output_adapter_protocol< CharType > &&  )
defaultnoexcept

Member Function Documentation

◆ operator=() [1/2]

template<typename CharType >
output_adapter_protocol& detail::output_adapter_protocol< CharType >::operator= ( const output_adapter_protocol< CharType > &  )
default

◆ operator=() [2/2]

template<typename CharType >
output_adapter_protocol& detail::output_adapter_protocol< CharType >::operator= ( output_adapter_protocol< CharType > &&  )
defaultnoexcept

◆ write_character()

template<typename CharType >
virtual void detail::output_adapter_protocol< CharType >::write_character ( CharType  c)
pure virtual

◆ write_characters()

template<typename CharType >
virtual void detail::output_adapter_protocol< CharType >::write_characters ( const CharType *  s,
std::size_t  length 
)
pure virtual

The documentation for this struct was generated from the following file: