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

#include <IPSPatch.hh>

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

Public Types

using PatchMap = std::vector< std::pair< size_t, std::vector< byte > >>
 

Public Member Functions

 IPSPatch (Filename filename, std::unique_ptr< const PatchInterface > parent)
 
void copyBlock (size_t src, byte *dst, size_t num) const override
 
size_t getSize () const override
 
std::vector< FilenamegetFilenames () const override
 
- Public Member Functions inherited from openmsx::PatchInterface
virtual ~PatchInterface ()=default
 
virtual bool isEmptyPatch () const
 

Detailed Description

Definition at line 12 of file IPSPatch.hh.

Member Typedef Documentation

◆ PatchMap

using openmsx::IPSPatch::PatchMap = std::vector<std::pair<size_t, std::vector<byte> >>

Definition at line 15 of file IPSPatch.hh.

Constructor & Destructor Documentation

◆ IPSPatch()

openmsx::IPSPatch::IPSPatch ( Filename  filename,
std::unique_ptr< const PatchInterface parent 
)

Member Function Documentation

◆ copyBlock()

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

Implements openmsx::PatchInterface.

Definition at line 84 of file IPSPatch.cc.

References ranges::lower_bound(), and ranges::upper_bound().

◆ getFilenames()

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

Implements openmsx::PatchInterface.

Definition at line 130 of file IPSPatch.cc.

◆ getSize()

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

Implements openmsx::PatchInterface.

Definition at line 125 of file IPSPatch.cc.


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