blob: 3d6da7574bde797d4946b4ed1b7f6eb68d3d3246 [file] [log] [blame]
// --------------------------------------------------------
// Code generated by Papyrus C
// --------------------------------------------------------
// This template is called by the main module file
/*
* File generated from the CCodegenTest::Class4 uml class
* Generated by the Papyrus C Generator (CEA LIST)
*
*/
#ifndef CLASS4_H_
#define CLASS4_H_
// Explicit import of the class
/*
*-----------------------Import----------------------
*/
#include <stdlib.h>
// User imports
/* "startUserCode" to add imports */
/* "endUserCode" to add imports */
/* include other files*/
#include <Class3.h>
// header body
/*
*--------------Public Class Description-------------
*/
// Structure
/* Class Macro definition */
#define Class4(OBJ) ((Class4*)OBJ)
typedef struct Class4 Class4;
struct Class4 {
Class3* c3;
char charVar;
double doubleVar;
float floatVar;
int intVar;
long longVar;
long double longDoubleVar;
short shortVar;
unsigned int unsignedIntVar;
unsigned short unsignedShortVar;
unsigned char unsignedCharVar;
unsigned long unsignedLongVar;
/*bool*/
char boolVar;
double arrayDoubleDefault;
char arrayCharInit;
char* charString;
char* ptrChar;
};
// Constructor and destructor declarations
/*
*----Default constructor & destructor prototypes---
*/
/**
* Dynamic instantiation of a Class4 structure
* @return Class4 instance pointer
*/
Class4* Class4_create();
/**
* Dynamic destruction of a Class4 structure instantiation
* @param Pointer to an instance of the Class4 structure
* @return void
*/
void Class4_destroy(Class4*);
// Property initialisation declarations
/*
*------Default value initialization prototypes-----
*/
/**
* Default value initialization
* @param Class4 structure instance pointer
* @return void
*/
void Class4_init(Class4* self);
// Class methods declarations
// ----------------------------------Public Global VariableDescription----------------------------------
/*
*--------Global Public Variable Declarations-------
*/
// global variable declaration
char* charStringStaticInit = "Hello World";
// ----------------------------------Global Public Functions----------------------------------
#endif /*CLASS4_H_*/