MCPcopy Create free account
hub / github.com/d99kris/rapidcsv / GetRowCount

Method GetRowCount

src/rapidcsv.h:1153–1157  ·  view source on GitHub ↗

* @brief Get number of data rows (excluding label rows). * @returns row count. */

Source from the content-addressed store, hash-verified

1151 * @returns row count.
1152 */
1153 size_t GetRowCount() const
1154 {
1155 const int count = static_cast<int>(mData.size()) - (mLabelParams.mColumnNameIdx + 1);
1156 return (count >= 0) ? static_cast<size_t>(count) : 0;
1157 }
1158
1159 /**
1160 * @brief Get cell by index.

Callers 3

test042.cppFile · 0.80
test098.cppFile · 0.80
test065.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected