MeatAxe: Set_t Class Reference

MeatAxe 2.4

- Main Page
- Related Pages
- Modules
- Data Structures

- Data Structures
- Data Fields

Data Fields
Set_t Class Reference
Sets of Integers.

A Set of Integers. More...

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

## 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

int Set_t::BufSize

Used internally for memory management.

long* Set_t::Data

The elements in ascending order.

unsigned long Set_t::Magic

Used internally.

int Set_t::Size

Number of elements.

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

- src/meataxe.h