Data Fields

Vset Struct Reference

Class Vset: Definition. More...

#include <vset.h>

Collaboration diagram for Vset:
Collaboration graph
[legend]

Data Fields

Vmemvmem
int iMadeVmem
int curT
char nameT [VMAX_ARGLEN]
int sizeT
int numBlocks
int numT
int prtT
int maxObjects
int blockPower
int blockSize
int blockMax
int blockModulo
char ** table

Detailed Description

Class Vset: Definition.

Definition at line 46 of file vset.h.


Field Documentation

int blockMax

num blocks = blockMax=(maxObjects/blockSize)

Definition at line 63 of file vset.h.

=blockSize-1; for determining which block fast

Definition at line 64 of file vset.h.

power of 2 for blocksize (e.g., =10, or =16)

Definition at line 61 of file vset.h.

int blockSize

blocksize is 2^(blockPower)

Definition at line 62 of file vset.h.

int curT

the current "T" object in our collection

Definition at line 51 of file vset.h.

int iMadeVmem

did i make vmem or was it inherited

Definition at line 49 of file vset.h.

number of objects to manage (user specified)

Definition at line 60 of file vset.h.

char nameT[VMAX_ARGLEN]

name of object we are managing

Definition at line 53 of file vset.h.

int numBlocks

total number of allocated blocks

Definition at line 56 of file vset.h.

int numT

the global "T" counter -- how many "T"s in list

Definition at line 57 of file vset.h.

int prtT

for i/o at appropriate block creation/deletion

Definition at line 58 of file vset.h.

int sizeT

size of the object in bytes

Definition at line 54 of file vset.h.

char** table

list of pointers to blocks of storage we manage

Definition at line 66 of file vset.h.

the memory manager

Definition at line 48 of file vset.h.


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