| 2162 | |
| 2163 | |
| 2164 | int |
| 2165 | Domain::hasDomainChanged(void) |
| 2166 | { |
| 2167 | // if the flag indicating the domain has changed since the |
| 2168 | // last call to this method has changed, increment the integer |
| 2169 | // and reset the flag |
| 2170 | bool result = hasDomainChangedFlag; |
| 2171 | hasDomainChangedFlag = false; |
| 2172 | if (result == true) { |
| 2173 | currentGeoTag++; |
| 2174 | nodeGraphBuiltFlag = false; |
| 2175 | eleGraphBuiltFlag = false; |
| 2176 | } |
| 2177 | |
| 2178 | // return the integer so user can determine if domain has changed |
| 2179 | // since their last call to this method |
| 2180 | return currentGeoTag; |
| 2181 | } |
| 2182 | |
| 2183 | |
| 2184 | void |