File indexing completed on 2025-01-18 10:03:54
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _IFSelect_SelectRange_HeaderFile
0018 #define _IFSelect_SelectRange_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <IFSelect_SelectExtract.hxx>
0024 #include <Standard_Integer.hxx>
0025 class IFSelect_IntParam;
0026 class Standard_Transient;
0027 class Interface_InterfaceModel;
0028 class TCollection_AsciiString;
0029
0030 class IFSelect_SelectRange;
0031 DEFINE_STANDARD_HANDLE(IFSelect_SelectRange, IFSelect_SelectExtract)
0032
0033
0034
0035
0036 class IFSelect_SelectRange : public IFSelect_SelectExtract
0037 {
0038
0039 public:
0040
0041
0042
0043 Standard_EXPORT IFSelect_SelectRange();
0044
0045
0046
0047 Standard_EXPORT void SetRange (const Handle(IFSelect_IntParam)& rankfrom, const Handle(IFSelect_IntParam)& rankto);
0048
0049
0050 Standard_EXPORT void SetOne (const Handle(IFSelect_IntParam)& rank);
0051
0052
0053 Standard_EXPORT void SetFrom (const Handle(IFSelect_IntParam)& rankfrom);
0054
0055
0056 Standard_EXPORT void SetUntil (const Handle(IFSelect_IntParam)& rankto);
0057
0058
0059 Standard_EXPORT Standard_Boolean HasLower() const;
0060
0061
0062 Standard_EXPORT Handle(IFSelect_IntParam) Lower() const;
0063
0064
0065 Standard_EXPORT Standard_Integer LowerValue() const;
0066
0067
0068 Standard_EXPORT Standard_Boolean HasUpper() const;
0069
0070
0071 Standard_EXPORT Handle(IFSelect_IntParam) Upper() const;
0072
0073
0074 Standard_EXPORT Standard_Integer UpperValue() const;
0075
0076
0077
0078 Standard_EXPORT Standard_Boolean Sort (const Standard_Integer rank, const Handle(Standard_Transient)& ent, const Handle(Interface_InterfaceModel)& model) const Standard_OVERRIDE;
0079
0080
0081
0082 Standard_EXPORT TCollection_AsciiString ExtractLabel() const Standard_OVERRIDE;
0083
0084 DEFINE_STANDARD_RTTIEXT(IFSelect_SelectRange,IFSelect_SelectExtract)
0085
0086 private:
0087
0088 Handle(IFSelect_IntParam) thelower;
0089 Handle(IFSelect_IntParam) theupper;
0090
0091 };
0092
0093 #endif