summaryrefslogtreecommitdiff
path: root/inc/IFSelect_ModifReorder.hxx
blob: a1ef007fa0c9bdfd2dd68bc993b94cdd61e46227 (plain)
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
// 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 _IFSelect_ModifReorder_HeaderFile
#define _IFSelect_ModifReorder_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_IFSelect_ModifReorder_HeaderFile
#include <Handle_IFSelect_ModifReorder.hxx>
#endif

#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _IFSelect_Modifier_HeaderFile
#include <IFSelect_Modifier.hxx>
#endif
#ifndef _Handle_Interface_InterfaceModel_HeaderFile
#include <Handle_Interface_InterfaceModel.hxx>
#endif
#ifndef _Handle_Interface_Protocol_HeaderFile
#include <Handle_Interface_Protocol.hxx>
#endif
class IFSelect_ContextModif;
class Interface_InterfaceModel;
class Interface_Protocol;
class Interface_CopyTool;
class TCollection_AsciiString;


//! This modifier reorders a whole model from its roots, i.e. <br>
//!           according to <rootlast> status, it considers each of its <br>
//!           roots, then it orders all its shared entities at any level, <br>
//!           the result begins by the lower level entities ... ends by <br>
//!           the roots. <br>
class IFSelect_ModifReorder : public IFSelect_Modifier {

public:

  //! Creates a ModifReorder. It may change the graph (it does !) <br>
//!           If <rootlast> is True (D), roots are set at the end of packets <br>
//!           Else, they are set at beginning (as done by AddWithRefs) <br>
  Standard_EXPORT   IFSelect_ModifReorder(const Standard_Boolean rootlast = Standard_True);
  //! Acts by computing orders (by method All from ShareTool) then <br>
//!           forcing them in the model. Remark that selection is ignored : <br>
//!           ALL the model is processed in once <br>
  Standard_EXPORT     void Perform(IFSelect_ContextModif& ctx,const Handle(Interface_InterfaceModel)& target,const Handle(Interface_Protocol)& protocol,Interface_CopyTool& TC) const;
  //! Returns Label as "Reorder, Roots (last or first)" <br>
  Standard_EXPORT     TCollection_AsciiString Label() const;




  DEFINE_STANDARD_RTTI(IFSelect_ModifReorder)

protected:




private: 


Standard_Boolean thertl;


};





// other Inline functions and methods (like "C++: function call" methods)


#endif