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

Method SetSimpleColName

DataViewer/VarOrderMapper.cpp:206–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206void VarOrderMapper::SetSimpleColName(int pos, int time,
207 const wxString& new_name)
208{
209 if (time < 0 || pos < 0 || pos >= var_grps.size()) return;
210 VarGroup_container::iterator i = FindVarGroupIt(pos);
211 if (time >= i->GetNumTms()) return;
212 i->SetVarName(new_name, time);
213}
214
215void VarOrderMapper::SetDisplayedDecimals(int pos, int disp_decs)
216{

Callers

nothing calls this directly

Calls 3

SetVarNameMethod · 0.80
sizeMethod · 0.45
GetNumTmsMethod · 0.45

Tested by

no test coverage detected