mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0024750: Replace instantiations of TCollection generic classes by NCollection templates -- manual changes
Forward declaration of TCollection instances as classes are replaced by inclusion of corresponding header. Cyclic dependencies between declaration of collection class and its item are resolved by forward declaring a class in collection header.
This commit is contained in:
@@ -51,10 +51,6 @@ is
|
||||
---Purpose: Adds Tool argument of the operation
|
||||
is virtual;
|
||||
|
||||
SetTools (me:out;
|
||||
theShapes: ListOfShape from TopTools)
|
||||
is virtual;
|
||||
|
||||
SetTools (me:out;
|
||||
theShapes: ListOfShape from BOPCol)
|
||||
is virtual;
|
||||
|
@@ -133,21 +133,6 @@ void BOPAlgo_BOP::AddTool(const TopoDS_Shape& theShape)
|
||||
//function : SetTools
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
void BOPAlgo_BOP::SetTools(const TopTools_ListOfShape& theShapes)
|
||||
{
|
||||
TopTools_ListIteratorOfListOfShape aIt;
|
||||
//
|
||||
myTools.Clear();
|
||||
aIt.Initialize(theShapes);
|
||||
for (; aIt.More(); aIt.Next()) {
|
||||
const TopoDS_Shape& aS = aIt.Value();
|
||||
AddTool(aS);
|
||||
}
|
||||
}
|
||||
//=======================================================================
|
||||
//function : SetTools
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
void BOPAlgo_BOP::SetTools(const BOPCol_ListOfShape& theShapes)
|
||||
{
|
||||
BOPCol_ListIteratorOfListOfShape aIt;
|
||||
|
@@ -62,9 +62,6 @@ is
|
||||
theShape: Shape from TopoDS)
|
||||
is virtual;
|
||||
|
||||
SetArguments(me:out;
|
||||
theLS:ListOfShape from TopTools);
|
||||
|
||||
SetArguments (me:out;
|
||||
theLS: ListOfShape from BOPCol)
|
||||
is virtual;
|
||||
|
@@ -107,22 +107,6 @@ void BOPAlgo_Builder::AddArgument(const TopoDS_Shape& theShape)
|
||||
//function : SetArguments
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
void BOPAlgo_Builder::SetArguments(const TopTools_ListOfShape& theShapes)
|
||||
{
|
||||
TopTools_ListIteratorOfListOfShape aIt;
|
||||
//
|
||||
myArguments.Clear();
|
||||
//
|
||||
aIt.Initialize(theShapes);
|
||||
for (; aIt.More(); aIt.Next()) {
|
||||
const TopoDS_Shape& aS = aIt.Value();
|
||||
AddArgument(aS);
|
||||
}
|
||||
}
|
||||
//=======================================================================
|
||||
//function : SetArguments
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
void BOPAlgo_Builder::SetArguments(const BOPCol_ListOfShape& theShapes)
|
||||
{
|
||||
BOPCol_ListIteratorOfListOfShape aIt;
|
||||
|
@@ -86,9 +86,6 @@ is
|
||||
SetArguments(me:out;
|
||||
theLS:ListOfShape from BOPCol);
|
||||
|
||||
SetArguments(me:out;
|
||||
theLS:ListOfShape from TopTools);
|
||||
|
||||
Arguments(me)
|
||||
returns ListOfShape from BOPCol;
|
||||
---C++: return const &
|
||||
|
@@ -113,21 +113,6 @@ void BOPAlgo_PaveFiller::SetSectionAttribute
|
||||
//function : SetArguments
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
void BOPAlgo_PaveFiller::SetArguments(const TopTools_ListOfShape& theLS)
|
||||
{
|
||||
TopTools_ListIteratorOfListOfShape aItLS;
|
||||
//
|
||||
myArguments.Clear();
|
||||
aItLS.Initialize(theLS);
|
||||
for (; aItLS.More(); aItLS.Next()) {
|
||||
const TopoDS_Shape& aS=aItLS.Value();
|
||||
myArguments.Append(aS);
|
||||
}
|
||||
}
|
||||
//=======================================================================
|
||||
//function : SetArguments
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
void BOPAlgo_PaveFiller::SetArguments(const BOPCol_ListOfShape& theLS)
|
||||
{
|
||||
myArguments=theLS;
|
||||
|
Reference in New Issue
Block a user