blob: d7ca90bf6eeae83ea1512e22bf57834b4b066bd3 (
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
142
143
144
145
146
147
148
|
// 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 _PlotMgt_PlotterParameter_HeaderFile
#define _PlotMgt_PlotterParameter_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_PlotMgt_PlotterParameter_HeaderFile
#include <Handle_PlotMgt_PlotterParameter.hxx>
#endif
#ifndef _TCollection_AsciiString_HeaderFile
#include <TCollection_AsciiString.hxx>
#endif
#ifndef _PlotMgt_TypeOfPlotterParameter_HeaderFile
#include <PlotMgt_TypeOfPlotterParameter.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Handle_TColStd_HSequenceOfAsciiString_HeaderFile
#include <Handle_TColStd_HSequenceOfAsciiString.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _Standard_CString_HeaderFile
#include <Standard_CString.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Aspect_FStream_HeaderFile
#include <Aspect_FStream.hxx>
#endif
class TColStd_HSequenceOfAsciiString;
class PlotMgt_Plotter;
class TCollection_AsciiString;
class OSD_File;
class PlotMgt_PlotterParameter : public MMgt_TShared {
public:
//! Create the class instance WITH undefined TYPE <br>
Standard_EXPORT PlotMgt_PlotterParameter(const TCollection_AsciiString& aName);
Standard_EXPORT Standard_Boolean Save(OSD_File& aFile) ;
Standard_EXPORT void SetState(const Standard_Boolean aState) ;
Standard_EXPORT void SetType(const PlotMgt_TypeOfPlotterParameter aType) ;
Standard_EXPORT void SValue(TCollection_AsciiString& aValue) const;
Standard_EXPORT Standard_Boolean BValue() const;
Standard_EXPORT Standard_Integer IValue() const;
Standard_EXPORT Standard_Real RValue() const;
Standard_EXPORT void LValues(Handle(TColStd_HSequenceOfAsciiString)& aList) const;
Standard_EXPORT Handle_TColStd_HSequenceOfAsciiString MValue() const;
Standard_EXPORT TCollection_AsciiString Name() const;
Standard_EXPORT TCollection_AsciiString OldName() const;
Standard_EXPORT Standard_Boolean NeedToBeSaved() const;
Standard_EXPORT void Dump() const;
//! Used to put parameter's information in a cmd file <br>
//! used in PlotterDriver's Spool method. <br>
Standard_EXPORT void PutCommandInfo(const Aspect_FStream& outStream) const;
Standard_EXPORT void SetSValue(const TCollection_AsciiString& aValue) ;
Standard_EXPORT void SetBValue(const Standard_Boolean aValue) ;
Standard_EXPORT void SetIValue(const Standard_Integer aValue) ;
Standard_EXPORT void SetRValue(const Standard_Real aValue) ;
Standard_EXPORT void SetMValue(const Handle(TColStd_HSequenceOfAsciiString)& aMap) ;
friend class PlotMgt_Plotter;
DEFINE_STANDARD_RTTI(PlotMgt_PlotterParameter)
protected:
Standard_EXPORT void Normalize() ;
Standard_EXPORT Handle_TColStd_HSequenceOfAsciiString& Description() ;
private:
Standard_EXPORT void ProcessParamVal(const Standard_CString aParamSign,const Standard_Integer aFlag,TCollection_AsciiString& aValue) ;
Standard_EXPORT Standard_Boolean CheckListValue() ;
TCollection_AsciiString myName;
TCollection_AsciiString myOldName;
PlotMgt_TypeOfPlotterParameter myType;
Standard_Integer myIndex;
Standard_Boolean myState;
Standard_Boolean myConfigState;
Standard_Boolean myIsModified;
Standard_Integer myFlags;
TCollection_AsciiString myDialog;
TCollection_AsciiString myMinValue;
TCollection_AsciiString myMaxValue;
TCollection_AsciiString myValues;
TCollection_AsciiString myDefValue;
Standard_Integer myMapLength;
Handle_TColStd_HSequenceOfAsciiString myMap;
Handle_TColStd_HSequenceOfAsciiString myDescription;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|