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 | Friends | List of all members
detail::primitive_iterator_t Class Reference

#include <json.hpp>

Public Member Functions

constexpr difference_type get_value () const noexcept
 
void set_begin () noexcept
 set iterator to a defined beginning More...
 
void set_end () noexcept
 set iterator to a defined past the end More...
 
constexpr bool is_begin () const noexcept
 return whether the iterator can be dereferenced More...
 
constexpr bool is_end () const noexcept
 return whether the iterator is at end More...
 
primitive_iterator_t operator+ (difference_type n) noexcept
 
primitive_iterator_toperator++ () noexcept
 
primitive_iterator_t operator++ (int) &noexcept
 
primitive_iterator_toperator-- () noexcept
 
primitive_iterator_t operator-- (int) &noexcept
 
primitive_iterator_toperator+= (difference_type n) noexcept
 
primitive_iterator_toperator-= (difference_type n) noexcept
 

Friends

constexpr friend bool operator== (primitive_iterator_t lhs, primitive_iterator_t rhs) noexcept
 
constexpr friend bool operator< (primitive_iterator_t lhs, primitive_iterator_t rhs) noexcept
 
constexpr friend difference_type operator- (primitive_iterator_t lhs, primitive_iterator_t rhs) noexcept
 

Member Function Documentation

◆ get_value()

constexpr difference_type detail::primitive_iterator_t::get_value ( ) const
inlineconstexprnoexcept

◆ is_begin()

constexpr bool detail::primitive_iterator_t::is_begin ( ) const
inlineconstexprnoexcept

return whether the iterator can be dereferenced

◆ is_end()

constexpr bool detail::primitive_iterator_t::is_end ( ) const
inlineconstexprnoexcept

return whether the iterator is at end

◆ operator+()

primitive_iterator_t detail::primitive_iterator_t::operator+ ( difference_type  n)
inlinenoexcept

◆ operator++() [1/2]

primitive_iterator_t& detail::primitive_iterator_t::operator++ ( )
inlinenoexcept

◆ operator++() [2/2]

primitive_iterator_t detail::primitive_iterator_t::operator++ ( int  ) &
inlinenoexcept

◆ operator+=()

primitive_iterator_t& detail::primitive_iterator_t::operator+= ( difference_type  n)
inlinenoexcept

◆ operator--() [1/2]

primitive_iterator_t& detail::primitive_iterator_t::operator-- ( )
inlinenoexcept

◆ operator--() [2/2]

primitive_iterator_t detail::primitive_iterator_t::operator-- ( int  ) &
inlinenoexcept

◆ operator-=()

primitive_iterator_t& detail::primitive_iterator_t::operator-= ( difference_type  n)
inlinenoexcept

◆ set_begin()

void detail::primitive_iterator_t::set_begin ( )
inlinenoexcept

set iterator to a defined beginning

◆ set_end()

void detail::primitive_iterator_t::set_end ( )
inlinenoexcept

set iterator to a defined past the end

Friends And Related Function Documentation

◆ operator-

constexpr friend difference_type operator- ( primitive_iterator_t  lhs,
primitive_iterator_t  rhs 
)
friend

◆ operator<

constexpr friend bool operator< ( primitive_iterator_t  lhs,
primitive_iterator_t  rhs 
)
friend

◆ operator==

constexpr friend bool operator== ( primitive_iterator_t  lhs,
primitive_iterator_t  rhs 
)
friend

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