out-object.h File Reference

Contains the definition of the OutObject. More...

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

Go to the source code of this file.

Data Structures

struct  OutObject
 Contains all the attributes and relations that compose an OutObject. More...
 

Typedefs

typedef struct OutObject OutObject
 Contains all the attributes and relations that compose an OutObject.
 

Functions

void initOutObject (OutObject *oo)
 Init the outobject. More...
 
void freeOutObject (OutObject *oo, int freeItself)
 Free the OutObject previously initialized by initOutObject. More...
 
int haveSameRelations (OutObject *oo1, OutObject *oo2)
 Test if two OutObject have the same relations. More...
 
int haveDisabledRelations (OutObject *oo)
 Check if one of the relations of oo is disabled, recursively. More...
 

Detailed Description

Contains the definition of the OutObject.

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

Function Documentation

void freeOutObject ( OutObject oo,
int  freeItself 
)

Free the OutObject previously initialized by initOutObject.

Parameters
ooA pointer to the OutObject to free
freeItselfBoolean to know whether the OutObject is to be freed or not

Here is the call graph for this function:

Here is the caller graph for this function:

int haveDisabledRelations ( OutObject oo)

Check if one of the relations of oo is disabled, recursively.

Parameters
ooThe OutObject to check
Returns
Returns 1 if a relation is disabled, 0 otherwise

Here is the caller graph for this function:

int haveSameRelations ( OutObject oo1,
OutObject oo2 
)

Test if two OutObject have the same relations.

Parameters
oo1A pointer to the first OutObject
oo2A pointer to the second OutObject
Returns
1 if the same, 0 else

Here is the caller graph for this function:

void initOutObject ( OutObject oo)

Init the outobject.

Parameters
ooA pointer to the outobject to init
Author
Bastien Philip (ebatsin)
Gaël Foppolo (gaelfoppolo)

Here is the caller graph for this function: