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

#include <RomInfo.hh>

Public Member Functions

 RomInfo (string_ref title_, string_ref year_, string_ref company_, string_ref country_, bool original_, string_ref origType_, string_ref remark_, RomType romType_, int genMSXid_)
 
const string_ref getTitle () const
 
const string_ref getYear () const
 
const string_ref getCompany () const
 
const string_ref getCountry () const
 
const string_ref getOrigType () const
 
const string_ref getRemark () 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 11 of file RomInfo.hh.

Constructor & Destructor Documentation

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

Definition at line 14 of file RomInfo.hh.

Member Function Documentation

vector< string_ref > openmsx::RomInfo::getAllRomTypes ( )
static
unsigned openmsx::RomInfo::getBlockSize ( RomType  type)
static

Definition at line 214 of file RomInfo.cc.

Referenced by openmsx::RomInfoTopic::execute().

const string_ref openmsx::RomInfo::getCompany ( ) const
inline

Definition at line 33 of file RomInfo.hh.

Referenced by openmsx::SoftwareInfoTopic::execute().

const string_ref openmsx::RomInfo::getCountry ( ) const
inline

Definition at line 34 of file RomInfo.hh.

Referenced by openmsx::SoftwareInfoTopic::execute().

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

Definition at line 205 of file RomInfo.cc.

Referenced by openmsx::RomInfoTopic::execute().

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

Definition at line 39 of file RomInfo.hh.

Referenced by openmsx::SoftwareInfoTopic::execute().

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

Definition at line 38 of file RomInfo.hh.

Referenced by openmsx::SoftwareInfoTopic::execute().

const string_ref openmsx::RomInfo::getOrigType ( ) const
inline

Definition at line 35 of file RomInfo.hh.

Referenced by openmsx::SoftwareInfoTopic::execute().

const string_ref openmsx::RomInfo::getRemark ( ) const
inline

Definition at line 36 of file RomInfo.hh.

Referenced by openmsx::SoftwareInfoTopic::execute().

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

Definition at line 37 of file RomInfo.hh.

Referenced by openmsx::RomFactory::create(), and openmsx::SoftwareInfoTopic::execute().

const string_ref openmsx::RomInfo::getTitle ( ) const
inline

Definition at line 31 of file RomInfo.hh.

Referenced by openmsx::SoftwareInfoTopic::execute().

const string_ref openmsx::RomInfo::getYear ( ) const
inline

Definition at line 32 of file RomInfo.hh.

Referenced by openmsx::SoftwareInfoTopic::execute().

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

Definition at line 183 of file RomInfo.cc.

References UNREACHABLE.

Referenced by openmsx::RomFactory::create(), and openmsx::SoftwareInfoTopic::execute().


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