blob: 253ab65918e1a7c10cf9509be6b74350ed19f230 [file] [log] [blame]
// --------------------------------------------------------
// Code generated by Papyrus C
// --------------------------------------------------------
// This template is called by the main module file
/*
* File generated from the CCodegenTest::Class2 uml class
* Generated by the Papyrus C Generator (CEA LIST)
*
*/
// include of the self header
/* include header file*/
#include "Class2.h"
// Generate import of class ---------------------------------------------
/* "startUserCode" to add imports */
/* "endUserCode" to add imports */
// ----------------------------------Private and Protected Global VariableDescription----------------------------------
// ----------------------------------Private and Protected Class Functions----------------------------------
/*
*------Private/Protected Function Declarations-----
*/
// ----------------------------------Private and Protected Global Functions----------------------------------
/*
*---Private/Protected Global Function Declarations--
*/
// ----------------------------------Implementation of the class constructor and destructor----------
/*
*--Default constructor & destructor implementations-
*/
// ----------------------------------Initialisation function implementation----------------------------------
// ----------------------------------Function Implementation----------------------------------
/*
*--------------Function Implementation-------------
*/
void Class2_Class2_1(Class2 *self) {
self->iVal1 = 0;
self->iVal2 = 0;
self->bVal = 'f';
}
void Class2_Class2(int newIVal1, int newIVal2, /*bool*/char newBVal,
Class2 *self) {
self->iVal1 = newIVal1;
self->iVal2 = newIVal2;
self->bVal = newBVal;
}
double Class2_virtualOp(Class2 *self, double a, double b) {
}
void staticOp(void) {
}
int Class2_inlineOp(Class2 *self, int a, int b) {
return a + b;
}
void Class2_friendOp(Class2 *self) {
}
void Class2_nonStaticOp(Class2 *self) {
}
int Class2_paramsOp(Class2 *self, int in, int out, int inout) {
}
void Class2_voidOp(Class2 *self) {
}
void Class2_defaultValueOp(Class2 *self, int newIVal1) {
}
void Class2__Class2(Class2 *self) {
}
Class1*
Class2_classesOp(Class2 *self, Class1 c1) {
}
const
void Class2_constOp(Class2 *self) {
printf("I am a const method\n");
}