| 1942 | } |
| 1943 | |
| 1944 | void UpdateRowNames() |
| 1945 | { |
| 1946 | mRowNames.clear(); |
| 1947 | if ((mLabelParams.mRowNameIdx >= 0) && |
| 1948 | (static_cast<int>(mData.size()) > |
| 1949 | (mLabelParams.mColumnNameIdx + 1))) |
| 1950 | { |
| 1951 | size_t i = 0; |
| 1952 | for (auto& dataRow : mData) |
| 1953 | { |
| 1954 | if (static_cast<int>(dataRow.size()) > mLabelParams.mRowNameIdx) |
| 1955 | { |
| 1956 | mRowNames[dataRow[static_cast<size_t>(mLabelParams.mRowNameIdx)]] = i++; |
| 1957 | } |
| 1958 | } |
| 1959 | } |
| 1960 | } |
| 1961 | |
| 1962 | #ifdef HAS_CODECVT |
| 1963 | #if defined(_MSC_VER) |
nothing calls this directly
no outgoing calls
no test coverage detected