BEAST/BSE - Better Audio System and Sound Engine  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
Sfidl::CodeGenerator Class Referenceabstract

Inherited by Sfidl::CodeGeneratorCBase.

Public Member Functions

virtual OptionVector getOptions ()
 
virtual void setOption (const String &option, const String &value)
 
virtual void help ()
 
virtual bool run ()=0
 

Protected Types

enum  WordCase { lower, Capitalized, semiCapitalized, UPPER }
 
enum  NamespaceType { NONE, ABSOLUTE }
 

Protected Member Functions

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

const Parserparser
 
const Optionsoptions
 
bool generateHeader
 
bool generateSource
 
bool generateIdlLineNumbers
 

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