openMSX
Classes | Public Member Functions | List of all members
openmsx::DBParser Class Reference
Inheritance diagram for openmsx::DBParser:
Inheritance graph
[legend]
Collaboration diagram for openmsx::DBParser:
Collaboration graph
[legend]

Public Member Functions

 DBParser (RomDatabase::RomDB &db_, UnknownTypes &unknownTypes_, CliComm &cliComm_, char *bufStart_)
 
void start (string_view tag)
 
void attribute (string_view name, string_view value)
 
void text (string_view txt)
 
void stop ()
 
void doctype (string_view txt)
 
string_view getSystemID () const
 
- Public Member Functions inherited from rapidsax::NullHandler
void start (std::string_view)
 
void stop ()
 
void text (std::string_view)
 
void attribute (std::string_view, std::string_view)
 
void cdata (std::string_view)
 
void comment (std::string_view)
 
void declarationStart ()
 
void declAttribute (std::string_view, std::string_view)
 
void declarationStop ()
 
void doctype (std::string_view)
 
void procInstr (std::string_view, std::string_view)
 

Detailed Description

Definition at line 26 of file RomDatabase.cc.

Constructor & Destructor Documentation

◆ DBParser()

openmsx::DBParser::DBParser ( RomDatabase::RomDB db_,
UnknownTypes unknownTypes_,
CliComm cliComm_,
char *  bufStart_ 
)
inline

Definition at line 29 of file RomDatabase.cc.

Member Function Documentation

◆ attribute()

void openmsx::DBParser::attribute ( string_view  name,
string_view  value 
)

Definition at line 270 of file RomDatabase.cc.

References StringOp::stringToBool(), and UNREACHABLE.

◆ doctype()

void openmsx::DBParser::doctype ( string_view  txt)

Definition at line 543 of file RomDatabase.cc.

References t.

◆ getSystemID()

string_view openmsx::DBParser::getSystemID ( ) const
inline

Definition at line 46 of file RomDatabase.cc.

◆ start()

void openmsx::DBParser::start ( string_view  tag)

Definition at line 104 of file RomDatabase.cc.

References openmsx::ROM_UNKNOWN, toString32(), and UNREACHABLE.

◆ stop()

void openmsx::DBParser::stop ( )

◆ text()

void openmsx::DBParser::text ( string_view  txt)

Definition at line 303 of file RomDatabase.cc.

References fromString32(), g, openmsx::CliComm::printWarning(), and UNREACHABLE.


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