Version 7.0
Copyright © 2021 Lowell D. Thomas
APG
… an ABNF Parser Generator
Data Fields
vector Struct Reference

Private for internal use only. Defines the vector's state. Opaque to applications. More...

Collaboration diagram for vector:
Collaboration graph
[legend]

Data Fields

const void * vpValidate
 must be equal to s_vpMagicNumber More...
 
exceptionspException
 
void * vpMem
 context to the underlying memory component More...
 
char * cpData
 pointer to the vector's data buffer More...
 
aint uiElementSize
 number of bytes in one element More...
 
aint uiReserved
 number of elements that have been reserved on the buffer More...
 
aint uiUsed
 number of the reserved elements that have been used More...
 
aint uiGrownCount
 number times the vector automatically grew in size More...
 
aint uiGrownElements
 number elements vector has grown by More...
 
aint uiPushed
 number of elements pushed More...
 
aint uiPopped
 number of elements popped More...
 
aint uiMaxUsed
 maximum number of elements used; More...
 

Detailed Description

Private for internal use only. Defines the vector's state. Opaque to applications.

Note that all of the elements in this structure are only present when APG_VEC_STAT is defined. Those not needed for statistics collection are absent otherwise.

Definition at line 52 of file vector.c.

Field Documentation

◆ cpData

char* vector::cpData

pointer to the vector's data buffer

Definition at line 56 of file vector.c.

◆ spException

exception* vector::spException

Definition at line 54 of file vector.c.

◆ uiElementSize

aint vector::uiElementSize

number of bytes in one element

Definition at line 57 of file vector.c.

◆ uiGrownCount

aint vector::uiGrownCount

number times the vector automatically grew in size

Definition at line 60 of file vector.c.

◆ uiGrownElements

aint vector::uiGrownElements

number elements vector has grown by

Definition at line 61 of file vector.c.

◆ uiMaxUsed

aint vector::uiMaxUsed

maximum number of elements used;

Definition at line 64 of file vector.c.

◆ uiPopped

aint vector::uiPopped

number of elements popped

Definition at line 63 of file vector.c.

◆ uiPushed

aint vector::uiPushed

number of elements pushed

Definition at line 62 of file vector.c.

◆ uiReserved

aint vector::uiReserved

number of elements that have been reserved on the buffer

Definition at line 58 of file vector.c.

◆ uiUsed

aint vector::uiUsed

number of the reserved elements that have been used

Definition at line 59 of file vector.c.

◆ vpMem

void* vector::vpMem

context to the underlying memory component

Definition at line 55 of file vector.c.

◆ vpValidate

const void* vector::vpValidate

must be equal to s_vpMagicNumber

Definition at line 53 of file vector.c.


The documentation for this struct was generated from the following file:
APG Version 7.0 is licensed under the 2-Clause BSD License,
an Open Source Initiative Approved License.