BEAST - Free Software Audio Synthesizer and Tracker  0.10.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Sfidl::CodeGeneratorHostC Class Reference
Inheritance diagram for Sfidl::CodeGeneratorHostC:
Inheritance graph
[legend]

Public Member Functions

 CodeGeneratorHostC (const Parser &parser)
 
void help ()
 
bool run ()
 
OptionVector getOptions ()
 
void setOption (const String &option, const String &value)
 

Protected Member Functions

void printChoiceMethodPrototypes (PrefixSymbolMode mode)
 
void printChoiceMethodImpl ()
 
void printRecordFieldDeclarations ()
 
void printInitFunction (const String &initFunction)
 
- Protected Member Functions inherited from Sfidl::CodeGeneratorCBase
const gchar * makeCStr (const String &str)
 
String scatId (SfiSCategory c)
 
void printClientRecordPrototypes ()
 
void printClientSequencePrototypes ()
 
void printClientRecordDefinitions ()
 
void printClientSequenceDefinitions ()
 
void printClientRecordMethodPrototypes (PrefixSymbolMode mode)
 
void printClientSequenceMethodPrototypes (PrefixSymbolMode mode)
 
void printClientRecordMethodImpl ()
 
void printClientSequenceMethodImpl ()
 
void printClientChoiceDefinitions ()
 
void printClientChoiceConverterPrototypes (PrefixSymbolMode mode)
 
void printProcedure (const Method &mdef, bool proto=false, const String &className="")
 
void printChoiceConverters ()
 
virtual String makeProcName (const String &className, const String &procName)
 
String makeGTypeName (const String &name)
 
String makeParamSpec (const Param &pdef)
 
String createTypeCode (const String &type, TypeCodeModel model)
 
virtual String typeArg (const String &type)
 
const gchar * cTypeArg (const String &type)
 
virtual String typeField (const String &type)
 
const gchar * cTypeField (const String &type)
 
virtual String typeRet (const String &type)
 
const gchar * cTypeRet (const String &type)
 
virtual String typeArray (const String &type)
 
const gchar * cTypeArray (const String &type)
 
virtual String funcNew (const String &type)
 
const gchar * cFuncNew (const String &type)
 
virtual String funcCopy (const String &type)
 
const gchar * cFuncCopy (const String &type)
 
virtual String funcFree (const String &type)
 
const gchar * cFuncFree (const String &type)
 
virtual String createTypeCode (const String &type, const String &name, TypeCodeModel model)
 
 CodeGeneratorCBase (const Parser &parser)
 
- Protected Member Functions inherited from Sfidl::CodeGenerator
std::vector< StringsplitName (const String &name)
 
String makeLowerName (const String &name, char seperator= '_')
 
String makeUpperName (const String &name)
 
String makeMixedName (const String &name)
 
String makeLMixedName (const String &name)
 
String toWordCase (const String &word, WordCase wc)
 
String joinName (const std::vector< String > &name, const String &seperator, WordCase wc)
 
String rename (NamespaceType namespace_type, const String &name, WordCase namespace_wc, const String &namespace_join, const std::vector< String > &namespace_append, WordCase typename_wc, const String &typename_join)
 
String rename (NamespaceHelper &nsh, const String &name, WordCase namespace_wc, const String &namespace_join, const std::vector< String > &namespace_append, WordCase typename_wc, const String &typename_join)
 
 CodeGenerator (const Parser &parser)
 

Protected Attributes

String prefix
 
String generateInitFunction
 
- Protected Attributes inherited from Sfidl::CodeGeneratorCBase
bool generateBoxedTypes
 
std::vector< Stringprefix_symbols
 
- Protected Attributes inherited from Sfidl::CodeGenerator
const Parserparser
 
const Optionsoptions
 
bool generateHeader
 
bool generateSource
 
bool generateIdlLineNumbers
 

Additional Inherited Members

- Protected Types inherited from Sfidl::CodeGeneratorCBase
enum  TypeCodeModel {
  MODEL_FROM_VALUE, MODEL_TO_VALUE, MODEL_VCALL, MODEL_VCALL_ARG,
  MODEL_VCALL_CARG, MODEL_VCALL_CONV, MODEL_VCALL_CFREE, MODEL_VCALL_RET,
  MODEL_VCALL_RCONV, MODEL_VCALL_RFREE
}
 
enum  PrefixSymbolMode { generateOutput, generatePrefixSymbols }
 
- Protected Types inherited from Sfidl::CodeGenerator
enum  WordCase { lower, Capitalized, semiCapitalized, UPPER }
 
enum  NamespaceType { NONE, ABSOLUTE }
 

The documentation for this class was generated from the following files: