Ardour  9.0-pre0-582-g084a23a80d
MIDI::Name::PatchPrimaryKey Struct Reference

#include <midnam_patch.h>

Public Member Functions

 PatchPrimaryKey (int program_num=0, int bank_num=0)
 
 PatchPrimaryKey (const PatchPrimaryKey &id)
 
PatchPrimaryKeyoperator= (const PatchPrimaryKey &id)
 
bool operator== (const PatchPrimaryKey &id) const
 
bool operator< (const PatchPrimaryKey &id) const
 
void set_bank (int bank)
 
void set_program (int program)
 
uint16_t bank () const
 
uint8_t program () const
 

Private Attributes

uint16_t _bank
 
uint8_t _program
 

Detailed Description

Definition at line 46 of file midnam_patch.h.

Constructor & Destructor Documentation

◆ PatchPrimaryKey() [1/2]

MIDI::Name::PatchPrimaryKey::PatchPrimaryKey ( int  program_num = 0,
int  bank_num = 0 
)
inline

Definition at line 49 of file midnam_patch.h.

◆ PatchPrimaryKey() [2/2]

MIDI::Name::PatchPrimaryKey::PatchPrimaryKey ( const PatchPrimaryKey id)
inline

Definition at line 54 of file midnam_patch.h.

Member Function Documentation

◆ bank()

uint16_t MIDI::Name::PatchPrimaryKey::bank ( ) const
inline

Definition at line 83 of file midnam_patch.h.

◆ operator<()

bool MIDI::Name::PatchPrimaryKey::operator< ( const PatchPrimaryKey id) const
inline

Strict weak ordering.

Definition at line 71 of file midnam_patch.h.

◆ operator=()

PatchPrimaryKey& MIDI::Name::PatchPrimaryKey::operator= ( const PatchPrimaryKey id)
inline

Definition at line 59 of file midnam_patch.h.

◆ operator==()

bool MIDI::Name::PatchPrimaryKey::operator== ( const PatchPrimaryKey id) const
inline

Definition at line 65 of file midnam_patch.h.

◆ program()

uint8_t MIDI::Name::PatchPrimaryKey::program ( ) const
inline

Definition at line 84 of file midnam_patch.h.

◆ set_bank()

void MIDI::Name::PatchPrimaryKey::set_bank ( int  bank)
inline

Definition at line 80 of file midnam_patch.h.

◆ set_program()

void MIDI::Name::PatchPrimaryKey::set_program ( int  program)
inline

Definition at line 81 of file midnam_patch.h.

Member Data Documentation

◆ _bank

uint16_t MIDI::Name::PatchPrimaryKey::_bank
private

Definition at line 87 of file midnam_patch.h.

◆ _program

uint8_t MIDI::Name::PatchPrimaryKey::_program
private

Definition at line 88 of file midnam_patch.h.


The documentation for this struct was generated from the following file: