Warning, file /include/opencascade/BOPDS_IndexRange.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #ifndef _BOPDS_IndexRange_HeaderFile
0016 #define _BOPDS_IndexRange_HeaderFile
0017
0018 #include <Standard.hxx>
0019 #include <Standard_DefineAlloc.hxx>
0020 #include <Standard_Handle.hxx>
0021
0022 #include <Standard_Boolean.hxx>
0023
0024
0025
0026
0027
0028 class BOPDS_IndexRange
0029 {
0030 public:
0031
0032 DEFINE_STANDARD_ALLOC
0033
0034
0035
0036
0037 BOPDS_IndexRange();
0038
0039
0040
0041 void SetFirst (const Standard_Integer theI1);
0042
0043
0044
0045
0046 void SetLast (const Standard_Integer theI2);
0047
0048
0049
0050
0051 Standard_Integer First() const;
0052
0053
0054
0055
0056 Standard_Integer Last() const;
0057
0058
0059
0060
0061
0062 void SetIndices (const Standard_Integer theI1, const Standard_Integer theI2);
0063
0064
0065
0066
0067
0068 void Indices (Standard_Integer& theI1, Standard_Integer& theI2) const;
0069
0070
0071
0072
0073 Standard_Boolean Contains (const Standard_Integer theIndex) const;
0074
0075 Standard_EXPORT void Dump() const;
0076
0077
0078
0079
0080 protected:
0081
0082
0083
0084 Standard_Integer myFirst;
0085 Standard_Integer myLast;
0086
0087
0088 private:
0089
0090
0091
0092
0093
0094 };
0095
0096
0097 #include <BOPDS_IndexRange.lxx>
0098
0099
0100
0101
0102
0103 #endif