Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxInt *StringsToValues(tStrings *aList, const DewString &Delimiter = kTab) const; | Convert strings to integers and store them in the Values array. |
| 2 | TMtxInt *StringsToValues(tStrings *aList, const int ListIndex, const int ListLen, const int Row, const int Col, DewString Delimiter = kTab) const; | Convert strings from [ListIndex]..[ListIndex+ListLen-1] in aList to integers. |
| 3 | TMtxInt *StringsToValues(const DewArray<DewString> &aList, const DewString &Delimiter = kTab) const; | |
| 4 | TMtxInt *StringsToValues(const DewArray<DewString> &aList, const int ListIndex, const int ListLen, const int Row, const int Col, const DewString &Delimiter = kTab) const; |
Overload 1: TMtxInt *StringsToValues(tStrings *aList, const DewString &Delimiter = kTab) const;
Convert strings to integers and store them in the Values array.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aList | tStrings * | |
| 2 | Delimiter = kTab | const DewString & |
Convert strings in aList to an integer number and stores them in the Values array of the calling matrix. MatrixInt::Rows property is set to aList.Count. TMtxVecInt::IntPrecision and MatrixInt::Cols propertes are auto-detected. Complex numbers must follow the format: a+bi. All strings must have the same number of columns (numbers). Columns must be separated with a Delimiter. By default the delimiter is the tab charachter.
Overload 2: TMtxInt *StringsToValues(tStrings *aList, const int ListIndex, const int ListLen, const int Row, const int Col, DewString Delimiter = kTab) const;
Convert strings from [ListIndex]..[ListIndex+ListLen-1] in aList to integers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aList | tStrings * | |
| 2 | ListIndex | const int | |
| 3 | ListLen | const int | |
| 4 | Row | const int | |
| 5 | Col | const int | |
| 6 | Delimiter = kTab | DewString |
Store them in the Values array of the calling matrix, starting from element [Row,Cols]. The size of the calling matrix is not changed. If array bounds are overrun an exception is raised. Complex numbers must follow the format: a+bi.
Overload 3: TMtxInt *StringsToValues(const DewArray<DewString> &aList, const DewString &Delimiter = kTab) const;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aList | const DewArray<DewString> & | |
| 2 | Delimiter = kTab | const DewString & |
Overload 4: TMtxInt *StringsToValues(const DewArray<DewString> &aList, const int ListIndex, const int ListLen, const int Row, const int Col, const DewString &Delimiter = kTab) const;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aList | const DewArray<DewString> & | |
| 2 | ListIndex | const int | |
| 3 | ListLen | const int | |
| 4 | Row | const int | |
| 5 | Col | const int | |
| 6 | Delimiter = kTab | const DewString & |