openMSX
Public Member Functions | List of all members
openmsx::EmptyDiskPatch Class Referencefinal

#include <EmptyDiskPatch.hh>

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

Public Member Functions

 EmptyDiskPatch (SectorAccessibleDisk &disk)
 
void copyBlock (size_t src, byte *dst, size_t num) const override
 
size_t getSize () const override
 
std::vector< FilenamegetFilenames () const override
 
bool isEmptyPatch () const override
 
- Public Member Functions inherited from openmsx::PatchInterface
virtual ~PatchInterface ()
 

Detailed Description

Definition at line 10 of file EmptyDiskPatch.hh.

Constructor & Destructor Documentation

◆ EmptyDiskPatch()

openmsx::EmptyDiskPatch::EmptyDiskPatch ( SectorAccessibleDisk disk)
explicit

Definition at line 7 of file EmptyDiskPatch.cc.

Member Function Documentation

◆ copyBlock()

void openmsx::EmptyDiskPatch::copyBlock ( size_t  src,
byte dst,
size_t  num 
) const
overridevirtual

Implements openmsx::PatchInterface.

Definition at line 12 of file EmptyDiskPatch.cc.

References openmsx::SectorAccessibleDisk::SECTOR_SIZE.

◆ getFilenames()

std::vector< Filename > openmsx::EmptyDiskPatch::getFilenames ( ) const
overridevirtual

Implements openmsx::PatchInterface.

Definition at line 26 of file EmptyDiskPatch.cc.

◆ getSize()

size_t openmsx::EmptyDiskPatch::getSize ( ) const
overridevirtual

◆ isEmptyPatch()

bool openmsx::EmptyDiskPatch::isEmptyPatch ( ) const
inlineoverridevirtual

Reimplemented from openmsx::PatchInterface.

Definition at line 18 of file EmptyDiskPatch.hh.


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