File indexing completed on 2026-10-04 09:16:28
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _TNaming_SameShapeIterator_HeaderFile
0018 #define _TNaming_SameShapeIterator_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023
0024 #include <TNaming_PtrNode.hxx>
0025 class Standard_NoMoreObject;
0026 class Standard_NoSuchObject;
0027 class TNaming_Tool;
0028 class TopoDS_Shape;
0029 class TNaming_UsedShapes;
0030 class TDF_Label;
0031
0032
0033
0034 class TNaming_SameShapeIterator
0035 {
0036 public:
0037 DEFINE_STANDARD_ALLOC
0038
0039 Standard_EXPORT TNaming_SameShapeIterator(const TopoDS_Shape& aShape, const TDF_Label& access);
0040
0041 bool More() const;
0042
0043 Standard_EXPORT void Next();
0044
0045 Standard_EXPORT TDF_Label Label() const;
0046
0047 friend class TNaming_Tool;
0048
0049 private:
0050 Standard_EXPORT TNaming_SameShapeIterator(const TopoDS_Shape& aShape,
0051 const occ::handle<TNaming_UsedShapes>& Shapes);
0052
0053 TNaming_PtrNode myNode;
0054 bool myIsNew;
0055 };
0056
0057 #include <TNaming_SameShapeIterator.lxx>
0058
0059 #endif