summaryrefslogtreecommitdiff
path: root/inc/IGESSelect_SetLabel.hxx
blob: cd212ad017b8d248d8db94ae55315a4f37b1efd0 (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 _IGESSelect_SetLabel_HeaderFile
#define _IGESSelect_SetLabel_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_IGESSelect_SetLabel_HeaderFile
#include <Handle_IGESSelect_SetLabel.hxx>
#endif

#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _IGESSelect_ModelModifier_HeaderFile
#include <IGESSelect_ModelModifier.hxx>
#endif
#ifndef _Handle_IGESData_IGESModel_HeaderFile
#include <Handle_IGESData_IGESModel.hxx>
#endif
class IFSelect_ContextModif;
class IGESData_IGESModel;
class Interface_CopyTool;
class TCollection_AsciiString;


//! Sets/Clears Short Label of Entities, those designated by the <br>
//!           Selection. No Selection means all the file <br>
//! <br>
//!           May enforce, else it sets only if no label is yet set <br>
//!           Mode : 0 to clear (always enforced) <br>
//!                  1 to set label to DE number (changes it if already set) <br>
class IGESSelect_SetLabel : public IGESSelect_ModelModifier {

public:

  //! Creates a SetLabel for IGESEntity <br>
//!           Mode : see Purpose of the class <br>
  Standard_EXPORT   IGESSelect_SetLabel(const Standard_Integer mode,const Standard_Boolean enforce);
  //! Specific action : Sets or Clears the Label <br>
  Standard_EXPORT     void Performing(IFSelect_ContextModif& ctx,const Handle(IGESData_IGESModel)& target,Interface_CopyTool& TC) const;
  //! Returns a text which is <br>
//!           "Clear Short Label"  or  "Set Label to DE" <br>
//!           With possible additional information " (enforced)" <br>
  Standard_EXPORT     TCollection_AsciiString Label() const;




  DEFINE_STANDARD_RTTI(IGESSelect_SetLabel)

protected:




private: 


Standard_Integer themode;
Standard_Boolean theforce;


};





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


#endif