Public Member Functions | |
| SecondIndex (Matrix *matrix) | |
| Constructor. | |
| Object & | operator[] (SizeType secondIndex) |
| Returns pointer to the selected object on the matrix. | |
Private Member Functions | |
| SecondIndex (const SecondIndex &) | |
| SecondIndex & | operator= (const SecondIndex &) |
| ~SecondIndex () | |
Private Attributes | |
| Matrix * | m |
| Original matrix. | |
| SizeType | x |
| Current first index. | |
Friends | |
| class | Matrix |
Without this class there is no way how to implement "operator[][]" with boundaries control so that it's possible to access two-dimensional matrix directly using operators [].
| Matrix::SecondIndex::SecondIndex | ( | Matrix * | matrix | ) | [inline] |
| Matrix::SecondIndex::SecondIndex | ( | const SecondIndex & | ) | [private] |
| Matrix::SecondIndex::~SecondIndex | ( | ) | [inline, private] |
| SecondIndex& Matrix::SecondIndex::operator= | ( | const SecondIndex & | ) | [private] |
Returns pointer to the selected object on the matrix.
| secondIndex | Second index |
friend class Matrix [friend] |
Matrix* Matrix::SecondIndex::m [private] |
Original matrix.
SizeType Matrix::SecondIndex::x [private] |
Current first index.
1.4.7