Blender V4.3
AUD_Set.cpp File Reference
#include <set>
#include "AUD_Set.h"

Go to the source code of this file.

Functions

void * AUD_createSet ()
 
void AUD_destroySet (void *set)
 
char AUD_removeSet (void *set, void *entry)
 
void AUD_addSet (void *set, void *entry)
 
void * AUD_getSet (void *set)
 

Function Documentation

◆ AUD_addSet()

void AUD_addSet ( void * set,
void * entry )

Adds a new entry to a set.

Parameters
setThe set work on.
entryThe entry to add.

Definition at line 31 of file AUD_Set.cpp.

References insert(), and set().

◆ AUD_createSet()

void * AUD_createSet ( void )

Creates a new set.

Returns
The new set.

Definition at line 13 of file AUD_Set.cpp.

◆ AUD_destroySet()

void AUD_destroySet ( void * set)

Deletes a set.

Parameters
setThe set to delete.

Definition at line 18 of file AUD_Set.cpp.

References set().

◆ AUD_getSet()

void * AUD_getSet ( void * set)

Removes one entry from a set and returns it.

Parameters
setThe set work on.
Returns
The entry or NULL if the set is empty.

Definition at line 38 of file AUD_Set.cpp.

References result, and set().

◆ AUD_removeSet()

char AUD_removeSet ( void * set,
void * entry )

Removes an entry from a set.

Parameters
setThe set work on.
entryThe entry to remove.
Returns
Whether the entry was in the set or not.

Definition at line 23 of file AUD_Set.cpp.

References set().