Ardour  9.0-pre0-582-g084a23a80d
MIDI::Name::PatchBank Class Reference

#include <midnam_patch.h>

Public Member Functions

 PatchBank (uint16_t n=UINT16_MAX, std::string a_name=std::string())
 
virtual ~PatchBank ()
 
const std::string & name () const
 
void set_name (const std::string &a_name)
 
int number () const
 
const PatchNameListpatch_name_list () const
 
const std::string & patch_list_name () const
 
int set_patch_name_list (const PatchNameList &)
 
XMLNodeget_state () const
 
int set_state (const XMLTree &, const XMLNode &)
 

Private Attributes

std::string _name
 
uint16_t _number
 
PatchNameList _patch_name_list
 
std::string _patch_list_name
 

Detailed Description

Definition at line 124 of file midnam_patch.h.

Constructor & Destructor Documentation

◆ PatchBank()

MIDI::Name::PatchBank::PatchBank ( uint16_t  n = UINT16_MAX,
std::string  a_name = std::string() 
)
inline

Definition at line 127 of file midnam_patch.h.

◆ ~PatchBank()

virtual MIDI::Name::PatchBank::~PatchBank ( )
inlinevirtual

Definition at line 128 of file midnam_patch.h.

Member Function Documentation

◆ get_state()

XMLNode& MIDI::Name::PatchBank::get_state ( ) const

◆ name()

const std::string& MIDI::Name::PatchBank::name ( ) const
inline

Definition at line 130 of file midnam_patch.h.

◆ number()

int MIDI::Name::PatchBank::number ( ) const
inline

Definition at line 133 of file midnam_patch.h.

◆ patch_list_name()

const std::string& MIDI::Name::PatchBank::patch_list_name ( ) const
inline

Definition at line 136 of file midnam_patch.h.

◆ patch_name_list()

const PatchNameList& MIDI::Name::PatchBank::patch_name_list ( ) const
inline

Definition at line 135 of file midnam_patch.h.

◆ set_name()

void MIDI::Name::PatchBank::set_name ( const std::string &  a_name)
inline

Definition at line 131 of file midnam_patch.h.

◆ set_patch_name_list()

int MIDI::Name::PatchBank::set_patch_name_list ( const PatchNameList )

◆ set_state()

int MIDI::Name::PatchBank::set_state ( const XMLTree ,
const XMLNode  
)

Member Data Documentation

◆ _name

std::string MIDI::Name::PatchBank::_name
private

Definition at line 144 of file midnam_patch.h.

◆ _number

uint16_t MIDI::Name::PatchBank::_number
private

Definition at line 145 of file midnam_patch.h.

◆ _patch_list_name

std::string MIDI::Name::PatchBank::_patch_list_name
private

Definition at line 147 of file midnam_patch.h.

◆ _patch_name_list

PatchNameList MIDI::Name::PatchBank::_patch_name_list
private

Definition at line 146 of file midnam_patch.h.


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