Open CASCADE Technology  7.5.0
Data Structures | Namespaces | Typedefs | Functions

Standard_Transient.hxx File Reference

#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_PrimitiveTypes.hxx>

Data Structures

class  opencascade::handle< T >
 Intrusive smart pointer for use with Standard_Transient class and its descendants. More...
 
class  Standard_Transient
 Abstract class which forms the root of the entire Transient class hierarchy. More...
 

Namespaces

 opencascade
 Namespace opencascade is intended for low-level template classes and functions.
 

Typedefs

typedef opencascade::handle< Standard_TransientHandle_Standard_Transient
 Definition of Handle_Standard_Transient as typedef for compatibility. More...
 

Functions

Standard_Integer HashCode (const Standard_Transient *const theTransientObject, const Standard_Integer theUpperBound)
 Computes a hash code for the given transient object, in the range [1, theUpperBound]. More...
 

Typedef Documentation

◆ Handle_Standard_Transient

Definition of Handle_Standard_Transient as typedef for compatibility.

Function Documentation

◆ HashCode()

Standard_Integer HashCode ( const Standard_Transient *const  theTransientObject,
const Standard_Integer  theUpperBound 
)
inline

Computes a hash code for the given transient object, in the range [1, theUpperBound].

Parameters
theTransientObjectthe transient object 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]