42cf5bc1 |
1 | // Created by: Sergey RUIN |
2 | // Copyright (c) 2001-2014 OPEN CASCADE SAS |
3 | // |
4 | // This file is part of Open CASCADE Technology software library. |
5 | // |
6 | // This library is free software; you can redistribute it and/or modify it under |
7 | // the terms of the GNU Lesser General Public License version 2.1 as published |
8 | // by the Free Software Foundation, with special exception defined in the file |
9 | // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
10 | // distribution for complete text of the license and disclaimer of any warranty. |
11 | // |
12 | // Alternatively, this file may be used under the terms of Open CASCADE |
13 | // commercial license or contractual agreement. |
14 | |
15 | #ifndef _TDocStd_CompoundDelta_HeaderFile |
16 | #define _TDocStd_CompoundDelta_HeaderFile |
17 | |
18 | #include <Standard.hxx> |
19 | #include <Standard_Type.hxx> |
20 | |
21 | #include <TDF_Delta.hxx> |
22 | class TDocStd_Document; |
23 | |
24 | |
25 | class TDocStd_CompoundDelta; |
26 | DEFINE_STANDARD_HANDLE(TDocStd_CompoundDelta, TDF_Delta) |
27 | |
28 | //! A delta set is available at <aSourceTime>. If |
29 | //! applied, it restores the TDF_Data in the state it |
30 | //! was at <aTargetTime>. |
31 | class TDocStd_CompoundDelta : public TDF_Delta |
32 | { |
33 | |
34 | public: |
35 | |
36 | |
37 | //! Creates a compound delta. |
38 | //! Validates <me> at <aBeginTime>. If applied, it |
39 | //! restores the TDF_Data in the state it was at |
40 | //! <anEndTime>. Reserved to TDF_Data. |
41 | Standard_EXPORT TDocStd_CompoundDelta(); |
42 | |
43 | |
44 | friend class TDocStd_Document; |
45 | |
46 | |
92efcf78 |
47 | DEFINE_STANDARD_RTTIEXT(TDocStd_CompoundDelta,TDF_Delta) |
42cf5bc1 |
48 | |
49 | protected: |
50 | |
51 | |
52 | |
53 | |
54 | private: |
55 | |
56 | |
57 | |
58 | |
59 | }; |
60 | |
61 | |
62 | |
63 | |
64 | |
65 | |
66 | |
67 | #endif // _TDocStd_CompoundDelta_HeaderFile |