Slick OrderBook 1.1.0
High-Performance C++23 OrderBook Library
Loading...
Searching...
No Matches
slick::orderbook::Symbol Struct Reference

Symbol information. More...

#include <types.hpp>

Collaboration diagram for slick::orderbook::Symbol:

Public Member Functions

constexpr Symbol () noexcept
 
constexpr Symbol (SymbolId id_, std::string_view name_) noexcept
 
constexpr bool operator== (const Symbol &other) const noexcept
 
constexpr bool operator!= (const Symbol &other) const noexcept
 

Public Attributes

SymbolId id
 
std::string_view name
 

Detailed Description

Symbol information.

Definition at line 50 of file types.hpp.

Constructor & Destructor Documentation

◆ Symbol() [1/2]

constexpr slick::orderbook::Symbol::Symbol ( )
inlineconstexprnoexcept

Definition at line 54 of file types.hpp.

◆ Symbol() [2/2]

constexpr slick::orderbook::Symbol::Symbol ( SymbolId  id_,
std::string_view  name_ 
)
inlineconstexprnoexcept

Definition at line 55 of file types.hpp.

Member Function Documentation

◆ operator!=()

constexpr bool slick::orderbook::Symbol::operator!= ( const Symbol &  other) const
inlineconstexprnoexcept

Definition at line 62 of file types.hpp.

◆ operator==()

constexpr bool slick::orderbook::Symbol::operator== ( const Symbol &  other) const
inlineconstexprnoexcept

Definition at line 58 of file types.hpp.

Member Data Documentation

◆ id

SymbolId slick::orderbook::Symbol::id

Definition at line 51 of file types.hpp.

◆ name

std::string_view slick::orderbook::Symbol::name

Definition at line 52 of file types.hpp.


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