|
void | parseSubtemplates () |
| This function prepare helpful functions located in template files. More...
|
|
void | generateOutputFiles (const std::string &fileName) override |
| This function generate output files. More...
|
|
void | generateCommonFile (std::string fileName) |
| This function generate output common module. More...
|
|
void | generateInitFile (std::string fileName) |
| This function generate output package init file. More...
|
|
void | generateClientFile (std::string fileName) |
| This function generate output client file. More...
|
|
void | generateServerFile (std::string fileName) |
| This function generate output server file. More...
|
|
void | generateInterfaceFile (std::string fileName) |
| This function generate output interface file. More...
|
|
virtual void | generateGlobalInitFile () |
| This function generate output crc16 source file.
|
|
cpptempl::data_map | getFunctionTemplateData (Group *group, Function *fn) override |
| This function return interface function template data. More...
|
|
cpptempl::data_map | getFunctionTypeTemplateData (Group *group, FunctionType *fn) override |
| This function returns function type (callbacks type) template data. More...
|
|
void | setTemplateComments (Symbol *symbol, cpptempl::data_map &symbolInfo) override |
| This function will get symbol comments and convert to language specific ones. More...
|
|
std::string | getFunctionPrototype (Group *group, FunctionBase *fn, const std::string &interfaceName="", const std::string &name="", bool insideInterfaceCall=false) override |
| This function return interface function prototype. More...
|
|
void | makeConstTemplateData () |
| This function sets const template data. More...
|
|
void | makeEnumsTemplateData () |
| This function sets enum template data. More...
|
|
cpptempl::data_map | makeGroupSymbolsTemplateData (Group *group) override |
| This function sets group symbols template data. More...
|
|
cpptempl::data_list | getEnumMembersTemplateData (EnumType *enumType) |
| This function return enum members template data. More...
|
|
void | makeAliasesTemplateData () |
| Fill in template data for type aliases.
|
|
void | setStructMembersTemplateData (StructType *structType, cpptempl::data_map &structInfo) |
| This function sets struct member information to struct data map variable. More...
|
|
void | setOneStructMemberTemplateData (StructMember *member, cpptempl::data_map &member_info) |
| Fill in template data for a single struct member.
|
|
cpptempl::data_map | getTypeInfo (DataType *t) |
| This function return necessary template data for data type. More...
|
|
std::string | getBuiltinTypename (const BuiltinType *t) |
| This function return string representation for given BuiltinType. More...
|
|
std::string | filterName (const std::string &name) |
| Filter symbol names.
|
|
std::string | convertComment (const std::string &comment, comment_type_t commentType) |
| Converts a C++-style Doxygen comment into a Python Doxygen comment. More...
|
|
std::string | stripWhitespace (const std::string &s) |
| Strip leading and trailing whitespace. More...
|
|
bool | checkWhitespaceChar (char c) |
| Check if character is whitespace type. More...
|
|
void | initPythonReservedWords () |
|
void | openFile (std::ofstream &fileOutputStream, const std::string &fileName) |
| This function open file. More...
|
|
void | generateOutputFile (const std::string &fileName, const std::string &templateName, cpptempl::data_map &templateData, const char *const kParseFile) |
| This function open file, generate output into this file and close this file. More...
|
|
std::string | stripExtension (const std::string &filename) |
|
StructMember * | findParamReferencedFromAnn (const StructType::member_vector_t &members, const std::string &referenceName, const std::string &annName) |
| This function will return pointer to function parameter/structure member where given reference name is referenced for. More...
|
|
StructMember * | findParamReferencedFromUnion (const StructType::member_vector_t &members, const std::string &referenceName) |
| This function will return pointer to function parameter/structure member where given reference name is referenced for. More...
|
|
StructMember * | findParamReferencedFrom (const StructType::member_vector_t &members, const std::string &referenceName) |
| This function will return pointer to function parameter/structure member where given reference name is referenced for. Combines findParamReferencedFromUnion and findParamReferencedFromAnn. More...
|
|
std::string | getTime () |
| This function return actual time string representation. More...
|
|
void | findGroupDataTypes () |
| This function finds all group's data types.
|
|
virtual DataType * | findChildDataType (std::set< DataType * > &dataTypes, DataType *dataType) |
| This function finds child data types of specified data type. More...
|
|
virtual void | setBinaryList (StructMember *structMember) |
| This function transform binary data type to list and set annotation to it. More...
|
|
cpptempl::data_list | makeGroupInterfacesTemplateData (Group *group) |
| This function sets interfaces template data. More...
|
|
std::string | getGroupCommonFileName (Group *group) |
| Function return common fileName part for group generated files. More...
|
|
void | generateGroupOutputFiles (Group *group) |
| This function generates output files for defined interfaces. More...
|
|
void | makeIncludesTemplateData () |
| This function sets template data for include directives from an IDL file.
|
|
cpptempl::data_list | makeGroupIncludesTemplateData (Group *group) |
| This function sets template data for group include directives. More...
|
|
Group * | getGroupByName (const std::string &name) |
| This function returns pointer to a group with specified name. More...
|
|
bool | isMemberDataTypeUsingForwardDeclaration (Symbol *topSymbol, Symbol *memberSymbol) |
| This function returns information if member data type symbol is using forward declared type. More...
|
|
std::string | getOutputName (Symbol *symbol, bool check=true) |
|
Annotation::program_lang_t | getAnnotationLang () |
| Returns Generator flag used for annotation. More...
|
|
Annotation * | findAnnotation (Symbol *symbol, const std::string &name) |
| Find annotation in the annotation list. More...
|
|
std::vector< Annotation * > | getAnnotations (Symbol *symbol, const std::string &name) |
| Find annotations matching name in the annotation list. More...
|
|
Value * | getAnnValue (Symbol *symbol, const std::string &name) |
| This function search and returns Value object for given annotation name. More...
|
|
std::string | getAnnStringValue (Symbol *symbol, const std::string &name) |
| This function search and returns string for given annotation name. More...
|
|
datatype_vector_t | getDataTypesFromSymbolScope (SymbolScope *scope, DataType::data_type_t datatype) |
| This function returns vector of data types from scope. More...
|
|
Code generator for Python.