Simple C Variable Size Vector
 All Data Structures Files Functions Variables Typedefs Pages
Data Fields
vector Struct Reference

The vector data structre. More...

#include <vector.h>

Data Fields

void * elements
 
unsigned long int elementSize
 
int numberOfElements
 
int capacity
 

Detailed Description

The vector data structre.

Definition at line 30 of file vector.h.

Field Documentation

void* vector::elements

Pointer to the elements.

Definition at line 32 of file vector.h.

unsigned long int vector::elementSize

The size of one element of the vector. Informed in the vector creation.

Definition at line 33 of file vector.h.

int vector::numberOfElements

Hold the information of how many elements are in use at the moment.

Definition at line 34 of file vector.h.

int vector::capacity

Tells the actual reserved size of the vector.

Definition at line 35 of file vector.h.


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