MCPcopy Create free account
hub / github.com/computationalpathologygroup/ASAP / getColumnIndex

Method getColumnIndex

ASAP/worklist_interface/Data/DataTable.cpp:170–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168 }
169
170 size_t DataTable::getColumnIndex(const std::string column) const
171 {
172 auto iterator = m_column_order.find(column);
173 if (iterator != m_column_order.end())
174 {
175 return iterator->second;
176 }
177 else
178 {
179 throw std::runtime_error("Column " + column + " not found.");
180 }
181 }
182
183 size_t DataTable::getVisibleColumnCount(void) const
184 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected