Overload List
| # | Signature | Description |
|---|---|---|
| 1 | TMtxInt *StringsToValues(tStrings *srcList, const DewString &aDelimiter); | Convert strings to integers and store them in the Values array. |
| 2 | TMtxInt *StringsToValues(tStrings *srcList); | Convert strings to integers and store them in the Values array. |
| 3 | TMtxInt *StringsToValues(tStrings *srcList, int ListIndex, int ListLen, int Row, int Col, DewString Delimiter = kTab); | Convert strings from [ListIndex]..[ListIndex+ListLen-1] in srcList to integers. |
| 4 | TMtxInt *StringsToValues(const DewArray<DewString> &aList, const DewString &Delimiter = kTab); | |
| 5 | TMtxInt *StringsToValues(const DewArray<DewString> &aList, int ListIndex, int ListLen, int Row, int Col, const DewString &Delimiter = kTab); |
Overload 1: TMtxInt *StringsToValues(tStrings *srcList, const DewString &aDelimiter);
Convert strings to integers and store them in the Values array.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | srcList | tStrings * | |
| 2 | aDelimiter | const DewString & |
Convert strings in aList to integers and store them in to the IValues/SValues/BValues array of the calling matrix. TMtxSmallInt::Rows property is set to aList.Count. TMtxSmallInt::IntPrecision and TMtxSmallInt::Cols propertes are auto-detected. Columns must be separated with a Delimiter. By default the delimiter is the tab charachter.
Overload 2: TMtxInt *StringsToValues(tStrings *srcList);
Convert strings to integers and store them in the Values array.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | srcList | tStrings * |
The assumed delimiter between columns will be a tab charachter.
Overload 3: TMtxInt *StringsToValues(tStrings *srcList, int ListIndex, int ListLen, int Row, int Col, DewString Delimiter = kTab);
Convert strings from [ListIndex]..[ListIndex+ListLen-1] in srcList to integers.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | srcList | tStrings * | |
| 2 | ListIndex | int | |
| 3 | ListLen | int | |
| 4 | Row | int | |
| 5 | Col | 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.
Overload 4: TMtxInt *StringsToValues(const DewArray<DewString> &aList, const DewString &Delimiter = kTab);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aList | const DewArray<DewString> & | |
| 2 | Delimiter = kTab | const DewString & |
Overload 5: TMtxInt *StringsToValues(const DewArray<DewString> &aList, int ListIndex, int ListLen, int Row, int Col, const DewString &Delimiter = kTab);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aList | const DewArray<DewString> & | |
| 2 | ListIndex | int | |
| 3 | ListLen | int | |
| 4 | Row | int | |
| 5 | Col | int | |
| 6 | Delimiter = kTab | const DewString & |