CreateCPPAbiHeader creates a CPP header file for the component's API
(component ComponentDefinition, CHeaderName string)
| 69 | |
| 70 | // CreateCPPAbiHeader creates a CPP header file for the component's API |
| 71 | func CreateCPPAbiHeader(component ComponentDefinition, CHeaderName string) (error) { |
| 72 | hfile, err := CreateLanguageFile(CHeaderName, " "); |
| 73 | if (err != nil) { |
| 74 | return err; |
| 75 | } |
| 76 | hfile.WriteCLicenseHeader (component, |
| 77 | fmt.Sprintf ("This is an autogenerated C++-Header file in order to allow an easy\n use of %s", component.LibraryName), |
| 78 | true); |
| 79 | err = buildCAbiHeader(component, hfile, component.NameSpace, component.BaseName, true); |
| 80 | return err; |
| 81 | } |
| 82 | |
| 83 | func getCPPParameterTypeName(ParamTypeName string, NameSpace string, ParamClass string)(string, error) { |
| 84 | paramNameSpace, paramClassName, err := decomposeParamClassName(ParamClass) |
no test coverage detected