OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Classes | Macros | Functions
set.h File Reference
#include <stdio.h>

Go to the source code of this file.

Classes

struct  set_type
 

Macros

#define SET_ON(set)   memset(set.buf,255,(set.size>>3L)+1L)
 
#define SET_OFF(set)   memset(set.buf,0,(set.size>>3L)+1L)
 

Functions

set_type set_init (long int n)
 
int set_empty (set_type set)
 
void set_insert (long int element, set_type set)
 
void set_delete (long int element, set_type set)
 
int set_member (long int element, set_type set)
 
long int set_min (set_type set)
 
long int set_max (set_type set)
 
long int num_in_set (set_type set)
 
void set_on (set_type set)
 
void set_off (set_type set)
 
int set_equal (set_type a, set_type b)
 
void set_assign (set_type *a, set_type b)
 
set_type set_union (set_type a, set_type b)
 
set_type set_intersection (set_type a, set_type b)
 
set_type set_difference (set_type a, set_type b)
 
void set_nuke (set_type *set)
 

Macro Definition Documentation

◆ SET_OFF

#define SET_OFF (   set)    memset(set.buf,0,(set.size>>3L)+1L)

Definition at line 45 of file set.h.

◆ SET_ON

#define SET_ON (   set)    memset(set.buf,255,(set.size>>3L)+1L)

Definition at line 44 of file set.h.

Function Documentation

◆ num_in_set()

long int num_in_set ( set_type  set)

◆ set_assign()

void set_assign ( set_type a,
set_type  b 
)

◆ set_delete()

void set_delete ( long int  element,
set_type  set 
)

◆ set_difference()

set_type set_difference ( set_type  a,
set_type  b 
)

◆ set_empty()

int set_empty ( set_type  set)

◆ set_equal()

int set_equal ( set_type  a,
set_type  b 
)

◆ set_init()

set_type set_init ( long int  n)

◆ set_insert()

void set_insert ( long int  element,
set_type  set 
)

◆ set_intersection()

set_type set_intersection ( set_type  a,
set_type  b 
)

◆ set_max()

long int set_max ( set_type  set)

◆ set_member()

int set_member ( long int  element,
set_type  set 
)

◆ set_min()

long int set_min ( set_type  set)

◆ set_nuke()

void set_nuke ( set_type set)

◆ set_off()

void set_off ( set_type  set)

◆ set_on()

void set_on ( set_type  set)

◆ set_union()

set_type set_union ( set_type  a,
set_type  b 
)