/usr/include/oce/TNaming_Builder.hxx is in liboce-ocaf-dev 0.15-5.
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 97 98 99 100 | // 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_Builder_HeaderFile
#define _TNaming_Builder_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineAlloc_HeaderFile
#include <Standard_DefineAlloc.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif
#ifndef _Handle_TNaming_UsedShapes_HeaderFile
#include <Handle_TNaming_UsedShapes.hxx>
#endif
#ifndef _Handle_TNaming_NamedShape_HeaderFile
#include <Handle_TNaming_NamedShape.hxx>
#endif
class TNaming_UsedShapes;
class TNaming_NamedShape;
class Standard_ConstructionError;
class TDF_Label;
class TopoDS_Shape;
//! A tool to create and maintain topological attributes. <br>
//! Constructor creates an empty <br>
//! TNaming_NamedShape attribute at the given <br>
//! label. It allows adding "old shape" and "new <br>
//! shape" pairs with the specified evolution to this <br>
//! named shape. One evolution type per one <br>
//! builder must be used. <br>
class TNaming_Builder {
public:
DEFINE_STANDARD_ALLOC
//! Create an Builder. <br>
//! Warning: Before Addition copies the current Value, and clear <br>
Standard_EXPORT TNaming_Builder(const TDF_Label& aLabel);
//! Records the shape newShape which was <br>
//! generated during a topological construction. <br>
//! As an example, consider the case of a face <br>
//! generated in construction of a box. <br>
Standard_EXPORT void Generated(const TopoDS_Shape& newShape) ;
//! Records the shape newShape which was <br>
//! generated from the shape oldShape during a topological construction. <br>
//! As an example, consider the case of a face <br>
//! generated from an edge in construction of a prism. <br>
Standard_EXPORT void Generated(const TopoDS_Shape& oldShape,const TopoDS_Shape& newShape) ;
//! Records the shape oldShape which was deleted from the current label. <br>
//! As an example, consider the case of a face removed by a Boolean operation. <br>
Standard_EXPORT void Delete(const TopoDS_Shape& oldShape) ;
//! Records the shape newShape which is a <br>
//! modification of the shape oldShape. <br>
//! As an example, consider the case of a face split <br>
//! or merged in a Boolean operation. <br>
//! <br>
Standard_EXPORT void Modify(const TopoDS_Shape& oldShape,const TopoDS_Shape& newShape) ;
//! Add a Shape to the current label , This Shape is <br>
//! unmodified. Used for example to define a set <br>
//! of shapes under a label. <br>
Standard_EXPORT void Select(const TopoDS_Shape& aShape,const TopoDS_Shape& inShape) ;
//! Returns the NamedShape which has been built or is under construction. <br>
Standard_EXPORT Handle_TNaming_NamedShape NamedShape() const;
protected:
private:
Handle_TNaming_UsedShapes myShapes;
Handle_TNaming_NamedShape myAtt;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|