Open CASCADE Technology  7.4.1.dev
Public Member Functions | Protected Member Functions | Protected Attributes
BOPTools_Set Class Reference

#include <BOPTools_Set.hxx>

Public Member Functions

 BOPTools_Set ()
 
virtual ~BOPTools_Set ()
 
 BOPTools_Set (const Handle< NCollection_BaseAllocator > &theAllocator)
 
 BOPTools_Set (const BOPTools_Set &theOther)
 Copy constructor. More...
 
BOPTools_SetAssign (const BOPTools_Set &Other)
 
BOPTools_Setoperator= (const BOPTools_Set &Other)
 
const TopoDS_ShapeShape () const
 
void Add (const TopoDS_Shape &theS, const TopAbs_ShapeEnum theType)
 
Standard_Integer NbShapes () const
 
Standard_Boolean IsEqual (const BOPTools_Set &aOther) const
 
Standard_Integer HashCode (Standard_Integer theUpperBound) const
 Computes a hash code for this set, in the range [1, theUpperBound]. More...
 

Protected Member Functions

void Clear ()
 

Protected Attributes

Handle< NCollection_BaseAllocatormyAllocator
 
TopTools_ListOfShape myShapes
 
TopoDS_Shape myShape
 
Standard_Integer myNbShapes
 
Standard_Integer mySum
 
Standard_Integer myUpper
 

Constructor & Destructor Documentation

◆ BOPTools_Set() [1/3]

BOPTools_Set::BOPTools_Set ( )

◆ ~BOPTools_Set()

virtual BOPTools_Set::~BOPTools_Set ( )
virtual

◆ BOPTools_Set() [2/3]

BOPTools_Set::BOPTools_Set ( const Handle< NCollection_BaseAllocator > &  theAllocator)

◆ BOPTools_Set() [3/3]

BOPTools_Set::BOPTools_Set ( const BOPTools_Set theOther)

Copy constructor.

Member Function Documentation

◆ Add()

void BOPTools_Set::Add ( const TopoDS_Shape theS,
const TopAbs_ShapeEnum  theType 
)

◆ Assign()

BOPTools_Set& BOPTools_Set::Assign ( const BOPTools_Set Other)

◆ Clear()

void BOPTools_Set::Clear ( )
protected

◆ HashCode()

Standard_Integer BOPTools_Set::HashCode ( Standard_Integer  theUpperBound) const

Computes a hash code for this set, in the range [1, theUpperBound].

Parameters
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 BOPTools_Set::IsEqual ( const BOPTools_Set aOther) const

◆ NbShapes()

Standard_Integer BOPTools_Set::NbShapes ( ) const

◆ operator=()

BOPTools_Set& BOPTools_Set::operator= ( const BOPTools_Set Other)
inline

◆ Shape()

const TopoDS_Shape& BOPTools_Set::Shape ( ) const

Field Documentation

◆ myAllocator

Handle< NCollection_BaseAllocator > BOPTools_Set::myAllocator
protected

◆ myNbShapes

Standard_Integer BOPTools_Set::myNbShapes
protected

◆ myShape

TopoDS_Shape BOPTools_Set::myShape
protected

◆ myShapes

TopTools_ListOfShape BOPTools_Set::myShapes
protected

◆ mySum

Standard_Integer BOPTools_Set::mySum
protected

◆ myUpper

Standard_Integer BOPTools_Set::myUpper
protected

The documentation for this class was generated from the following file: