Open CASCADE Technology  7.5.0
Data Structures | Macros | Functions
VrmlData_Node.hxx File Reference
#include <Standard_Type.hxx>
#include <NCollection_List.hxx>
#include <Standard_TypeDef.hxx>
#include <TCollection_AsciiString.hxx>
#include <VrmlData_ErrorStatus.hxx>

Data Structures

class  VrmlData_Node
 

Macros

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

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]. More...
 
Standard_Boolean IsEqual (const Handle< VrmlData_Node > &theOne, const Handle< VrmlData_Node > &theTwo)
 

Macro Definition Documentation

◆ VRMLDATA_LCOMPARE

#define VRMLDATA_LCOMPARE (   aa,
  bb 
)    ((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 
)