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

#include <midnam_patch.h>

Public Member Functions

 Note ()
 
 Note (uint8_t number, const std::string &name)
 
const std::string & name () const
 
void set_name (const std::string &name)
 
uint8_t number () const
 
void set_number (uint8_t number)
 
XMLNodeget_state () const
 
int set_state (const XMLTree &, const XMLNode &)
 

Private Attributes

uint8_t _number
 
std::string _name
 

Detailed Description

Definition at line 230 of file midnam_patch.h.

Constructor & Destructor Documentation

◆ Note() [1/2]

MIDI::Name::Note::Note ( )
inline

Definition at line 233 of file midnam_patch.h.

◆ Note() [2/2]

MIDI::Name::Note::Note ( uint8_t  number,
const std::string &  name 
)
inline

Definition at line 234 of file midnam_patch.h.

Member Function Documentation

◆ get_state()

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

◆ name()

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

Definition at line 236 of file midnam_patch.h.

◆ number()

uint8_t MIDI::Name::Note::number ( ) const
inline

Definition at line 239 of file midnam_patch.h.

◆ set_name()

void MIDI::Name::Note::set_name ( const std::string &  name)
inline

Definition at line 237 of file midnam_patch.h.

◆ set_number()

void MIDI::Name::Note::set_number ( uint8_t  number)
inline

Definition at line 240 of file midnam_patch.h.

◆ set_state()

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

Member Data Documentation

◆ _name

std::string MIDI::Name::Note::_name
private

Definition at line 247 of file midnam_patch.h.

◆ _number

uint8_t MIDI::Name::Note::_number
private

Definition at line 246 of file midnam_patch.h.


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