Bnode class

A block node object. More...


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.
BnodeBnode_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.
NodeBnode_nodes (Bnode *thee, int i)
 Return the nodes in one block.
aNodeBnode_data (Bnode *thee, int i)
 Return the actual nodes in one block.
void Bnode_memChk (Bnode *thee)
 Print the exact current malloc usage.

Detailed Description

A block node object.


Typedef Documentation

typedef struct sBnode Bnode

Declaration of the Bnode class as the Vio structure.

Author:
Michael Holst
Returns:
None


Function Documentation

Bnode* Bnode_ctor ( Vmem *  vmem,
int  pnumB,
int  pnumR[MAXV] 
)

The Block node destructor.

Author:
Michael Holst
Note:
Class Bnode: Non-inlineable methods (bnode.c)
Returns:
Pointer to a bnode allocated memory location
Parameters:
vmem Memory management object
pnumB number of blocks
pnumR number of rows

aNode* Bnode_data ( Bnode thee,
int  i 
)

Return the actual nodes in one block.

Author:
Michael Holst
Note:
Class Bnode: Non-inlineable methods (bnode.c)
Returns:
the actual nodes in one block
Parameters:
thee Pointer to a bnode allocated memory location
i index of blocks

void Bnode_dtor ( Bnode **  thee  ) 

The Block node destructor.

Author:
Michael Holst
Note:
Class Bnode: Non-inlineable methods (bnode.c)
Returns:
None
Parameters:
thee Pointer to a bnode allocated memory location

void Bnode_memChk ( Bnode thee  ) 

Print the exact current malloc usage.

Author:
Michael Holst
Note:
Class Bnode: Non-inlineable methods (bnode.c)
Returns:
None
Parameters:
thee Pointer to a bnode allocated memory location

Node* Bnode_nodes ( Bnode thee,
int  i 
)

Return the nodes in one block.

Author:
Michael Holst
Note:
Class Bnode: Non-inlineable methods (bnode.c)
Returns:
the nodes in one block
Parameters:
thee Pointer to a bnode allocated memory location
i index of blocks

int Bnode_numB ( Bnode thee  ) 

Return the number of blocks.

Author:
Michael Holst
Note:
Class Bnode: Non-inlineable methods (bnode.c)
if VINLINE_APRX is not defined
Returns:
the number of blocks
Parameters:
thee the Bnode class

int Bnode_numR ( Bnode thee,
int  i 
)

Return the number of nodes in a block.

Author:
Michael Holst
Note:
Class Bnode: Non-inlineable methods (bnode.c)
Returns:
the number of nodes in a block.
Parameters:
thee Pointer to a bnode allocated memory location
i index of blocks

int Bnode_numRT ( Bnode thee  ) 

Return the total number of nodes.

Author:
Michael Holst
Note:
Class Bnode: Non-inlineable methods (bnode.c)
Returns:
the total number of nodes
Parameters:
thee Pointer to a bnode allocated memory location


Generated on Mon Aug 9 11:13:45 2010 for MC by  doxygen 1.5.6