BEAST/BSE - Better Audio System and Sound Engine  0.8.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
sfidl-hostc.hh
Go to the documentation of this file.
00001  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
00002 #ifndef __SFIDL_HOSTC_H__
00003 #define __SFIDL_HOSTC_H__
00004 
00005 #include <map>
00006 #include <iostream>
00007 #include <algorithm>
00008 #include "sfidl-utils.hh"
00009 #include "sfidl-cbase.hh"
00010 
00011 namespace Sfidl {
00012 
00013   class CodeGeneratorHostC : public CodeGeneratorCBase {
00014   protected:
00015     String prefix;
00016     String generateInitFunction;
00017 
00018     void printChoiceMethodPrototypes (PrefixSymbolMode mode);
00019     void printChoiceMethodImpl();
00020     void printRecordFieldDeclarations();
00021     void printInitFunction (const String& initFunction);    
00022 
00023   public:
00024     CodeGeneratorHostC (const Parser& parser) : CodeGeneratorCBase (parser) {
00025     }
00026     void help();
00027     bool run();
00028 
00029     OptionVector getOptions();
00030     void setOption (const String& option, const String& value);
00031   };
00032 
00033 };
00034 
00035 #endif  /* __SFIDL_HOSTC_H__ */
00036 
00037 /* vim:set ts=8 sts=2 sw=2: */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines