11 #ifndef DtRangeBounds_H_
12 #define DtRangeBounds_H_
17 #include <vlutil/vlMachineTypes.h>
35 DtRangeBounds(
unsigned long lowerBound,
unsigned long upperBound,
36 unsigned long maxBound);
41 DtRangeBounds(DtRangeBounds const & rhs);
43 DtRangeBounds &operator=(DtRangeBounds const & rhs);
46 void setLowerBound(
unsigned long lowerBound);
47 unsigned long getLowerBound() const;
50 void setUpperBound(
unsigned long upperBound);
51 unsigned long getUpperBound() const;
54 void setMaxBound(
unsigned long max);
55 unsigned long getMaxBound() const;
58 int overlap(DtRangeBounds const & rangeBound) const;
61 DtBoundsCheck boundsCheck() const;
65 unsigned long myLowerBound;
66 unsigned long myUpperBound;
67 unsigned long myMaxBound;
68 DtBoundsCheck myBoundsCheck;
71 inline
unsigned long DtRangeBounds::getLowerBound()
const
76 inline unsigned long DtRangeBounds::getUpperBound()
const
81 inline unsigned long DtRangeBounds::getMaxBound()
const
86 inline DtBoundsCheck DtRangeBounds::boundsCheck()
const
91 class DT_DLL_LRC DtDimBounds :
public DtRangeBounds
97 DtDimBounds(
unsigned long lowerBound,
unsigned long upperBound,
98 unsigned long maxBound);
103 DtDimBounds(DtDimBounds const & rhs);
105 DtDimBounds &operator=(DtDimBounds const & rhs);
107 bool operator==(DtDimBounds const & rhs);
131 DtRegionExtent(DtRegionExtent
const & rhs);
138 DtRegionExtent &operator=(DtRegionExtent const & rhs);
141 unsigned long getNumberDimensions() const;
164 unsigned long upperBound);
166 void setRangeBound(DtDimBounds extent);
170 bool overlap(DtRegionExtent const & extent) const;
180 unsigned long encodedLength() const;
183 void encode(
void* buffer,
unsigned long bufferSize) const;
186 void decode(
void* buffer,
unsigned long dimCount);
189 static const DtDimBounds theInvalidExtent;
193 DtExtentMap myExtents;
DtHandle DtDimensionHandle
Definition: internalTypes.h:62
std::set< DtDimensionHandle > DtDimensionHandleStdSet
Definition: internalTypes.h:63
#define DT_DLL_LRC
Definition: rtiMsConfig.h:155
The declaration of internal types.