model-attribute.h File Reference

Contains the definition of the ModelAttribute. More...

#include "model-type.h"
Include dependency graph for model-attribute.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ModelAttribute
 Contains the definition of an attribute and its type. More...
 

Typedefs

typedef struct ModelAttribute ModelAttribute
 Contains the definition of an attribute and its type. More...
 

Functions

void freeModelAttribute (ModelAttribute *ma, int freeItself)
 Free the ModelAttribute. More...
 

Detailed Description

Contains the definition of the ModelAttribute.

Author
Bastien Philip (ebatsin)
Gaël Foppolo (gaelfoppolo)

Typedef Documentation

Contains the definition of an attribute and its type.

Each attribute can be of 4 types (integer interval, enumeration item, tree node or leaf and relation) This structure contains the link between an attribute's name and the type it holds (and the boundaries of this type (bounds of the interval, possible values of the enumerations, etc...))

Function Documentation

void freeModelAttribute ( ModelAttribute ma,
int  freeItself 
)

Free the ModelAttribute.

Parameters
maA pointer to the ModelAttribute to be freed
freeItselfBoolean to know whether the ModelAttribute is to be freed or not
Author
Bastien Philip (ebatsin)
Gaël Foppolo (gaelfoppolo)

Here is the call graph for this function:

Here is the caller graph for this function: