CRoaring  4.2.1
Roaring bitmaps in C (and C++)
roaring_bulk_context_s Struct Reference

#include <roaring.h>

Public Attributes

ROARING_CONTAINER_T * container
 
int idx
 
uint16_t key
 
uint8_t typecode
 

Detailed Description

A bit of context usable with roaring_bitmap_*_bulk() functions

Should be initialized with {0} (or memset() to all zeros). Callers should treat it as an opaque type.

A context may only be used with a single bitmap (unless re-initialized to zero), and any modification to a bitmap (other than modifications performed with _bulk() functions with the context passed) will invalidate any contexts associated with that bitmap.

Definition at line 333 of file roaring.h.

Member Data Documentation

◆ container

ROARING_CONTAINER_T* roaring_bulk_context_s::container

Definition at line 334 of file roaring.h.

◆ idx

int roaring_bulk_context_s::idx

Definition at line 335 of file roaring.h.

◆ key

uint16_t roaring_bulk_context_s::key

Definition at line 336 of file roaring.h.

◆ typecode

uint8_t roaring_bulk_context_s::typecode

Definition at line 337 of file roaring.h.


The documentation for this struct was generated from the following file: