openMSX
Public Member Functions | Public Attributes | List of all members
openmsx::Symbol Struct Reference

#include <SymbolManager.hh>

Collaboration diagram for openmsx::Symbol:
Collaboration graph
[legend]

Public Member Functions

 Symbol (std::string n, uint16_t v, std::optional< uint8_t > s1, std::optional< uint16_t > s2)
 
auto operator<=> (const Symbol &) const =default
 

Public Attributes

std::string name
 
uint16_t value
 
std::optional< uint8_t > slot
 
std::optional< uint16_t > segment
 

Detailed Description

Definition at line 20 of file SymbolManager.hh.

Constructor & Destructor Documentation

◆ Symbol()

openmsx::Symbol::Symbol ( std::string  n,
uint16_t  v,
std::optional< uint8_t >  s1,
std::optional< uint16_t >  s2 
)
inline

Definition at line 22 of file SymbolManager.hh.

Member Function Documentation

◆ operator<=>()

auto openmsx::Symbol::operator<=> ( const Symbol ) const
default

Member Data Documentation

◆ name

std::string openmsx::Symbol::name

Definition at line 25 of file SymbolManager.hh.

Referenced by openmsx::SymbolManager::parseSymbolOrValue().

◆ segment

std::optional<uint16_t> openmsx::Symbol::segment

Definition at line 28 of file SymbolManager.hh.

◆ slot

std::optional<uint8_t> openmsx::Symbol::slot

Definition at line 27 of file SymbolManager.hh.

◆ value

uint16_t openmsx::Symbol::value

Definition at line 26 of file SymbolManager.hh.


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