BEAST/BSE - Better Audio System and Sound Engine  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sfidl-hostc.hh
Go to the documentation of this file.
1  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
2 #ifndef __SFIDL_HOSTC_H__
3 #define __SFIDL_HOSTC_H__
4 
5 #include <map>
6 #include <iostream>
7 #include <algorithm>
8 #include "sfidl-utils.hh"
9 #include "sfidl-cbase.hh"
10 
11 namespace Sfidl {
12 
14  protected:
15  String prefix;
16  String generateInitFunction;
17 
18  void printChoiceMethodPrototypes (PrefixSymbolMode mode);
19  void printChoiceMethodImpl();
20  void printRecordFieldDeclarations();
21  void printInitFunction (const String& initFunction);
22 
23  public:
24  CodeGeneratorHostC (const Parser& parser) : CodeGeneratorCBase (parser) {
25  }
26  void help();
27  bool run();
28 
29  OptionVector getOptions();
30  void setOption (const String& option, const String& value);
31  };
32 
33 };
34 
35 #endif /* __SFIDL_HOSTC_H__ */
36 
37 /* vim:set ts=8 sts=2 sw=2: */
Definition: sfidl-hostc.hh:13
Definition: sfidl-parser.hh:231
Definition: sfidl-cbase.hh:19
std::string String