Protected Types | |
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 | |
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) | |
![]() | |
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 | |
bool | generateBoxedTypes |
std::vector< String > | prefix_symbols |
![]() | |
const Parser & | parser |
const Options & | options |
bool | generateHeader |
bool | generateSource |
bool | generateIdlLineNumbers |
Additional Inherited Members | |
![]() | |
virtual OptionVector | getOptions () |
virtual void | setOption (const String &option, const String &value) |
virtual void | help () |
virtual bool | run ()=0 |