summaryrefslogtreecommitdiff
path: root/inc/StepData_SelectMember.hxx
blob: 64627d46533dc394da91013a88ff6e4755769cd8 (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
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
// 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 _StepData_SelectMember_HeaderFile
#define _StepData_SelectMember_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_StepData_SelectMember_HeaderFile
#include <Handle_StepData_SelectMember.hxx>
#endif

#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_CString_HeaderFile
#include <Standard_CString.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Interface_ParamType_HeaderFile
#include <Interface_ParamType.hxx>
#endif
#ifndef _StepData_Logical_HeaderFile
#include <StepData_Logical.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif


//! The general form for a Select Member. A Select Member can, <br>
//!           either define a value of a basic type (such as an integer) <br>
//!           with an additional information : a name or list of names <br>
//!           which precise the meaning of this value <br>
//!           or be an alternate value in a select, which also accepts an <br>
//!           entity (in this case, the name is not mandatory) <br>
//! <br>
//!           Several sub-types of SelectMember are defined for integer and <br>
//!           real value, plus an "universal" one for any, and one more to <br>
//!           describe a select with several names <br>
//! <br>
//!           It is also possible to define a specific subtype by redefining <br>
//!           virtual method, then give a better control <br>
//! <br>
//!           Remark : this class itself could be deferred, because at least <br>
//!           one of its virtual methods must be redefined to be usable <br>
class StepData_SelectMember : public MMgt_TShared {

public:

  
  Standard_EXPORT   StepData_SelectMember();
  //! Tells if a SelectMember has a name. Default is False <br>
  Standard_EXPORT   virtual  Standard_Boolean HasName() const;
  //! Returns the name of a SelectMember. Default is empty <br>
  Standard_EXPORT   virtual  Standard_CString Name() const;
  //! Sets the name of a SelectMember, returns True if done, False <br>
//!           if no name is allowed <br>
//!           Default does nothing and returns False <br>
  Standard_EXPORT   virtual  Standard_Boolean SetName(const Standard_CString name) ;
  //! Tells if the name of a SelectMember matches a given one <br>
//!           By default, compares the strings, can be redefined (optimised) <br>
  Standard_EXPORT   virtual  Standard_Boolean Matches(const Standard_CString name) const;
  
  Standard_EXPORT   virtual  Standard_Integer Kind() const;
  
  Standard_EXPORT   virtual  void SetKind(const Standard_Integer kind) ;
  //! Returns the Kind of the SelectMember, under the form of an <br>
//!           enum ParamType <br>
  Standard_EXPORT     Interface_ParamType ParamType() const;
  //! This internal method gives access to a value implemented by an <br>
//!           Integer (to read it) <br>
  Standard_EXPORT   virtual  Standard_Integer Int() const;
  //! This internal method gives access to a value implemented by an <br>
//!           Integer (to set it) <br>
  Standard_EXPORT   virtual  void SetInt(const Standard_Integer val) ;
  //! Gets the value as an Integer <br>
  Standard_EXPORT     Standard_Integer Integer() const;
  
  Standard_EXPORT     void SetInteger(const Standard_Integer val) ;
  
  Standard_EXPORT     Standard_Boolean Boolean() const;
  
  Standard_EXPORT     void SetBoolean(const Standard_Boolean val) ;
  
  Standard_EXPORT     StepData_Logical Logical() const;
  
  Standard_EXPORT     void SetLogical(const StepData_Logical val) ;
  
  Standard_EXPORT   virtual  Standard_Real Real() const;
  
  Standard_EXPORT   virtual  void SetReal(const Standard_Real val) ;
  
  Standard_EXPORT   virtual  Standard_CString String() const;
  
  Standard_EXPORT   virtual  void SetString(const Standard_CString val) ;
  
  Standard_EXPORT     Standard_Integer Enum() const;
  
  Standard_EXPORT   virtual  Standard_CString EnumText() const;
  
  Standard_EXPORT     void SetEnum(const Standard_Integer val,const Standard_CString text = "") ;
  
  Standard_EXPORT   virtual  void SetEnumText(const Standard_Integer val,const Standard_CString text) ;




  DEFINE_STANDARD_RTTI(StepData_SelectMember)

protected:




private: 




};





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


#endif