#include <Instrument.h>
Inheritance diagram for TSE3::Ins::InstrumentData:
Public Member Functions | |
const std::string & | title () const |
const std::string & | name (size_t index) const |
void | write (std::ostream &out) const |
Protected Member Functions | |
InstrumentData (std::string const &title, std::string const &insHeading, std::istream &in) | |
void | load (const std::string &secname, std::istream &in) |
Protected Attributes | |
const std::string | insHeading |
std::string | _title |
std::string * | _names [128] |
Static Protected Attributes | |
std::string | empty |
A base class for instrument data: many .ins file sections are based on simple lists of 0..127 values. This is a base class for such lists.
|
Contructor is private since this is a base class. |
|
Returns the title of this data group.
|
|
Returns the name of the item with the given If no name has been defined for this element, returns an empty string.
|
|
Write the .ins file subsection.
|
|
Loads the subsection 'secname' from the .ins section 'insHeading'. Pre: title and insHeading have been set up. |
|
The .ins file heading for this section type. Derived classes MUST override this for load) to work.
|
|
|
|
|
|
|