BEAST/BSE - Better Audio System and Sound Engine
0.9.0
|
Inherits Sfidl::CodeGeneratorCxxBase.
Public Member Functions | |
CodeGeneratorClientCxx (const Parser &parser) | |
void | help () |
bool | run () |
OptionVector | getOptions () |
void | setOption (const String &option, const String &value) |
![]() | |
CodeGeneratorCxxBase (const Parser &parser) | |
Protected Types | |
enum | Style { STYLE_LOWER, STYLE_MIXED } |
![]() | |
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 } |
![]() | |
enum | WordCase { lower, Capitalized, semiCapitalized, UPPER } |
enum | NamespaceType { NONE, ABSOLUTE } |
Protected Member Functions | |
String | createTypeCode (const String &type, const String &name, TypeCodeModel model) |
String | typeArg (const String &type) |
String | typeField (const String &type) |
String | typeRet (const String &type) |
String | funcNew (const String &type) |
String | funcCopy (const String &type) |
String | funcFree (const String &type) |
void | printChoicePrototype (NamespaceHelper &nspace) |
void | printChoiceImpl (NamespaceHelper &nspace) |
void | printRecSeqForwardDecl (NamespaceHelper &nspace) |
void | printRecSeqDefinition (NamespaceHelper &nspace) |
void | printRecSeqImpl (NamespaceHelper &nspace) |
String | makeStyleName (const String &name) |
String | makeProcName (const String &className, const String &procName) |
void | printMethods (const Class &cdef) |
void | printProperties (const Class &cdef) |
![]() | |
String | untyped_pspec_constructor (const Param ¶m) |
String | typed_pspec_constructor (const Param ¶m) |
![]() | |
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 () |
String | makeGTypeName (const String &name) |
String | makeParamSpec (const Param &pdef) |
String | createTypeCode (const String &type, TypeCodeModel model) |
const gchar * | cTypeArg (const String &type) |
const gchar * | cTypeField (const String &type) |
const gchar * | cTypeRet (const String &type) |
virtual String | typeArray (const String &type) |
const gchar * | cTypeArray (const String &type) |
const gchar * | cFuncNew (const String &type) |
const gchar * | cFuncCopy (const String &type) |
const gchar * | cFuncFree (const String &type) |
CodeGeneratorCBase (const Parser &parser) | |
![]() | |
std::vector< String > | splitName (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 | |
NamespaceHelper | nspace |
Style | style |
![]() | |
bool | generateBoxedTypes |
std::vector< String > | prefix_symbols |
![]() | |
const Parser & | parser |
const Options & | options |
bool | generateHeader |
bool | generateSource |
bool | generateIdlLineNumbers |