out-enum.h
Go to the documentation of this file.
1 
9 #ifndef _OUTPUTENUM_H_
10 #define _OUTPUTENUM_H_
11 
12 #include "vector.h"
13 
18 typedef struct OutEnum {
20  Vector(int) oenu;
21 } OutEnum;
22 
27 void initOutEnum(OutEnum* oenu);
28 
34 void freeOutEnum(OutEnum* oenu, int freeItself);
35 
44 int isOutEnumIncludeInAnother(OutEnum oenu1, OutEnum oenu2);
45 
46 #endif // _OUTPUTENUM_H_
Contains multiple enumeration items When combining multiple Object, each enumeration item is to be st...
Definition: out-enum.h:18
Vector(int) oenu
An array that contains the identifier of each enumeration item contained.
void initOutEnum(OutEnum *oenu)
Initilialize the OutputEnum.
Definition: out-enum.c:10
struct OutEnum OutEnum
Contains multiple enumeration items When combining multiple Object, each enumeration item is to be st...
Contains the definition of the vectors (dynamic & generic arrays)
void freeOutEnum(OutEnum *oenu, int freeItself)
Free the OutEnum previously initialized by initEnum.
Definition: out-enum.c:14
int isOutEnumIncludeInAnother(OutEnum oenu1, OutEnum oenu2)
Is oenu1 include in oenu2?
Definition: out-enum.c:19