oaIntRange Class Reference

Inheritance diagram for oaIntRange:

oaRange<oaInt4> oaRangeBase


Public Methods

 oaIntRange ()
 oaIntRange (oaRangeType type, oaInt4 value)
 oaIntRange (oaRangeType type, oaInt4 lowerBoundIn, oaInt4 upperBoundIn)

Detailed Description

This class is used to specify various kinds of ranges such as greater than a lower bound, less than an upper bound, and between an upper and lower bound.


Constructor & Destructor Documentation

oaIntRange::oaIntRange   [inline]
 

This is the default constructor for oaIntRange. This constructor does not initialize any member variables.

oaIntRange::oaIntRange oaRangeType    type,
oaInt4    value
[inline]
 

This constructor creates oaInt4 range objects that have either a lower bound or upper bound. This constructor is used to specify range objects for the range types oacLessThanRangeType, oacLessThanEqualRangeType, oacGreaterThanRangeType, and oacGreaterThanEqualRangeType.

Parameters:
type The type of the range object.
value The upper bound or lower bound based on the type.

oaIntRange::oaIntRange oaRangeType    type,
oaInt4    lowerBoundIn,
oaInt4    upperBoundIn
[inline]
 

This constructor creates oaInt4 range objects that have both lower and upper bounds.

Parameters:
type The type of the range object.
lowerBoundIn The lower bound of the range object.
upperBoundIn The upper bound of the range object.
Exceptions:
oacInvalidTypeForRange 
oacInvalidBoundsForRange 


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

Return to top of page