Open CASCADE Technology 7.7.2
VrmlData_Node.hxx File Reference

Data Structures

class  VrmlData_Node
 

Macros

#define VRMLDATA_LCOMPARE(aa, bb)
 

Functions

Standard_Integer HashCode (const Handle< VrmlData_Node > &theNode, Standard_Integer theUpperBound)
 Computes a hash code for the given VRML node, in the range [1, theUpperBound].
 
Standard_Boolean IsEqual (const Handle< VrmlData_Node > &theOne, const Handle< VrmlData_Node > &theTwo)
 

Macro Definition Documentation

◆ VRMLDATA_LCOMPARE

#define VRMLDATA_LCOMPARE ( aa,
bb )
Value:
((strncmp (aa, bb, sizeof(bb)-1)) ? 0L : (aa += sizeof(bb)-1))

Function Documentation

◆ HashCode()

Standard_Integer HashCode ( const Handle< VrmlData_Node > & theNode,
Standard_Integer theUpperBound )

Computes a hash code for the given VRML node, in the range [1, theUpperBound].

Parameters
theNodethe VRML node which hash code is to be computed
theUpperBoundthe upper bound of the range a computing hash code must be within
Returns
a computed hash code, in the range [1, theUpperBound]

◆ IsEqual()

Standard_Boolean IsEqual ( const Handle< VrmlData_Node > & theOne,
const Handle< VrmlData_Node > & theTwo )