openMSX
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
openmsx::SymbolFile Struct Reference

#include <SymbolManager.hh>

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

Public Types

enum class  Type {
  FIRST = 0 , AUTO_DETECT = FIRST , ASMSX , GENERIC ,
  HTC , LINKMAP , NOICE , VASM ,
  WLALINK_NOGMB , LAST
}
 

Public Member Functions

auto & getSymbols ()
 

Static Public Member Functions

static zstring_view toString (Type type)
 
static std::optional< TypeparseType (std::string_view str)
 

Public Attributes

std::optional< uint8_t > slot
 
std::string filename
 
std::vector< Symbolsymbols
 
Type type
 

Detailed Description

Definition at line 33 of file SymbolManager.hh.

Member Enumeration Documentation

◆ Type

enum class openmsx::SymbolFile::Type
strong
Enumerator
FIRST 
AUTO_DETECT 
ASMSX 
GENERIC 
HTC 
LINKMAP 
NOICE 
VASM 
WLALINK_NOGMB 
LAST 

Definition at line 35 of file SymbolManager.hh.

Member Function Documentation

◆ getSymbols()

auto & openmsx::SymbolFile::getSymbols ( )
inline

Definition at line 51 of file SymbolManager.hh.

References symbols.

◆ parseType()

std::optional< SymbolFile::Type > openmsx::SymbolFile::parseType ( std::string_view  str)
static

Definition at line 38 of file SymbolManager.cc.

References ASMSX, AUTO_DETECT, GENERIC, HTC, LINKMAP, NOICE, VASM, and WLALINK_NOGMB.

Referenced by openmsx::ImGuiSymbols::loadLine().

◆ toString()

zstring_view openmsx::SymbolFile::toString ( Type  type)
static

Definition at line 22 of file SymbolManager.cc.

References ASMSX, AUTO_DETECT, GENERIC, HTC, LINKMAP, NOICE, type, UNREACHABLE, VASM, and WLALINK_NOGMB.

Referenced by openmsx::ImGuiSymbols::save().

Member Data Documentation

◆ filename

std::string openmsx::SymbolFile::filename

◆ slot

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

Definition at line 53 of file SymbolManager.hh.

◆ symbols

std::vector<Symbol> openmsx::SymbolFile::symbols

◆ type

Type openmsx::SymbolFile::type

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