sxset_mngr.c File Reference

#include "sxversion.h"
#include "sxcommon.h"
#include "sxset.h"
Include dependency graph for sxset_mngr.c:

Go to the source code of this file.

Functions

void sxset_alloc (sxset_header *header, char *name, SXUINT universe_size, SXUINT sets_nb, SXUINT average_elems_nb_per_set, void(*sets_oflw)(sxset_header *, SXUINT, SXUINT), void(*elems_oflw)(sxset_header *), FILE *stat_file)
void sxset_stat (sxset_header *header, FILE *stat_file)
void sxset_free (sxset_header *header)
SXBOOLEAN sxset_compare (sxset_header *header, SXUINT set_id)
void sxset_pack_sets (sxset_header *header)
static void sxset_reactivate (sxset_header *header, SXUINT set_id)
void sxset_local_pack (sxset_header *header)
void sxset_pack_elems (sxset_header *header)
SXUINT sxset_new_set_id (sxset_header *header)
void sxtrap (char *caller, char *message)
SXBOOLEAN sxset_member (sxset_header *header, SXUINT set_id, SXUINT elem)
static void sxset_elems_oflw (sxset_header *header)
void sxset_add_member (sxset_header *header, SXUINT elem)
void sxset_copy (sxset_header *header, SXUINT set_id)
void sxset_and (sxset_header *header, SXUINT set_id)
void sxset_minus (sxset_header *header, SXUINT set_id)
SXUINT sxset_not (sxset_header *header, SXUINT set_id)

Variables

char WHAT_SXSET_MNGR [] = "@(#)SYNTAX - $Id: sxset_mngr.c 1416 2008-06-25 14:42:55Z rlacroix $" WHAT_DEBUG
static char ME [] = "sxset_mngr"

Function Documentation

void sxset_add_member ( sxset_header *  header,
SXUINT  elem 
)

Definition at line 325 of file sxset_mngr.c.

References SXBOOLEAN, sxset_elems_oflw(), SXTRUE, and val.

Referenced by sxset_copy().

void sxset_alloc ( sxset_header *  header,
char name,
SXUINT  universe_size,
SXUINT  sets_nb,
SXUINT  average_elems_nb_per_set,
void(*)(sxset_header *, SXUINT, SXUINT)  sets_oflw,
void(*)(sxset_header *)  elems_oflw,
FILE *  stat_file 
)

Definition at line 43 of file sxset_mngr.c.

void sxset_and ( sxset_header *  header,
SXUINT  set_id 
)

Definition at line 373 of file sxset_mngr.c.

References val.

SXBOOLEAN sxset_compare ( sxset_header *  header,
SXUINT  set_id 
)

Definition at line 106 of file sxset_mngr.c.

References n, SXFALSE, sxset_member(), and SXTRUE.

void sxset_copy ( sxset_header *  header,
SXUINT  set_id 
)

Definition at line 361 of file sxset_mngr.c.

References n, and sxset_add_member().

static void sxset_elems_oflw ( sxset_header *  header  )  [static]

Definition at line 303 of file sxset_mngr.c.

References sxset_pack_elems().

Referenced by sxset_add_member(), and sxset_not().

void sxset_free ( sxset_header *  header  ) 

Definition at line 92 of file sxset_mngr.c.

References sxset_stat().

void sxset_local_pack ( sxset_header *  header  ) 

Definition at line 160 of file sxset_mngr.c.

References n.

SXBOOLEAN sxset_member ( sxset_header *  header,
SXUINT  set_id,
SXUINT  elem 
)

Definition at line 282 of file sxset_mngr.c.

References ME, SXFALSE, sxtrap(), and val.

Referenced by sxset_compare(), and sxset_not().

void sxset_minus ( sxset_header *  header,
SXUINT  set_id 
)

Definition at line 416 of file sxset_mngr.c.

References val.

SXUINT sxset_new_set_id ( sxset_header *  header  ) 

Definition at line 239 of file sxset_mngr.c.

References sxset_pack_sets().

Referenced by sxset_not().

SXUINT sxset_not ( sxset_header *  header,
SXUINT  set_id 
)
void sxset_pack_elems ( sxset_header *  header  ) 

Definition at line 188 of file sxset_mngr.c.

References new_top, sxset_reactivate(), and top.

Referenced by sxset_elems_oflw().

void sxset_pack_sets ( sxset_header *  header  ) 

Definition at line 126 of file sxset_mngr.c.

Referenced by sxset_new_set_id().

static void sxset_reactivate ( sxset_header *  header,
SXUINT  set_id 
) [static]

Definition at line 146 of file sxset_mngr.c.

References n.

Referenced by sxset_not(), and sxset_pack_elems().

void sxset_stat ( sxset_header *  header,
FILE *  stat_file 
)

Definition at line 72 of file sxset_mngr.c.

Referenced by sxset_free().

void sxtrap ( char caller,
char message 
)

Definition at line 33 of file sxtrap.c.


Variable Documentation

char ME[] = "sxset_mngr" [static]

Definition at line 35 of file sxset_mngr.c.

Referenced by sxset_member().

char WHAT_SXSET_MNGR[] = "@(#)SYNTAX - $Id: sxset_mngr.c 1416 2008-06-25 14:42:55Z rlacroix $" WHAT_DEBUG

Definition at line 32 of file sxset_mngr.c.


Generated on Wed Apr 21 16:39:39 2010 for syntax-6.0b7 by  doxygen 1.6.1