31 lines
743 B
C++
31 lines
743 B
C++
#ifndef DimBoundH
|
|
#define DimBoundH
|
|
|
|
//////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DimBound.h: interface for the DimBound class.
|
|
//
|
|
//////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
class DimBound {
|
|
public:
|
|
long arrDim; // Array dimension
|
|
long vmDim; // Virtual machine dimension
|
|
int dir; // ðàâåí 1 èëè -1 â çàâèñèìîñòè îò íàïðàâëåíèÿ
|
|
// ðàçáèåíèÿ èçìåðåíèÿ ìàññèâà
|
|
long LeftBSize;
|
|
long RightBSize;
|
|
|
|
DimBound(long AarrDim, long AvmDim, int Adir, long ALeftBSize, long ARightBSize);
|
|
DimBound();
|
|
virtual ~DimBound();
|
|
};
|
|
|
|
bool operator==(const DimBound& x, const DimBound& y);
|
|
|
|
bool operator<(const DimBound& x, const DimBound& y);
|
|
|
|
#endif
|