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 start (zstring_view)
 
void stop ()
 
void text (std::string_view)
 
void text (zstring_view)
 
void attribute (std::string_view, std::string_view)
 
void attribute (zstring_view, zstring_view)
 
void cdata (std::string_view)
 
void cdata (zstring_view)
 
void comment (std::string_view)
 
void comment (zstring_view)
 
void declarationStart ()
 
void declAttribute (std::string_view, std::string_view)
 
void declAttribute (zstring_view, zstring_view)
 
void declarationStop ()
 
void doctype (std::string_view)
 
void doctype (zstring_view)
 
void procInstr (std::string_view, std::string_view)
 
void procInstr (zstring_view, zstring_view)
 

Detailed Description

Definition at line 29 of file RomDatabase.cc.

Constructor & Destructor Documentation

◆ DBParser()

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

Definition at line 32 of file RomDatabase.cc.

Member Function Documentation

◆ attribute()

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

Definition at line 273 of file RomDatabase.cc.

References StringOp::stringToBool(), and UNREACHABLE.

◆ doctype()

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

Definition at line 546 of file RomDatabase.cc.

References t.

◆ getSystemID()

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

Definition at line 49 of file RomDatabase.cc.

◆ start()

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

Definition at line 107 of file RomDatabase.cc.

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

◆ stop()

void openmsx::DBParser::stop ( )

◆ text()

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

Definition at line 306 of file RomDatabase.cc.

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


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