Files
envi-code/SourceCode/Code2026/inc/AdsXRx/BitMatrix.h
T
gjm 164968b62e chore
把非utf8-bom编码的cpp/h文件改为 utf8 bom 编码, msvc识别utf8编码时,如果不是bom格式的,会使用当前cp_oem来解码.
2026-10-04 00:04:20 +08:00

36 lines
872 B
C++

//-----------------------------------------------------------------------------+
// 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