//-----------------------------------------------------------------------------+ // Copyright (C), 1998-2007, SH Software Co. Ltd. // = FileName : BitMatrix.h // = Version : ver2.0 // = Author : zjq // = CreateDate : 2002-09-09 // = Description: 类的声明 多维位序列矩阵 // = Maintainers: // //-----------------------------------------------------------------------------+ #ifndef _BITMATRIX_H_ #define _BITMATRIX_H_ #ifndef _BITTABLE_H_ #include "BitTable.h" #endif class GEOAPI BitMatrix : public BitTable { public: BitMatrix(long rowNum, long colNum, long unitSize = 1); virtual ~BitMatrix(); long operator () (long row, long col) const; virtual void SetValue(long row, long col, char value); virtual long GetRowNum() const; virtual long GetColNum() const; protected: long m_nrowSize; long m_ncolSize; }; #endif