Open CASCADE Technology  7.0.0
Public Member Functions | Protected Attributes

BOPDS_IndexRange Class Reference

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 contructor. More...
 
virtual ~BOPDS_IndexRange ()
 
void SetFirst (const Standard_Integer theI1)
 Modifier Sets the first index <theI1> of the range. More...
 
void SetLast (const Standard_Integer theI2)
 Modifier Sets the second index <theI2> of the range. More...
 
Standard_Integer First () const
 Selector Returns the first index of the range. More...
 
Standard_Integer Last () const
 Selector Returns the second index of the range. More...
 
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> More...
 
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> More...
 
Standard_Boolean Contains (const Standard_Integer theIndex) const
 Query Returns true if the range contains <theIndex> More...
 
void Dump () const
 

Protected Attributes

Standard_Integer myFirst
 
Standard_Integer myLast
 

Detailed Description

The class BOPDS_IndexRange is to store the information about range of two indices.

Constructor & Destructor Documentation

BOPDS_IndexRange::BOPDS_IndexRange ( )

Empty contructor.

virtual BOPDS_IndexRange::~BOPDS_IndexRange ( )
virtual

Member Function Documentation

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.

Field Documentation

Standard_Integer BOPDS_IndexRange::myFirst
protected
Standard_Integer BOPDS_IndexRange::myLast
protected

The documentation for this class was generated from the following file: