src/massDeallocator.cpp
// massDeallocate *******
// This method deallocates all what's present in the linked list of
// memory to deallocate

massDeallocate
This method deallocates all what's present in the linked list of
memory to deallocate
massDeallocate This method deallocates all what ' s present in the linked list of memory to deallocate
bool massDeallocatorClass::massDeallocate()
{
	allocatedNodeStruct* node;
	allocatedNodeStruct* nextNode;
	if (!ready) return false;
	for (node=memoryList;
	node!=NULL;
	node=nextNode)
	{
		deleteData(node->memory, node->oneOrMany, node->memType);
		nextNode=node->nextNode;
		delete node;
	}
	memoryList=NULL;
	return true;
}
bool massDeallocatorClass :: massDeallocate ( ) { allocatedNodeStruct * node ; allocatedNodeStruct * nextNode ; if ( ! ready ) return false ; for ( node = memoryList ; node != NULL ; node = nextNode ) { deleteData ( node -> memory , node -> oneOrMany , node -> memType ) ; nextNode = node -> nextNode ; delete node ; } memoryList = NULL ; return true ; }
massDeallocate 
This method deallocates all what's present in the linked list of
memory to deallocate
massDeallocate This method deallocates all what ' s present in the linked list of memory to deallocate
// it should have been initialized previously
 // go through the entire list deallocating all the nodes
 // node=tempNode means node++
 // deallocate that object
 // remove the current node from memory, and remember which
 // one will be the next node
 // initialize all back as a brand new massDeallocator, ready
 // for striking back
 // all ok
