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

#include <midnam_patch.h>

Public Types

typedef std::map< uint16_t, std::shared_ptr< Value > > Values
 

Public Member Functions

 ValueNameList ()
 
 ValueNameList (const std::string &name)
 
const std::string & name () const
 
void set_name (const std::string &name)
 
std::shared_ptr< const Valuevalue (uint16_t num) const
 
std::shared_ptr< const Valuemax_value_below (uint16_t num) const
 
const Valuesvalues () const
 
XMLNodeget_state () const
 
int set_state (const XMLTree &, const XMLNode &)
 

Private Attributes

std::string _name
 
Values _values
 

Detailed Description

Definition at line 295 of file midnam_patch.h.

Member Typedef Documentation

◆ Values

typedef std::map<uint16_t, std::shared_ptr<Value> > MIDI::Name::ValueNameList::Values

Definition at line 298 of file midnam_patch.h.

Constructor & Destructor Documentation

◆ ValueNameList() [1/2]

MIDI::Name::ValueNameList::ValueNameList ( )
inline

Definition at line 300 of file midnam_patch.h.

◆ ValueNameList() [2/2]

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

Definition at line 301 of file midnam_patch.h.

Member Function Documentation

◆ get_state()

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

◆ max_value_below()

std::shared_ptr<const Value> MIDI::Name::ValueNameList::max_value_below ( uint16_t  num) const

◆ name()

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

Definition at line 303 of file midnam_patch.h.

◆ set_name()

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

Definition at line 305 of file midnam_patch.h.

◆ set_state()

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

◆ value()

std::shared_ptr<const Value> MIDI::Name::ValueNameList::value ( uint16_t  num) const

◆ values()

const Values& MIDI::Name::ValueNameList::values ( ) const
inline

Definition at line 310 of file midnam_patch.h.

Member Data Documentation

◆ _name

std::string MIDI::Name::ValueNameList::_name
private

Definition at line 316 of file midnam_patch.h.

◆ _values

Values MIDI::Name::ValueNameList::_values
private

Definition at line 317 of file midnam_patch.h.


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