Line | |
---|
1 | /*
|
---|
2 | * TremoloParser_ElementKeys.hpp
|
---|
3 | *
|
---|
4 | * Created on: Mar 12, 2012
|
---|
5 | * Author: heber
|
---|
6 | */
|
---|
7 |
|
---|
8 | #ifndef TREMOLOPARSER_ELEMENTKEYS_HPP_
|
---|
9 | #define TREMOLOPARSER_ELEMENTKEYS_HPP_
|
---|
10 |
|
---|
11 |
|
---|
12 | // include config.h
|
---|
13 | #ifdef HAVE_CONFIG_H
|
---|
14 | #include <config.h>
|
---|
15 | #endif
|
---|
16 |
|
---|
17 | #include <iosfwd>
|
---|
18 | #include <map>
|
---|
19 | #include <string>
|
---|
20 |
|
---|
21 | #include "Parser/Exceptions.hpp"
|
---|
22 |
|
---|
23 | struct ElementKeys : private std::map<std::string, std::string>
|
---|
24 | {
|
---|
25 | void parseKnownTypes(std::istream &file);
|
---|
26 | void createKnownTypesByIdentity();
|
---|
27 |
|
---|
28 | const std::string &getType(const std::string &type) const throw (IllegalParserKeyException);
|
---|
29 | void setType(const std::string &type, const std::string &value) throw (IllegalParserKeyException);
|
---|
30 | };
|
---|
31 |
|
---|
32 |
|
---|
33 | #endif /* TREMOLOPARSER_ELEMENTKEYS_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.