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

#include <EmptyPatch.hh>

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

Public Member Functions

 EmptyPatch (std::span< const uint8_t > block_)
 
void copyBlock (size_t src, std::span< uint8_t > dst) 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 ()=default
 

Detailed Description

Definition at line 8 of file EmptyPatch.hh.

Constructor & Destructor Documentation

◆ EmptyPatch()

openmsx::EmptyPatch::EmptyPatch ( std::span< const uint8_t >  block_)
inline

Definition at line 11 of file EmptyPatch.hh.

Member Function Documentation

◆ copyBlock()

void openmsx::EmptyPatch::copyBlock ( size_t  src,
std::span< uint8_t >  dst 
) const
overridevirtual

Implements openmsx::PatchInterface.

Definition at line 7 of file EmptyPatch.cc.

References ranges::copy(), and ranges::fill().

◆ getFilenames()

std::vector< Filename > openmsx::EmptyPatch::getFilenames ( ) const
inlineoverridevirtual

Implements openmsx::PatchInterface.

Definition at line 16 of file EmptyPatch.hh.

◆ getSize()

size_t openmsx::EmptyPatch::getSize ( ) const
inlineoverridevirtual

Implements openmsx::PatchInterface.

Definition at line 15 of file EmptyPatch.hh.

◆ isEmptyPatch()

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

Reimplemented from openmsx::PatchInterface.

Definition at line 17 of file EmptyPatch.hh.


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