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

#include <Rom.hh>

Inheritance diagram for openmsx::Rom:
Inheritance graph
[legend]
Collaboration diagram for openmsx::Rom:
Collaboration graph
[legend]

Public Member Functions

 Rom (const std::string &name, const std::string &description, const DeviceConfig &config, const std::string &id="")
virtual ~Rom ()
const byteoperator[] (unsigned address) const
unsigned getSize () const
std::string getFilename () const
const std::string & getName () const
const std::string & getDescription () const
const Sha1SumgetOriginalSHA1 () const
const Sha1SumgetPatchedSHA1 () const

Additional Inherited Members

Detailed Description

Definition at line 22 of file Rom.hh.

Constructor & Destructor Documentation

openmsx::Rom::Rom ( const std::string &  name,
const std::string &  description,
const DeviceConfig config,
const std::string &  id = "" 
)
openmsx::Rom::~Rom ( )
virtual

Definition at line 334 of file Rom.cc.

Member Function Documentation

const string & openmsx::Rom::getDescription ( ) const

Definition at line 348 of file Rom.cc.

string openmsx::Rom::getFilename ( ) const

Definition at line 338 of file Rom.cc.

const string & openmsx::Rom::getName ( ) const

Definition at line 343 of file Rom.cc.

Referenced by openmsx::AmdFlash::AmdFlash().

const Sha1Sum & openmsx::Rom::getOriginalSHA1 ( ) const

Definition at line 353 of file Rom.cc.

References openmsx::SHA1::calc(), and openmsx::Sha1Sum::empty().

Referenced by openmsx::RomFactory::create(), and getPatchedSHA1().

const Sha1Sum & openmsx::Rom::getPatchedSHA1 ( ) const

Definition at line 361 of file Rom.cc.

References openmsx::Sha1Sum::empty(), and getOriginalSHA1().

unsigned openmsx::Rom::getSize ( ) const
inline

Definition at line 33 of file Rom.hh.

Referenced by openmsx::AmdFlash::AmdFlash().

const byte& openmsx::Rom::operator[] ( unsigned  address) const
inline

Definition at line 29 of file Rom.hh.


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