newntui/discovermdi/src/disgraphnode.cpp
//------------------------------------------------------------------------------------
// This function will recursively hide node parents.
//------------------------------------------------------------------------------------
This function will recursively hide node parents.
This function will recursively hide node parents .
void CDisGraphNode::HideParents(void) {
TSDList newNodeDList;
TSDList newEdgeDList;
CDisGraphNode* pNode;
   findParents(&newNodeDList,&newEdgeDList,1);
   TSDListIterator nodeIterator(&newNodeDList);
   while(nodeIterator) {
	   pNode = (CDisGraphNode *) nodeIterator.pObject();
	   pNode->HideParents();
	   nodeIterator++;
   }
   hideParents(&newNodeDList,&newEdgeDList,1);
}
void CDisGraphNode :: HideParents ( void ) { TSDList newNodeDList ; TSDList newEdgeDList ; CDisGraphNode * pNode ; findParents ( & newNodeDList , & newEdgeDList , 1 ) ; TSDListIterator nodeIterator ( & newNodeDList ) ; while ( nodeIterator ) { pNode = ( CDisGraphNode * ) nodeIterator . pObject ( ) ; pNode -> HideParents ( ) ; nodeIterator ++ ; } hideParents ( & newNodeDList , & newEdgeDList , 1 ) ; }
This function will recursively hide node parents.
This function will recursively hide node parents .