MCPcopy Create free account
hub / github.com/GeoDaCenter/geoda / GetSelectedRows

Method GetSelectedRows

Project.cpp:1004–1012  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1002}
1003
1004void Project::GetSelectedRows(std::vector<int>& rowids)
1005{
1006 rowids.clear();
1007 int n_rows = GetNumRecords();
1008 std::vector<bool>& hs = highlight_state->GetHighlight();
1009 for ( int i=0; i<n_rows; i++ ) {
1010 if (hs[i] ) rowids.push_back(i);
1011 }
1012}
1013
1014wxGrid* Project::FindTableGrid()
1015{

Callers 3

OnExportSelectedToOGRMethod · 0.80
CreateOGRLayerMethod · 0.80
promptVarSettingsMethod · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected