#include <CNCL/Array2Char.h>
CN_ARRAY2CHAR
CNArray2
None
CNArray2Double, CNArray2Float, CNArray2Int, CNArray2Long, CNArray2Object
Constructors:
CNArray2Char();
CNArray2Char(CNParam *param);
CNArray2Char(size_t r, size_t c, char def = 0);
CNArray2Char
and optionally sets the arraysize to
r rows and c cols.
CNArray2Char(const CNArray2Char &a);
Destructor:
~CNArray2Char();
In addition to the member functions required by CNCL, CNArray2Char
provides:
virtual void size(size_t r, size_t c);
void put(int r, int c, char value);
char get(int r, int c) const;
CNArrayChar& operator[] (int index);
operator []
. The row index
is returned.
CNArray2Char &operator= (const CNArray2Char &a);
operator =
for the array to allow copying of arrays.
Go to the first, previous, next, last section, table of contents.