Open CASCADE Technology  7.7.2
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::BOPTools_Set ( )
virtual BOPTools_Set::~BOPTools_Set ( )
virtual
BOPTools_Set::BOPTools_Set ( const Handle< NCollection_BaseAllocator > &  theAllocator)
BOPTools_Set::BOPTools_Set ( const BOPTools_Set theOther)

Copy constructor.

Member Function Documentation

void BOPTools_Set::Add ( const TopoDS_Shape theS,
const TopAbs_ShapeEnum  theType 
)
BOPTools_Set& BOPTools_Set::Assign ( const BOPTools_Set Other)
void BOPTools_Set::Clear ( )
protected
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]
Standard_Boolean BOPTools_Set::IsEqual ( const BOPTools_Set aOther) const
Standard_Integer BOPTools_Set::NbShapes ( ) const
BOPTools_Set& BOPTools_Set::operator= ( const BOPTools_Set Other)
inline
const TopoDS_Shape& BOPTools_Set::Shape ( ) const

Field Documentation

Handle< NCollection_BaseAllocator > BOPTools_Set::myAllocator
protected
Standard_Integer BOPTools_Set::myNbShapes
protected
TopoDS_Shape BOPTools_Set::myShape
protected
TopTools_ListOfShape BOPTools_Set::myShapes
protected
Standard_Integer BOPTools_Set::mySum
protected
Standard_Integer BOPTools_Set::myUpper
protected

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