![]() |
PIP 5.6.1
Platform-Independent Primitives
|
Declares PIVector2D. More...
#include "pivector.h"Classes | |
| class | PIVector2D< T > |
2D array container.This class is used to store a 2D array of elements of any type as a single continuous block of memory (a plain PIVector). Elements can be accessed using the [][] operators, where the first index is the row and the second is the column. Rows can be manipulated as PIVector objects, allowing modification of individual elements or assignment of entire rows. You cannot directly add or remove elements to change the dimensions of the array after construction (use resize(), addRow(), removeRow(), removeColumn() instead), but you can modify the values of existing elements. More... | |
| struct | PIVector2D< T >::Index |
| Index structure for 2D array elements (row, column). More... | |
| class | PIVector2D< T >::RowConst |
| Proxy class representing a single read-only row in a PIVector2D. Returned by const operator[] or row(). Provides const access to row elements. More... | |
| class | PIVector2D< T >::ColConst |
| Proxy class representing a single read-only column in a PIVector2D. Returned by const col(). Provides const access to column elements. More... | |
| class | PIVector2D< T >::Row |
| Proxy class representing a single row in a PIVector2D for modification. Objects of this class are returned by non-const operator[] or row(). They provide array-like access to the elements of a specific row and allow operations such as assignment from another row or a PIVector, searching, filling, and iteration. More... | |
| class | PIVector2D< T >::Col |
| Proxy class representing a single column in a PIVector2D for modification. Objects of this class are returned by non-const col(). They provide column-wise access and operations similar to Row. More... | |
Functions | |
| template<typename T > | |
| PICout | operator<< (PICout s, const PIVector2D< T > &v) |
| Output operator for PIVector2D to PICout. | |
Declares PIVector2D.
Andrey Bychkov work..nosp@m.a.b@.nosp@m.yande.nosp@m.x.ru;