![]() |
KSquare Utilities
|
A two dimensional matrix of Strings. More...
#include <KKStrMatrix.h>
Public Types | |
| typedef KKStrMatrix * | KKStrMatrixPtr |
Public Member Functions | |
| KKStrMatrix (kkuint32 _numCols) | |
| KKStrMatrix (kkuint32 _numCols, kkuint32 _numRows) | |
| ~KKStrMatrix () | |
| void | AddRow (KKStrListPtr newRowData) |
| Adds a list of Strings to the end of the Matrix. More... | |
| void | AddRow () |
| Adds a row of empty string to the end of the matrix. More... | |
| kkuint32 | NumCols () const |
| kkuint32 | NumRows () const |
| KKStrList & | operator() (kkuint32 row) |
| KKStr & | operator() (kkuint32 row, kkuint32 col) |
| KKStrList & | operator[] (kkuint32 row) |
A two dimensional matrix of Strings.
Definition at line 30 of file KKStrMatrix.h.
Definition at line 33 of file KKStrMatrix.h.
|
inline |
Definition at line 43 of file KKStrMatrix.h.
|
inline |
Definition at line 53 of file KKStrMatrix.h.
| void KKStrMatrix::AddRow | ( | KKStrListPtr | newRowData | ) |
Adds a list of Strings to the end of the Matrix.
Will add another row to the matrix and populate its contents with the String List being passed in.
| [in] | newRowData | Will take ownership of this String list. |
Definition at line 81 of file KKStrMatrix.cpp.
| void KKStrMatrix::AddRow | ( | ) |
Adds a row of empty string to the end of the matrix.
Definition at line 90 of file KKStrMatrix.cpp.
References KKB::KKStrList::KKStrList().
|
inline |
Definition at line 59 of file KKStrMatrix.h.
|
inline |
Definition at line 58 of file KKStrMatrix.h.
Definition at line 40 of file KKStrMatrix.cpp.
Definition at line 54 of file KKStrMatrix.cpp.
Definition at line 25 of file KKStrMatrix.cpp.