model.h
Go to the documentation of this file.
Vector(ModelAttribute) ma
An array of attributes definition. Allow to know which attribute is ruled by which rules...
void freeModel(Model *mdl)
Free the Model structure (created while parsing the config file)
Definition: model.c:32
Contains the attributes and relations definitions found in the model file.
Definition: model.h:20
Contains the definition of an attribute and its type.
Definition: model-attribute.h:21
int getEnumId(const char *str, Model *mdl, unsigned int index)
Returns the identifier of the enumeration item whose name is given as a parameter.
Definition: model.c:50
char * getTreeStr(int id, Model *mdl, unsigned int index)
Returns the name of the tree node or tree leaf whose identifier is given as a parameter.
Definition: model.c:93
Contains the definition of the vectors (dynamic & generic arrays)
int getTreeId(const char *str, Model *mdl, unsigned int index)
Returns the identifier of the tree node or tree leaf whose name is given as a parameter.
Definition: model.c:78
char * getEnumStr(int id, Model *mdl, unsigned int index)
Returns the name of the enumeration item whose identifier is given as a parameter.
Definition: model.c:82
Contains the definition of the ModelAttribute.