Files | |
| file | bnode.h |
| Class Bnode: a block node object. | |
Classes | |
| struct | sBnode |
| Class Bnode: Parameters and datatypes. Class Bnode: Definition. More... | |
Typedefs | |
| typedef struct sBnode | Bnode |
| Declaration of the Bnode class as the Vio structure. | |
Functions | |
| int | Bnode_numB (Bnode *thee) |
| Return the number of blocks. | |
| Bnode * | Bnode_ctor (Vmem *vmem, int pnumB, int pnumR[MAXV]) |
| The Block node destructor. | |
| void | Bnode_dtor (Bnode **thee) |
| The Block node destructor. | |
| int | Bnode_numRT (Bnode *thee) |
| Return the total number of nodes. | |
| int | Bnode_numR (Bnode *thee, int i) |
| Return the number of nodes in a block. | |
| Node * | Bnode_nodes (Bnode *thee, int i) |
| Return the nodes in one block. | |
| aNode * | Bnode_data (Bnode *thee, int i) |
| Return the actual nodes in one block. | |
| void | Bnode_memChk (Bnode *thee) |
| Print the exact current malloc usage. | |
| Bnode* Bnode_ctor | ( | Vmem * | vmem, | |
| int | pnumB, | |||
| int | pnumR[MAXV] | |||
| ) |
The Block node destructor.
| vmem | Memory management object | |
| pnumB | number of blocks | |
| pnumR | number of rows |
Return the actual nodes in one block.
| thee | Pointer to a bnode allocated memory location | |
| i | index of blocks |
| void Bnode_dtor | ( | Bnode ** | thee | ) |
The Block node destructor.
| thee | Pointer to a bnode allocated memory location |
| void Bnode_memChk | ( | Bnode * | thee | ) |
Print the exact current malloc usage.
| thee | Pointer to a bnode allocated memory location |
Return the nodes in one block.
| thee | Pointer to a bnode allocated memory location | |
| i | index of blocks |
| int Bnode_numB | ( | Bnode * | thee | ) |
Return the number of blocks.
| thee | the Bnode class |
| int Bnode_numR | ( | Bnode * | thee, | |
| int | i | |||
| ) |
Return the number of nodes in a block.
| thee | Pointer to a bnode allocated memory location | |
| i | index of blocks |
| int Bnode_numRT | ( | Bnode * | thee | ) |
Return the total number of nodes.
| thee | Pointer to a bnode allocated memory location |
1.5.6