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

Method GetNumDisallowGroupModify

DataViewer/TableState.cpp:168–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168int TableState::GetNumDisallowGroupModify(const wxString& grp_nm)
169{
170 int n=0;
171 for (std::list<TableStateObserver*>::iterator it=observers.begin();
172 it != observers.end(); ++it) {
173 if ( !(*it)->AllowGroupModify(grp_nm) ) ++n;
174 }
175 wxString msg;
176 msg << n << " of " << observers.size() << " TableStateObservers ";
177 msg << "disallow changes to group: " << grp_nm;
178 return n;
179}
180
181wxString TableState::GetDisallowGroupModifyMsg(const wxString& grp_nm)
182{

Callers 2

SetCellFromStringMethod · 0.80

Calls 2

AllowGroupModifyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected