Open CASCADE Technology 6.6.0
Public Member Functions | Protected Attributes
BOPDS_IndexRange Class Reference

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

#include <BOPDS_IndexRange.hxx>

Public Member Functions

 BOPDS_IndexRange ()
 Empty contructor


virtual ~BOPDS_IndexRange ()
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

Constructor & Destructor Documentation

BOPDS_IndexRange::BOPDS_IndexRange ( )
virtual BOPDS_IndexRange::~BOPDS_IndexRange ( ) [virtual]

Member Function Documentation

Standard_Boolean BOPDS_IndexRange::Contains ( const Standard_Integer  theIndex) const
void BOPDS_IndexRange::Dump ( ) const
Standard_Integer BOPDS_IndexRange::First ( ) const
void BOPDS_IndexRange::Indices ( Standard_Integer theI1,
Standard_Integer theI2 
) const
Standard_Integer BOPDS_IndexRange::Last ( ) const
void BOPDS_IndexRange::SetFirst ( const Standard_Integer  theI1)
void BOPDS_IndexRange::SetIndices ( const Standard_Integer  theI1,
const Standard_Integer  theI2 
)
void BOPDS_IndexRange::SetLast ( const Standard_Integer  theI2)

Field Documentation


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines