27 : XSize(cx), YSize(cy), Data(cx * cy) {}
28 inline size_t getXSize()
const {
return XSize; }
29 inline size_t getYSize()
const {
return YSize; }
30 inline bool empty()
const {
return Data.empty(); }
36 inline void resize(
size_t cy,
size_t cx) {
41 inline void set(
size_t row,
size_t col, T val) {
42 Data[row * XSize + col] = val;
44 inline T
at(
size_t row,
size_t col) {
return Data[row * XSize + col]; }
45 inline T
at(
size_t row,
size_t col)
const {
return Data[row * XSize + col]; }
void set(size_t row, size_t col, T val)
T at(size_t row, size_t col) const
TArray2D(size_t cy=0, size_t cx=0)
T at(size_t row, size_t col)
void resize(size_t cy, size_t cx)
#define RDKIT_FMCS_EXPORT
TArray2D< bool > MatchTable