summaryrefslogtreecommitdiff
path: root/inc/IGESSelect_SetGlobalParameter.hxx
blob: f69c990e0438aed1e8ca5ec762ec1b4be5805ee1 (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
84
85
86
87
88
89
90
91
92
93
94
95
96
// 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_SetGlobalParameter_HeaderFile
#define _IGESSelect_SetGlobalParameter_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_IGESSelect_SetGlobalParameter_HeaderFile
#include <Handle_IGESSelect_SetGlobalParameter.hxx>
#endif

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


//! Sets a Global (Header) Parameter to a new value, directly given <br>
//!           Controls the form of the parameter (Integer, Real, String <br>
//!           with such or such form), but not the consistence of the new <br>
//!           value regarding the rest of the file. <br>
//! <br>
//!           The new value is given under the form of a HAsciiString, even <br>
//!           for Integer or Real values. For String values, Hollerith forms <br>
//!           are accepted but not mandatory <br>
//!  Warning : a Null (not set) value is not accepted. For an empty string, <br>
//!           give a Text Parameter which is empty <br>
class IGESSelect_SetGlobalParameter : public IGESSelect_ModelModifier {

public:

  //! Creates an SetGlobalParameter, to be applied on Global <br>
//!           Parameter <numpar> <br>
  Standard_EXPORT   IGESSelect_SetGlobalParameter(const Standard_Integer numpar);
  //! Returns the global parameter number to which this modifiers <br>
//!           applies <br>
  Standard_EXPORT     Standard_Integer GlobalNumber() const;
  //! Sets a Text Parameter for the new value <br>
  Standard_EXPORT     void SetValue(const Handle(TCollection_HAsciiString)& text) ;
  //! Returns the value to set to the global parameter (Text Param) <br>
  Standard_EXPORT     Handle_TCollection_HAsciiString Value() const;
  //! Specific action : only <target> is used : the form of the new <br>
//!           value is checked regarding the parameter number (given at <br>
//!           creation time). <br>
  Standard_EXPORT     void Performing(IFSelect_ContextModif& ctx,const Handle(IGESData_IGESModel)& target,Interface_CopyTool& TC) const;
  //! Returns a text which is <br>
//!           "Sets Global Parameter <numpar> to <new value>" <br>
  Standard_EXPORT     TCollection_AsciiString Label() const;




  DEFINE_STANDARD_RTTI(IGESSelect_SetGlobalParameter)

protected:




private: 


Standard_Integer thenum;
Handle_TCollection_HAsciiString theval;


};





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


#endif