Overload List
Overload 1: int ValuesToStrings(tStrings *dstList, const DewString &Delimiter = kTab, const TFixedTextAlign Align = TFixedTextAlign::ftaNone, const DewString &ReFormat = " 0.######;-0.#######", const DewString &ImFormat = "+0.######i;-0.######i", const bool Headers = false, const int ColumnWidth = - 1);
Converts the content of the matrix Values array to a list of strings.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | dstList | tStrings * | |
| 2 | Delimiter = kTab | const DewString & | |
| 3 | Align = TFixedTextAlign::ftaNone | const TFixedTextAlign | |
| 4 | ReFormat = " 0.######;-0.#######" | const DewString & | |
| 5 | ImFormat = "+0.######i;-0.######i" | const DewString & | |
| 6 | Headers = false | const bool | |
| 7 | ColumnWidth = - 1 | const int |
Convert all elements of the calling matrix to strings with formating real parts with ReFormat, imaginary parts with ImFormat, using the text delimiter Delimiter and store them in dstList, by using the Add method of TStrings object.
Performance note:
This routine will be exceedingly slow, if TRichEdit.Lines or TMemo.Lines are passed as a parameter for dstList. Use TStringList or StringList types and then call TMemo.Lines.AddStrings(yourList) for best results.
Overload 2: int ValuesToStrings(tStrings *dstList, int ListIndex, int Row, int Col, int RowCount, int ColCount, const DewString &Delimiter = kTab, const TFixedTextAlign Align = TFixedTextAlign::ftaNone, const DewString &ReFormat = " 0.######;-0.######", const DewString &ImFormat = "+0.######i;-0.######i", const bool Headers = false, const int ColumnWidth = - 1);
Convert calling matrix elements, starting with [Row,Col] until [row + RowCount, col + ColCount] converting Len elements to strings.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | dstList | tStrings * | |
| 2 | ListIndex | int | |
| 3 | Row | int | |
| 4 | Col | int | |
| 5 | RowCount | int | |
| 6 | ColCount | int | |
| 7 | Delimiter = kTab | const DewString & | |
| 8 | Align = TFixedTextAlign::ftaNone | const TFixedTextAlign | |
| 9 | ReFormat = " 0.######;-0.######" | const DewString & | |
| 10 | ImFormat = "+0.######i;-0.######i" | const DewString & | |
| 11 | Headers = false | const bool | |
| 12 | ColumnWidth = - 1 | const int |
Formatting real parts with ReFormat, imaginary parts with ImFormat, using the text delimiter Delimiter and store them in dstList starting at ListIndex. If dstList is not large enough, the method will use the Add method of dstList object.
Returns column width, when alignment is other than none.
Performance note:
This routine will be exceedingly slow, if TRichEdit.Lines or TMemo.Lines are passed as a parameter for dstList. Use TStringList or StringList types and then call TMemo.Lines.AddStrings(yourList) for best results.
Overload 3: void ValuesToStrings(DewArray<DewString> &aList, const DewString &Delimiter = kTab, const TFixedTextAlign Align = TFixedTextAlign::ftaNone, const DewString &ReFormat = " 0.###;-0.###", const DewString &ImFormat = "+0.###i;-0.###i", const bool Headers = false);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aList | DewArray<DewString> & | |
| 2 | Delimiter = kTab | const DewString & | |
| 3 | Align = TFixedTextAlign::ftaNone | const TFixedTextAlign | |
| 4 | ReFormat = " 0.###;-0.###" | const DewString & | |
| 5 | ImFormat = "+0.###i;-0.###i" | const DewString & | |
| 6 | Headers = false | const bool |
Overload 4: void ValuesToStrings(DewArray<DewString> &aList, int ListIndex, int Row, int Col, int RowCount, int ColCount, DewString Delimiter = kTab, const TFixedTextAlign Align = TFixedTextAlign::ftaNone, const DewString &ReFormat = " 0.###;-0.###", const DewString &ImFormat = "+0.###i;-0.###i", const bool Headers = false);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | aList | DewArray<DewString> & | |
| 2 | ListIndex | int | |
| 3 | Row | int | |
| 4 | Col | int | |
| 5 | RowCount | int | |
| 6 | ColCount | int | |
| 7 | Delimiter = kTab | DewString | |
| 8 | Align = TFixedTextAlign::ftaNone | const TFixedTextAlign | |
| 9 | ReFormat = " 0.###;-0.###" | const DewString & | |
| 10 | ImFormat = "+0.###i;-0.###i" | const DewString & | |
| 11 | Headers = false | const bool |