openMSX
Public Member Functions | Static Public Member Functions | List of all members
openmsx::RomInfo Class Reference

#include <RomInfo.hh>

Public Member Functions

 RomInfo (String32 title_, String32 year_, String32 company_, String32 country_, bool original_, String32 origType_, String32 remark_, RomType romType_, int genMSXid_)
 
const string_ref getTitle (const char *buf) const
 
const string_ref getYear (const char *buf) const
 
const string_ref getCompany (const char *buf) const
 
const string_ref getCountry (const char *buf) const
 
const string_ref getOrigType (const char *buf) const
 
const string_ref getRemark (const char *buf) const
 
RomType getRomType () const
 
bool getOriginal () const
 
int getGenMSXid () const
 

Static Public Member Functions

static RomType nameToRomType (string_ref name)
 
static string_ref romTypeToName (RomType type)
 
static std::vector< string_refgetAllRomTypes ()
 
static string_ref getDescription (RomType type)
 
static unsigned getBlockSize (RomType type)
 

Detailed Description

Definition at line 12 of file RomInfo.hh.

Constructor & Destructor Documentation

§ RomInfo()

openmsx::RomInfo::RomInfo ( String32  title_,
String32  year_,
String32  company_,
String32  country_,
bool  original_,
String32  origType_,
String32  remark_,
RomType  romType_,
int  genMSXid_ 
)
inline

Definition at line 15 of file RomInfo.hh.

Member Function Documentation

§ getAllRomTypes()

vector< string_ref > openmsx::RomInfo::getAllRomTypes ( )
static

§ getBlockSize()

unsigned openmsx::RomInfo::getBlockSize ( RomType  type)
static

Definition at line 221 of file RomInfo.cc.

References begin(), and end().

Referenced by openmsx::RomInfoTopic::execute(), and getGenMSXid().

§ getCompany()

const string_ref openmsx::RomInfo::getCompany ( const char *  buf) const
inline

Definition at line 38 of file RomInfo.hh.

References fromString32().

Referenced by openmsx::RomDatabase::fetchRomInfo().

§ getCountry()

const string_ref openmsx::RomInfo::getCountry ( const char *  buf) const
inline

Definition at line 41 of file RomInfo.hh.

References fromString32().

Referenced by openmsx::RomDatabase::fetchRomInfo().

§ getDescription()

string_ref openmsx::RomInfo::getDescription ( RomType  type)
static

Definition at line 212 of file RomInfo.cc.

References begin(), and end().

Referenced by openmsx::RomInfoTopic::execute(), and getGenMSXid().

§ getGenMSXid()

int openmsx::RomInfo::getGenMSXid ( ) const
inline

§ getOriginal()

bool openmsx::RomInfo::getOriginal ( ) const
inline

Definition at line 51 of file RomInfo.hh.

Referenced by openmsx::RomDatabase::fetchRomInfo().

§ getOrigType()

const string_ref openmsx::RomInfo::getOrigType ( const char *  buf) const
inline

Definition at line 44 of file RomInfo.hh.

References fromString32().

Referenced by openmsx::RomDatabase::fetchRomInfo().

§ getRemark()

const string_ref openmsx::RomInfo::getRemark ( const char *  buf) const
inline

Definition at line 47 of file RomInfo.hh.

References fromString32().

Referenced by openmsx::RomDatabase::fetchRomInfo().

§ getRomType()

RomType openmsx::RomInfo::getRomType ( ) const
inline

Definition at line 50 of file RomInfo.hh.

Referenced by openmsx::RomFactory::create(), and openmsx::RomDatabase::fetchRomInfo().

§ getTitle()

const string_ref openmsx::RomInfo::getTitle ( const char *  buf) const
inline

Definition at line 32 of file RomInfo.hh.

References fromString32().

Referenced by openmsx::RomDatabase::fetchRomInfo().

§ getYear()

const string_ref openmsx::RomInfo::getYear ( const char *  buf) const
inline

Definition at line 35 of file RomInfo.hh.

References fromString32().

Referenced by openmsx::RomDatabase::fetchRomInfo().

§ nameToRomType()

RomType openmsx::RomInfo::nameToRomType ( string_ref  name)
static

§ romTypeToName()

string_ref openmsx::RomInfo::romTypeToName ( RomType  type)
static

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