openMSX
Public Types | 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 {
  AUTO_DETECT = 0 , ASMSX , GENERIC , HTC ,
  LINKMAP , NOICE , VASM , FIRST = AUTO_DETECT ,
  LAST = VASM + 1
}
 

Static Public Member Functions

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

Public Attributes

std::string filename
 
std::vector< Symbolsymbols
 
Type type
 

Detailed Description

Definition at line 31 of file SymbolManager.hh.

Member Enumeration Documentation

◆ Type

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

Definition at line 33 of file SymbolManager.hh.

Member Function Documentation

◆ parseType()

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

Definition at line 37 of file SymbolManager.cc.

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

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, and VASM.

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

Member Data Documentation

◆ filename

std::string openmsx::SymbolFile::filename

◆ symbols

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

◆ type

Type openmsx::SymbolFile::type

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