Back to index

salome-geom  6.5.0
Public Member Functions | Protected Attributes
NMTDS_IndexRange Class Reference

#include <NMTDS_IndexRange.hxx>

List of all members.

Public Member Functions

Standard_EXPORT NMTDS_IndexRange ()
Standard_EXPORT void SetFirst (const Standard_Integer aFirst)
Standard_EXPORT void SetLast (const Standard_Integer aLast)
Standard_EXPORT Standard_Integer First () const
Standard_EXPORT Standard_Integer Last () const
Standard_EXPORT Standard_Boolean IsInRange (const Standard_Integer aIndex) const

Protected Attributes

Standard_Integer myFirst
Standard_Integer myLast

Detailed Description

Definition at line 41 of file NMTDS_IndexRange.hxx.

Constructor & Destructor Documentation

Definition at line 34 of file NMTDS_IndexRange.cxx.


Member Function Documentation

Standard_Integer NMTDS_IndexRange::First ( ) const

Definition at line 52 of file NMTDS_IndexRange.cxx.

  return myFirst;

Here is the caller graph for this function:

Standard_Boolean NMTDS_IndexRange::IsInRange ( const Standard_Integer  aIndex) const

Definition at line 76 of file NMTDS_IndexRange.cxx.

  return (Standard_Boolean)(aIndex>=myFirst && aIndex<=myLast);

Here is the caller graph for this function:

Standard_Integer NMTDS_IndexRange::Last ( ) const

Definition at line 68 of file NMTDS_IndexRange.cxx.

  return myLast;

Here is the caller graph for this function:

void NMTDS_IndexRange::SetFirst ( const Standard_Integer  aFirst)

Definition at line 44 of file NMTDS_IndexRange.cxx.

void NMTDS_IndexRange::SetLast ( const Standard_Integer  aLast)

Definition at line 60 of file NMTDS_IndexRange.cxx.


Member Data Documentation

Standard_Integer NMTDS_IndexRange::myFirst [protected]

Definition at line 58 of file NMTDS_IndexRange.hxx.

Standard_Integer NMTDS_IndexRange::myLast [protected]

Definition at line 59 of file NMTDS_IndexRange.hxx.

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