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

#include <midnam_patch.h>

Public Member Functions

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

Private Attributes

uint16_t _number
 
std::string _name
 

Detailed Description

Definition at line 271 of file midnam_patch.h.

Constructor & Destructor Documentation

◆ Value() [1/2]

MIDI::Name::Value::Value ( )
inline

Definition at line 274 of file midnam_patch.h.

◆ Value() [2/2]

MIDI::Name::Value::Value ( const uint16_t  number,
const std::string &  name 
)
inline

Definition at line 275 of file midnam_patch.h.

Member Function Documentation

◆ get_state()

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

◆ name()

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

Definition at line 282 of file midnam_patch.h.

◆ number()

uint16_t MIDI::Name::Value::number ( ) const
inline

Definition at line 281 of file midnam_patch.h.

◆ set_name()

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

Definition at line 285 of file midnam_patch.h.

◆ set_number()

void MIDI::Name::Value::set_number ( uint16_t  number)
inline

Definition at line 284 of file midnam_patch.h.

◆ set_state()

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

Member Data Documentation

◆ _name

std::string MIDI::Name::Value::_name
private

Definition at line 292 of file midnam_patch.h.

◆ _number

uint16_t MIDI::Name::Value::_number
private

Definition at line 291 of file midnam_patch.h.


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