out-attribute.h
Go to the documentation of this file.
1 
9 #ifndef _OUT_ATTRIBUTE_H_
10 #define _OUT_ATTRIBUTE_H_
11 
12 #include "attribute-types.h"
13 #include "interval.h"
14 #include "out-enum.h"
15 
24 typedef struct OutAttribute {
30  union {
36  int tree;
37  };
38 } OutAttribute;
39 
45 void freeOutAttribute(OutAttribute* oa, int freeItself);
46 
47 #endif // _OUT_ATTRIBUTE_H_
Contains multiple enumeration items When combining multiple Object, each enumeration item is to be st...
Definition: out-enum.h:18
Containins the definition of the OutEnum.
unsigned char attrType
Stores the type of the attribute.
Definition: attribute-types.h:17
struct OutAttribute OutAttribute
Represents an attribute used by the solution and the value it holds.
Contains the attribute's types definition In our model we have five attribute types: interval of inte...
OutEnum oenu
Contains the definition of the type if it is an enumeration extract.
Definition: out-attribute.h:34
attrType type
The type contained by this attribute.
Definition: out-attribute.h:26
Represents an attribute used by the solution and the value it holds.
Definition: out-attribute.h:24
Interval inter
Contains the definition of the type if it is an interval.
Definition: out-attribute.h:32
int tree
Contains the definition of the type if it is the node or the leaf of a tree.
Definition: out-attribute.h:36
Structure that contains a signed integer interval.
Definition: interval.h:17
void freeOutAttribute(OutAttribute *oa, int freeItself)
Free the OutAttribute.
Definition: out-attribute.c:10
Contains the definition of the Interval.