CppTrader  1.0.4.0
C++ Trader
Public Member Functions | Public Attributes | Friends | List of all members
CppTrader::Matching::LevelUpdate Struct Reference

Price level update. More...

#include <level.h>

Public Member Functions

 LevelUpdate (UpdateType type, const Level &update, bool top) noexcept
 
 LevelUpdate (const LevelUpdate &) noexcept=default
 
 LevelUpdate (LevelUpdate &&) noexcept=default
 
 ~LevelUpdate () noexcept=default
 
LevelUpdateoperator= (const LevelUpdate &) noexcept=default
 
LevelUpdateoperator= (LevelUpdate &&) noexcept=default
 

Public Attributes

UpdateType Type
 Update type. More...
 
Level Update
 Level update value. More...
 
bool Top
 Top of the book flag. More...
 

Friends

template<class TOutputStream >
TOutputStream & operator<< (TOutputStream &stream, const LevelUpdate &update)
 

Detailed Description

Price level update.

Definition at line 109 of file level.h.

Constructor & Destructor Documentation

◆ LevelUpdate() [1/3]

CppTrader::Matching::LevelUpdate::LevelUpdate ( UpdateType  type,
const Level update,
bool  top 
)
inlinenoexcept

Definition at line 69 of file level.inl.

◆ LevelUpdate() [2/3]

CppTrader::Matching::LevelUpdate::LevelUpdate ( const LevelUpdate )
defaultnoexcept

◆ LevelUpdate() [3/3]

CppTrader::Matching::LevelUpdate::LevelUpdate ( LevelUpdate &&  )
defaultnoexcept

◆ ~LevelUpdate()

CppTrader::Matching::LevelUpdate::~LevelUpdate ( )
defaultnoexcept

Member Function Documentation

◆ operator=() [1/2]

LevelUpdate& CppTrader::Matching::LevelUpdate::operator= ( const LevelUpdate )
defaultnoexcept

◆ operator=() [2/2]

LevelUpdate& CppTrader::Matching::LevelUpdate::operator= ( LevelUpdate &&  )
defaultnoexcept

Friends And Related Function Documentation

◆ operator<<

template<class TOutputStream >
TOutputStream& operator<< ( TOutputStream &  stream,
const LevelUpdate update 
)
friend

Definition at line 77 of file level.inl.

Member Data Documentation

◆ Top

bool CppTrader::Matching::LevelUpdate::Top

Top of the book flag.

Definition at line 116 of file level.h.

◆ Type

UpdateType CppTrader::Matching::LevelUpdate::Type

Update type.

Definition at line 112 of file level.h.

◆ Update

Level CppTrader::Matching::LevelUpdate::Update

Level update value.

Definition at line 114 of file level.h.


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