// -------------------------------------------------------- | |
// Code generated by Papyrus C | |
// -------------------------------------------------------- | |
// This template is called by the main module file | |
/* | |
* File generated from the CCodegenTest::Class7 uml class | |
* Generated by the Papyrus C Generator (CEA LIST) | |
* | |
*/ | |
#ifndef CLASS7_H_ | |
#define CLASS7_H_ | |
// Explicit import of the class | |
/* | |
*-----------------------Import---------------------- | |
*/ | |
#include <stdlib.h> | |
// User imports | |
/* "startUserCode" to add imports */ | |
/* "endUserCode" to add imports */ | |
/* include other files*/ | |
// header body | |
/* | |
*--------------Public Class Description------------- | |
*/ | |
// Structure | |
/* Class Macro definition */ | |
#define Class7(OBJ) ((Class7*)OBJ) | |
typedef struct Class7 Class7; | |
struct Class7 { | |
int externProp; | |
int defaultProp; | |
}; | |
// Constructor and destructor declarations | |
/* | |
*----Default constructor & destructor prototypes--- | |
*/ | |
/** | |
* Dynamic instantiation of a Class7 structure | |
* @return Class7 instance pointer | |
*/ | |
Class7* Class7_create(); | |
/** | |
* Dynamic destruction of a Class7 structure instantiation | |
* @param Pointer to an instance of the Class7 structure | |
* @return void | |
*/ | |
void Class7_destroy(Class7*); | |
// Property initialisation declarations | |
/* | |
*------Default value initialization prototypes----- | |
*/ | |
/** | |
* Default value initialization | |
* @param Class7 structure instance pointer | |
* @return void | |
*/ | |
void Class7_init(Class7* self); | |
// Class methods declarations | |
// ----------------------------------Public Global VariableDescription---------------------------------- | |
/* | |
*--------Global Public Variable Declarations------- | |
*/ | |
// global variable declaration | |
int staticProp; | |
// ----------------------------------Global Public Functions---------------------------------- | |
#endif /*CLASS7_H_*/ |