![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
The class BOPDS_IndexRange is to store the information about range of two indices. More...
#include <BOPDS_IndexRange.hxx>
Public Member Functions | |
| BOPDS_IndexRange () | |
| Empty constructor. | |
| BOPDS_IndexRange (const int theI1, const int theI2) | |
| Constructor with initial indices. | |
| void | SetFirst (const int theI1) |
| Modifier Sets the first index <theI1> of the range. | |
| void | SetLast (const int theI2) |
| Modifier Sets the second index <theI2> of the range. | |
| int | First () const |
| Selector Returns the first index of the range. | |
| int | Last () const |
| Selector Returns the second index of the range. | |
| void | SetIndices (const int theI1, const int theI2) |
| Modifier Sets the first index of the range <theI1> Sets the second index of the range <theI2> | |
| void | Indices (int &theI1, int &theI2) const |
| Selector Returns the first index of the range <theI1> Returns the second index of the range <theI2> | |
| bool | Contains (const int theIndex) const |
| Query Returns true if the range contains <theIndex> | |
| void | Dump () const |
Protected Attributes | |
| int | myFirst |
| int | myLast |
The class BOPDS_IndexRange is to store the information about range of two indices.
| BOPDS_IndexRange::BOPDS_IndexRange | ( | ) |
Empty constructor.
Constructor with initial indices.
Query Returns true if the range contains <theIndex>
| void BOPDS_IndexRange::Dump | ( | ) | const |
| int BOPDS_IndexRange::First | ( | ) | const |
Selector Returns the first index of the range.
Selector Returns the first index of the range <theI1> Returns the second index of the range <theI2>
| int BOPDS_IndexRange::Last | ( | ) | const |
Selector Returns the second index of the range.
Modifier Sets the first index <theI1> of the range.
Modifier Sets the first index of the range <theI1> Sets the second index of the range <theI2>
Modifier Sets the second index <theI2> of the range.
|
protected |
|
protected |