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. | |
| void | SetFirst (const Standard_Integer theI1) |
| Modifier Sets the first index <theI1> of the range. | |
| void | SetLast (const Standard_Integer theI2) |
| Modifier Sets the second index <theI2> of the range. | |
| Standard_Integer | First () const |
| Selector Returns the first index of the range. | |
| Standard_Integer | Last () const |
| Selector Returns the second index of the range. | |
| void | SetIndices (const Standard_Integer theI1, const Standard_Integer theI2) |
| Modifier Sets the first index of the range <theI1> Sets the second index of the range <theI2> | |
| void | Indices (Standard_Integer &theI1, Standard_Integer &theI2) const |
| Selector Returns the first index of the range <theI1> Returns the second index of the range <theI2> | |
| Standard_Boolean | Contains (const Standard_Integer theIndex) const |
| Query Returns true if the range contains <theIndex> | |
| void | Dump () const |
Protected Attributes | |
| Standard_Integer | myFirst |
| Standard_Integer | myLast |
The class BOPDS_IndexRange is to store the information about range of two indices.
| BOPDS_IndexRange::BOPDS_IndexRange | ( | ) |
Empty constructor.
| Standard_Boolean BOPDS_IndexRange::Contains | ( | const Standard_Integer | theIndex | ) | const |
Query Returns true if the range contains <theIndex>
| void BOPDS_IndexRange::Dump | ( | ) | const |
| Standard_Integer BOPDS_IndexRange::First | ( | ) | const |
Selector Returns the first index of the range.
| void BOPDS_IndexRange::Indices | ( | Standard_Integer & | theI1, |
| Standard_Integer & | theI2 ) const |
Selector Returns the first index of the range <theI1> Returns the second index of the range <theI2>
| Standard_Integer BOPDS_IndexRange::Last | ( | ) | const |
Selector Returns the second index of the range.
| void BOPDS_IndexRange::SetFirst | ( | const Standard_Integer | theI1 | ) |
Modifier Sets the first index <theI1> of the range.
| void BOPDS_IndexRange::SetIndices | ( | const Standard_Integer | theI1, |
| const Standard_Integer | theI2 ) |
Modifier Sets the first index of the range <theI1> Sets the second index of the range <theI2>
| void BOPDS_IndexRange::SetLast | ( | const Standard_Integer | theI2 | ) |
Modifier Sets the second index <theI2> of the range.
|
protected |
|
protected |