File indexing completed on 2025-01-18 10:04:08
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _Interface_ParamList_HeaderFile
0017 #define _Interface_ParamList_HeaderFile
0018
0019 #include <Standard.hxx>
0020
0021 #include <Interface_VectorOfFileParameter.hxx>
0022 #include <Standard_Transient.hxx>
0023 #include <Standard_Integer.hxx>
0024 class Interface_FileParameter;
0025
0026
0027 class Interface_ParamList;
0028 DEFINE_STANDARD_HANDLE(Interface_ParamList, Standard_Transient)
0029
0030
0031 class Interface_ParamList : public Standard_Transient
0032 {
0033
0034 public:
0035
0036
0037
0038 Standard_EXPORT Interface_ParamList(const Standard_Integer theIncrement = 256);
0039
0040
0041 Standard_Integer Length() const;
0042
0043
0044
0045 Standard_Integer Lower() const;
0046
0047
0048
0049 Standard_Integer Upper() const;
0050
0051
0052 Standard_EXPORT void SetValue (const Standard_Integer Index, const Interface_FileParameter& Value);
0053
0054
0055
0056 Standard_EXPORT const Interface_FileParameter& Value (const Standard_Integer Index) const;
0057 const Interface_FileParameter& operator () (const Standard_Integer Index) const
0058 {
0059 return Value(Index);
0060 }
0061
0062
0063
0064 Standard_EXPORT Interface_FileParameter& ChangeValue (const Standard_Integer Index);
0065 Interface_FileParameter& operator () (const Standard_Integer Index)
0066 {
0067 return ChangeValue(Index);
0068 }
0069
0070 Standard_EXPORT void Clear();
0071
0072
0073
0074
0075 DEFINE_STANDARD_RTTIEXT(Interface_ParamList,Standard_Transient)
0076
0077 protected:
0078
0079
0080
0081
0082 private:
0083
0084
0085 Interface_VectorOfFileParameter myVector;
0086
0087
0088 };
0089
0090
0091 #include <Interface_ParamList.lxx>
0092
0093
0094
0095
0096
0097 #endif