MISR Toolkit  1.5.1
Macros | Typedefs | Enumerations | Functions
bitvect.h File Reference
#include "H4api_adpt.h"
#include "hdf.h"

Go to the source code of this file.

Macros

#define BV_INIT_TO_ONE   0x00000001 /* to indicate whether to create the bit-vector with one's instead of zero's */
 
#define BV_EXTENDABLE   0x00000002 /* to indicate that the bit-vector can be extended */
 
#define BV_DEFAULT_BITS   128
 
#define BV_CHUNK_SIZE   64
 

Typedefs

typedef struct bv_struct_tag * bv_ptr
 

Enumerations

enum  bv_bool {
  BV_FALSE =0,
  BV_TRUE =1,
  BV_FALSE =0,
  BV_TRUE =1
}
 

Functions

HDFLIBAPI bv_ptr bv_new (int32 num_bits, uint32 flags)
 
HDFLIBAPI intn bv_delete (bv_ptr b)
 
HDFLIBAPI intn bv_set (bv_ptr b, int32 bit_num, bv_bool value)
 
HDFLIBAPI intn bv_get (bv_ptr b, int32 bit_num)
 
HDFLIBAPI intn bv_clear (bv_ptr b, bv_bool value)
 
HDFLIBAPI int32 bv_size (bv_ptr b)
 
HDFLIBAPI uint32 bv_flags (bv_ptr b)
 
HDFLIBAPI int32 bv_find (bv_ptr b, int32 last_find, bv_bool value)
 

Macro Definition Documentation

◆ BV_CHUNK_SIZE

#define BV_CHUNK_SIZE   64

Definition at line 45 of file bitvect.h.

◆ BV_DEFAULT_BITS

#define BV_DEFAULT_BITS   128

Definition at line 42 of file bitvect.h.

◆ BV_EXTENDABLE

#define BV_EXTENDABLE   0x00000002 /* to indicate that the bit-vector can be extended */

Definition at line 39 of file bitvect.h.

◆ BV_INIT_TO_ONE

#define BV_INIT_TO_ONE   0x00000001 /* to indicate whether to create the bit-vector with one's instead of zero's */

Definition at line 38 of file bitvect.h.

Typedef Documentation

◆ bv_ptr

typedef struct bv_struct_tag* bv_ptr

Definition at line 48 of file bitvect.h.

Enumeration Type Documentation

◆ bv_bool

enum bv_bool
Enumerator
BV_FALSE 
BV_TRUE 
BV_FALSE 
BV_TRUE 

Definition at line 35 of file bitvect.h.

Function Documentation

◆ bv_clear()

HDFLIBAPI intn bv_clear ( bv_ptr  b,
bv_bool  value 
)

◆ bv_delete()

HDFLIBAPI intn bv_delete ( bv_ptr  b)

◆ bv_find()

HDFLIBAPI int32 bv_find ( bv_ptr  b,
int32  last_find,
bv_bool  value 
)

◆ bv_flags()

HDFLIBAPI uint32 bv_flags ( bv_ptr  b)

◆ bv_get()

HDFLIBAPI intn bv_get ( bv_ptr  b,
int32  bit_num 
)

◆ bv_new()

HDFLIBAPI bv_ptr bv_new ( int32  num_bits,
uint32  flags 
)

◆ bv_set()

HDFLIBAPI intn bv_set ( bv_ptr  b,
int32  bit_num,
bv_bool  value 
)

◆ bv_size()

HDFLIBAPI int32 bv_size ( bv_ptr  b)

MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:53