(component ComponentDefinition, NameSpace string, NameSpaceImplementation string, ClassIdentifier string, BaseName string, outputFolder string, indentString string, stubIdentifier string, forceRecreation bool)
| 1114 | } |
| 1115 | |
| 1116 | func buildCPPStub(component ComponentDefinition, NameSpace string, NameSpaceImplementation string, ClassIdentifier string, BaseName string, outputFolder string, indentString string, stubIdentifier string, forceRecreation bool) error { |
| 1117 | |
| 1118 | for i := 0; i < len(component.Classes); i++ { |
| 1119 | class := component.Classes[i] |
| 1120 | err := buildCPPStubClass(component, class, NameSpace, NameSpaceImplementation, ClassIdentifier, BaseName, outputFolder, indentString, stubIdentifier, forceRecreation) |
| 1121 | if err != nil { |
| 1122 | return err |
| 1123 | } |
| 1124 | } |
| 1125 | |
| 1126 | return nil |
| 1127 | } |
| 1128 | |
| 1129 | func getCppVariableName (param ComponentDefinitionParam) (string) { |
| 1130 | switch (param.ParamType) { |
no test coverage detected