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

#include <midnam_patch.h>

Public Types

typedef std::map< std::string, std::shared_ptr< MasterDeviceNames > > MasterDeviceNamesList
 

Public Member Functions

 MIDINameDocument ()
 
 MIDINameDocument (const std::string &file_path)
 
virtual ~MIDINameDocument ()
 
const std::string & file_path () const
 
const std::string & author () const
 
void set_author (const std::string &author)
 
void set_file_path (const std::string &file_path)
 
std::shared_ptr< MasterDeviceNamesmaster_device_names (const std::string &model)
 
const MasterDeviceNamesListmaster_device_names_by_model () const
 
const MasterDeviceNames::Modelsall_models () const
 
XMLNodeget_state () const
 
int set_state (const XMLTree &, const XMLNode &)
 

Private Attributes

std::string _file_path
 
std::string _author
 
MasterDeviceNamesList _master_device_names_list
 
MasterDeviceNames::Models _all_models
 

Detailed Description

Definition at line 468 of file midnam_patch.h.

Member Typedef Documentation

◆ MasterDeviceNamesList

typedef std::map<std::string, std::shared_ptr<MasterDeviceNames> > MIDI::Name::MIDINameDocument::MasterDeviceNamesList

Definition at line 472 of file midnam_patch.h.

Constructor & Destructor Documentation

◆ MIDINameDocument() [1/2]

MIDI::Name::MIDINameDocument::MIDINameDocument ( )
inline

Definition at line 474 of file midnam_patch.h.

◆ MIDINameDocument() [2/2]

MIDI::Name::MIDINameDocument::MIDINameDocument ( const std::string &  file_path)

◆ ~MIDINameDocument()

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

Definition at line 476 of file midnam_patch.h.

Member Function Documentation

◆ all_models()

const MasterDeviceNames::Models& MIDI::Name::MIDINameDocument::all_models ( ) const
inline

Definition at line 488 of file midnam_patch.h.

◆ author()

const std::string& MIDI::Name::MIDINameDocument::author ( ) const
inline

Definition at line 479 of file midnam_patch.h.

◆ file_path()

const std::string& MIDI::Name::MIDINameDocument::file_path ( ) const
inline

Definition at line 478 of file midnam_patch.h.

◆ get_state()

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

◆ master_device_names()

std::shared_ptr<MasterDeviceNames> MIDI::Name::MIDINameDocument::master_device_names ( const std::string &  model)

◆ master_device_names_by_model()

const MasterDeviceNamesList& MIDI::Name::MIDINameDocument::master_device_names_by_model ( ) const
inline

Definition at line 486 of file midnam_patch.h.

◆ set_author()

void MIDI::Name::MIDINameDocument::set_author ( const std::string &  author)
inline

Definition at line 481 of file midnam_patch.h.

◆ set_file_path()

void MIDI::Name::MIDINameDocument::set_file_path ( const std::string &  file_path)
inline

Definition at line 482 of file midnam_patch.h.

◆ set_state()

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

Member Data Documentation

◆ _all_models

MasterDeviceNames::Models MIDI::Name::MIDINameDocument::_all_models
private

Definition at line 497 of file midnam_patch.h.

◆ _author

std::string MIDI::Name::MIDINameDocument::_author
private

Definition at line 495 of file midnam_patch.h.

◆ _file_path

std::string MIDI::Name::MIDINameDocument::_file_path
private

Definition at line 494 of file midnam_patch.h.

◆ _master_device_names_list

MasterDeviceNamesList MIDI::Name::MIDINameDocument::_master_device_names_list
private

Definition at line 496 of file midnam_patch.h.


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