//function : TColStd_intMapNode_findNext
//purpose :
//=======================================================================
-Standard_Integer TColStd_PackedMapOfInteger::TColStd_intMapNode_findNext (const Standard_Address theNode,
- unsigned int& theMask)
+Standard_Integer TColStd_PackedMapOfInteger::TColStd_intMapNode_findNext (const TColStd_intMapNode* theNode,
+ unsigned int& theMask)
{
const TColStd_intMapNode* aNode = reinterpret_cast<const TColStd_intMapNode*> (theNode);
unsigned int val = aNode->Data() & theMask;
//function : TColStd_intMapNode_findPrev
//purpose :
//=======================================================================
-Standard_Integer TColStd_PackedMapOfInteger::TColStd_intMapNode_findPrev (const Standard_Address theNode,
- unsigned int& theMask)
+Standard_Integer TColStd_PackedMapOfInteger::TColStd_intMapNode_findPrev (const TColStd_intMapNode* theNode,
+ unsigned int& theMask)
{
const TColStd_intMapNode* aNode = reinterpret_cast<const TColStd_intMapNode*> (theNode);
unsigned int val = aNode->Data() & theMask;
if (pFoundNode)
{
unsigned int aFullMask (0xffffffff);
- aResult = TColStd_intMapNode_findNext ((const Standard_Address )pFoundNode, aFullMask);
+ aResult = TColStd_intMapNode_findNext (pFoundNode, aFullMask);
}
return aResult;
}
if (pFoundNode)
{
unsigned int aFullMask (0xffffffff);
- aResult = TColStd_intMapNode_findPrev ((const Standard_Address )pFoundNode, aFullMask);
+ aResult = TColStd_intMapNode_findPrev (pFoundNode, aFullMask);
}
return aResult;
}
//! Find the smallest non-zero bit under the given mask.
//! Outputs the new mask that does not contain the detected bit.
- Standard_EXPORT static Standard_Integer TColStd_intMapNode_findNext (const Standard_Address theNode,
+ Standard_EXPORT static Standard_Integer TColStd_intMapNode_findNext (const TColStd_intMapNode* theNode,
unsigned int& theMask);
//! Find the highest non-zero bit under the given mask.
//! Outputs the new mask that does not contain the detected bit.
- Standard_EXPORT static Standard_Integer TColStd_intMapNode_findPrev (const Standard_Address theNode,
+ Standard_EXPORT static Standard_Integer TColStd_intMapNode_findPrev (const TColStd_intMapNode* theNode,
unsigned int& theMask);
//! Compute the population (i.e., the number of non-zero bits) of the 32-bit word theData.