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

Public Member Functions

 CodeGeneratorCxxBase (const Parser &parser)
 
- Public Member Functions inherited from Sfidl::CodeGenerator
virtual OptionVector getOptions ()
 
virtual void setOption (const String &option, const String &value)
 
virtual void help ()
 
virtual bool run ()=0
 

Protected Member Functions

String untyped_pspec_constructor (const Param &param)
 
String typed_pspec_constructor (const Param &param)
 
- 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)
 

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 }
 
- 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
 

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