model-attribute.h
Go to the documentation of this file.
1 
9 #ifndef _MODEL_ATTRIB_H_
10 #define _MODEL_ATTRIB_H_
11 
12 #include "model-type.h"
13 
21 typedef struct ModelAttribute {
25  char* name;
27 
33 void freeModelAttribute(ModelAttribute* ma, int freeItself);
34 
35 #endif // _MODEL_ATTRIB_H_
Structure that contains the type and the values of the attribute depending on type.
Definition: model-type.h:20
ModelType mt
The definition of the value this attribute can hold.
Definition: model-attribute.h:23
char * name
The name of this attribute, as found in the Model.
Definition: model-attribute.h:25
struct ModelAttribute ModelAttribute
Contains the definition of an attribute and its type.
Contains the definition of an attribute and its type.
Definition: model-attribute.h:21
void freeModelAttribute(ModelAttribute *ma, int freeItself)
Free the ModelAttribute.
Definition: model-attribute.c:10
Contains the definition of an ModelType.