#include <plArray.h>
Inheritance diagram for plArray:
Public Member Functions | |
plArray (const string &print_name, const plType &variable_type, const unsigned int &tab_dim, unsigned int first_dimension,...) | |
Constructs a Variable Set containing an array of one dimensional variables of the same type. | |
plArray () | |
Default constructor. | |
virtual | ~plArray () |
Erase the array of variables. | |
plSymbol | operator() (unsigned int first_index,...) |
Access operator for an array of variables. |
That is, all the variables on the set are of the same type.
Definition at line 35 of file plArray.h.
|
Constructs a Variable Set containing an array of one dimensional variables of the same type. The array named {print name} contains variables of type {variable type}, has dimensions {tab dim}. The other parameters {first ,...} are the sizes for each dimension. Example {plArray t("matrix",t1,2,3,4)} creates a table named {matrix} with variables of type {t1} and of size (2 dimensions) {3x4}. |
|
Access operator for an array of variables. Example, for a 2x2 table {t} you can access {t(0,0), t(0,1), t(1,0) of t(1,1)}. |