MeatAxe  2.4
Set_t Class Reference

A Set of Integers. More...

Data Fields

unsigned long Magic
 Used internally. More...
 
int Size
 Number of elements. More...
 
int BufSize
 Used internally for memory management. More...
 
long * Data
 The elements in ascending order. More...
 

Detailed Description

A Set of Integers.

The Set_t structure represents a set of (long) integers. Internally, the set is stored as a sorted list. Insert operations are relatively expensive, especially for large sets. So, if you expect a lot of inserts, the BitString_t data type may be a better choice.

Field Documentation

◆ BufSize

int Set_t::BufSize

Used internally for memory management.

◆ Data

long* Set_t::Data

The elements in ascending order.

◆ Magic

unsigned long Set_t::Magic

Used internally.

◆ Size

int Set_t::Size

Number of elements.


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

MeatAxe 2.4 documentation, generated on Fri Feb 1 2019 00:00:00