/usr/include/opencascade/TDF_Delta.hxx is in libopencascade-ocaf-lite-dev 6.5.0.dfsg-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 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | // 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 _TDF_Delta_HeaderFile
#define _TDF_Delta_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_TDF_Delta_HeaderFile
#include <Handle_TDF_Delta.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _TDF_AttributeDeltaList_HeaderFile
#include <TDF_AttributeDeltaList.hxx>
#endif
#ifndef _TCollection_ExtendedString_HeaderFile
#include <TCollection_ExtendedString.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _Handle_TDF_AttributeDelta_HeaderFile
#include <Handle_TDF_AttributeDelta.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_OStream_HeaderFile
#include <Standard_OStream.hxx>
#endif
class Standard_OutOfRange;
class TDF_Data;
class TDF_AttributeDelta;
class TDF_LabelList;
class TDF_AttributeDeltaList;
class TCollection_ExtendedString;
//! A delta set is available at <aSourceTime>. If <br>
//! applied, it restores the TDF_Data in the state it <br>
//! was at <aTargetTime>. <br>
class TDF_Delta : public MMgt_TShared {
public:
//! Creates a delta. <br>
Standard_EXPORT TDF_Delta();
//! Returns true if there is nothing to undo. <br>
//! <br>
Standard_Boolean IsEmpty() const;
//! Returns true if the Undo action of <me> is <br>
//! applicable at <aCurrentTime>. <br>
//! <br>
Standard_Boolean IsApplicable(const Standard_Integer aCurrentTime) const;
//! Returns the field <myBeginTime>. <br>
Standard_Integer BeginTime() const;
//! Returns the field <myEndTime>. <br>
Standard_Integer EndTime() const;
//! Adds in <aLabelList> the labels of the attribute deltas. <br>
//! Caution: <aLabelList> is not cleared before use. <br>
Standard_EXPORT void Labels(TDF_LabelList& aLabelList) const;
//! Returns the field <myAttDeltaList>. <br>
const TDF_AttributeDeltaList& AttributeDeltas() const;
//! Returns a name associated with this delta. <br>
TCollection_ExtendedString Name() const;
//! Associates a name <theName> with this delta <br>
void SetName(const TCollection_ExtendedString& theName) ;
Standard_EXPORT void Dump(Standard_OStream& OS) const;
friend class TDF_Data;
DEFINE_STANDARD_RTTI(TDF_Delta)
protected:
//! Validates <me> at <aBeginTime>. If applied, it <br>
//! restores the TDF_Data in the state it was at <br>
//! <anEndTime>. Reserved to TDF_Data. <br>
Standard_EXPORT void Validity(const Standard_Integer aBeginTime,const Standard_Integer anEndTime) ;
//! Adds an AttributeDelta to the list. Reserved to <br>
//! TDF_Data. <br>
Standard_EXPORT void AddAttributeDelta(const Handle(TDF_AttributeDelta)& anAttributeDelta) ;
private:
Standard_EXPORT void BeforeOrAfterApply(const Standard_Boolean before) const;
Standard_EXPORT void Apply() ;
Standard_Integer myBeginTime;
Standard_Integer myEndTime;
TDF_AttributeDeltaList myAttDeltaList;
TCollection_ExtendedString myName;
};
#include <TDF_Delta.lxx>
// other Inline functions and methods (like "C++: function call" methods)
#endif
|