/usr/include/oce/TNaming_NewShapeIterator.hxx is in liboce-ocaf-dev 0.18.2-2build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _TNaming_NewShapeIterator_HeaderFile
#define _TNaming_NewShapeIterator_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>
#include <TNaming_PtrNode.hxx>
#include <Standard_Integer.hxx>
#include <Handle_TNaming_UsedShapes.hxx>
#include <Standard_Boolean.hxx>
#include <Handle_TNaming_NamedShape.hxx>
class Standard_NoMoreObject;
class Standard_NoSuchObject;
class TNaming_Tool;
class TNaming_Name;
class TNaming_Naming;
class TopoDS_Shape;
class TNaming_UsedShapes;
class TDF_Label;
class TNaming_Iterator;
class TNaming_NamedShape;
//! Iterates on all the descendants of a shape
class TNaming_NewShapeIterator
{
public:
DEFINE_STANDARD_ALLOC
Standard_EXPORT TNaming_NewShapeIterator(const TopoDS_Shape& aShape, const Standard_Integer Transaction, const TDF_Label& access);
Standard_EXPORT TNaming_NewShapeIterator(const TopoDS_Shape& aShape, const TDF_Label& access);
//! Iterates from the current Shape in <anIterator>
Standard_EXPORT TNaming_NewShapeIterator(const TNaming_NewShapeIterator& anIterator);
//! Iterates from the current Shape in <anIterator>
Standard_EXPORT TNaming_NewShapeIterator(const TNaming_Iterator& anIterator);
Standard_Boolean More() const;
Standard_EXPORT void Next() ;
Standard_EXPORT TDF_Label Label() const;
Standard_EXPORT Handle(TNaming_NamedShape) NamedShape() const;
//! Warning! Can be a Null Shape if a descendant is deleted.
Standard_EXPORT const TopoDS_Shape& Shape() const;
//! True if the new shape is a modification (split,
//! fuse,etc...) of the old shape.
Standard_EXPORT Standard_Boolean IsModification() const;
friend class TNaming_Tool;
friend class TNaming_Name;
friend class TNaming_Naming;
protected:
private:
Standard_EXPORT TNaming_NewShapeIterator(const TopoDS_Shape& aShape, const Standard_Integer Transaction, const Handle(TNaming_UsedShapes)& Shapes);
Standard_EXPORT TNaming_NewShapeIterator(const TopoDS_Shape& aShape, const Handle(TNaming_UsedShapes)& Shapes);
TNaming_PtrNode myNode;
Standard_Integer myTrans;
};
#include <TNaming_NewShapeIterator.lxx>
#endif // _TNaming_NewShapeIterator_HeaderFile
|