3 #ifndef SPECTMORPH_INDEX_HH
4 #define SPECTMORPH_INDEX_HH
14 INDEX_INSTRUMENTS_DIR,
31 std::vector<Instrument> instruments;
35 std::vector<std::string> m_smsets;
36 std::string m_smset_dir;
37 std::vector<Group> m_groups;
39 std::string m_expanded_filename;
40 std::string m_filename;
48 bool load_file (
const std::string& filename);
50 IndexType type()
const;
51 std::string filename()
const;
52 std::string expanded_filename()
const;
53 std::string dir()
const;
55 std::string label_to_smset (
const std::string& label)
const;
56 std::string smset_to_label (
const std::string& smset)
const;
58 const std::vector<Group>& groups()
const;
60 const std::vector<std::string>& smsets()
const;
61 std::string smset_dir()
const;
Definition: smindex.hh:20
Definition: smindex.hh:29
Definition: smindex.hh:23