Files
envi-code/SourceCode/Code2026/tg_shs/inc/geo/TBitMatrix.h
T
2026-09-28 15:28:50 +08:00

35 lines
879 B
C++

//-----------------------------------------------------------------------------+
// Copyright (C), 1998-2007, Beijing Tangent Software Co. Ltd.
// = FileName : TBitMatrix.h
// = Version : ver2.0
// = Author : xlc
// = CreateDate : 2002-09-09
// = Description: 类的声明 多维位序列矩阵
// = Maintainers:
//
//-----------------------------------------------------------------------------+
#ifndef _TBITMATRIX_H_
#define _TBITMATRIX_H_
#ifndef _TBITTABLE_H_
#include "TBitTable.h"
#endif
class GEOAPI TBitMatrix : public TBitTable
{
public:
TBitMatrix(long rowNum, long colNum, long unitSize = 1);
virtual ~TBitMatrix();
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