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

Public Member Functions

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

Protected Types

enum  Style { STYLE_LOWER, STYLE_MIXED }
 
- 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 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)
 
- Protected Member Functions inherited from Sfidl::CodeGeneratorCxxBase
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 ()
 
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)
 
- 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

NamespaceHelper nspace
 
Style style
 
- 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: