tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
bitmap.h File Reference
#include "types.h"
Include dependency graph for bitmap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bitmap
 

Macros

#define PBITMAP_ALLOC(n)   Pbitmap_alloc(n)
 
#define PBITMAP_FREE(b)   Pbitmap_free(b)
 
#define PBITMAP_SET(b, i)   bitmap_set(b, i)
 
#define PBITMAP_CLEAR(b, i)   bitmap_clear(b, i)
 
#define PBITMAP_CLEARALL(b)   bitmap_clearAll(b)
 
#define PBITMAP_ISSET(b, i)   bitmap_isSet(b, i)
 
#define PBITMAP_FINDCLEAR(b, i)   bitmap_findClear(b, i)
 
#define PBITMAP_FINDSET(b, i)   bitmap_findSet(b, i)
 
#define PBITMAP_GETNUMCLEAR(b)   bitmap_getNumClear(b)
 
#define PBITMAP_GETNUMSET(b)   bitmap_getNumSet(b)
 
#define PBITMAP_COPY(b)   bitmap_copy(b)
 
#define PBITMAP_TOGGLEALL(b)   bitmap_toggleAll(b)
 

Typedefs

typedef struct bitmap bitmap_t
 

Functions

bitmap_tbitmap_alloc (long numBit)
 
bitmap_tPbitmap_alloc (long numBit)
 
void bitmap_free (bitmap_t *bitmapPtr)
 
void Pbitmap_free (bitmap_t *bitmapPtr)
 
bool_t bitmap_set (bitmap_t *bitmapPtr, long i)
 
bool_t bitmap_clear (bitmap_t *bitmapPtr, long i)
 
void bitmap_clearAll (bitmap_t *bitmapPtr)
 
bool_t bitmap_isSet (bitmap_t *bitmapPtr, long i)
 
long bitmap_findClear (bitmap_t *bitmapPtr, long startIndex)
 
long bitmap_findSet (bitmap_t *bitmapPtr, long startIndex)
 
long bitmap_getNumClear (bitmap_t *bitmapPtr)
 
long bitmap_getNumSet (bitmap_t *bitmapPtr)
 
void bitmap_copy (bitmap_t *dstPtr, bitmap_t *srcPtr)
 
void bitmap_toggleAll (bitmap_t *bitmapPtr)
 

Macro Definition Documentation

#define PBITMAP_ALLOC (   n)    Pbitmap_alloc(n)
#define PBITMAP_CLEAR (   b,
 
)    bitmap_clear(b, i)
#define PBITMAP_CLEARALL (   b)    bitmap_clearAll(b)
#define PBITMAP_COPY (   b)    bitmap_copy(b)
#define PBITMAP_FINDCLEAR (   b,
 
)    bitmap_findClear(b, i)
#define PBITMAP_FINDSET (   b,
 
)    bitmap_findSet(b, i)
#define PBITMAP_FREE (   b)    Pbitmap_free(b)
#define PBITMAP_GETNUMCLEAR (   b)    bitmap_getNumClear(b)
#define PBITMAP_GETNUMSET (   b)    bitmap_getNumSet(b)
#define PBITMAP_ISSET (   b,
 
)    bitmap_isSet(b, i)
#define PBITMAP_SET (   b,
 
)    bitmap_set(b, i)
#define PBITMAP_TOGGLEALL (   b)    bitmap_toggleAll(b)

Typedef Documentation

typedef struct bitmap bitmap_t

Function Documentation

bitmap_t* bitmap_alloc ( long  numBit)

Here is the caller graph for this function:

bool_t bitmap_clear ( bitmap_t bitmapPtr,
long  i 
)
void bitmap_clearAll ( bitmap_t bitmapPtr)

Here is the caller graph for this function:

void bitmap_copy ( bitmap_t dstPtr,
bitmap_t srcPtr 
)

Here is the call graph for this function:

long bitmap_findClear ( bitmap_t bitmapPtr,
long  startIndex 
)

Here is the caller graph for this function:

long bitmap_findSet ( bitmap_t bitmapPtr,
long  startIndex 
)
void bitmap_free ( bitmap_t bitmapPtr)

Here is the caller graph for this function:

long bitmap_getNumClear ( bitmap_t bitmapPtr)

Here is the call graph for this function:

long bitmap_getNumSet ( bitmap_t bitmapPtr)

Here is the caller graph for this function:

bool_t bitmap_isSet ( bitmap_t bitmapPtr,
long  i 
)

Here is the caller graph for this function:

bool_t bitmap_set ( bitmap_t bitmapPtr,
long  i 
)

Here is the caller graph for this function:

void bitmap_toggleAll ( bitmap_t bitmapPtr)
bitmap_t* Pbitmap_alloc ( long  numBit)
void Pbitmap_free ( bitmap_t bitmapPtr)