MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / removeIndependentVariable

Method removeIndependentVariable

src/model/TableLookup.cpp:264–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262 }
263
264 bool TableLookup_Impl::removeIndependentVariable(const TableIndependentVariable& tableIndependentVariable) {
265 bool result = false;
266 auto modelObjectList = independentVariableList();
267 if (modelObjectList) {
268 modelObjectList->removeModelObject(tableIndependentVariable);
269 result = true;
270 }
271 return result;
272 }
273
274 void TableLookup_Impl::removeAllIndependentVariables() {
275 auto modelObjectList = independentVariableList();

Callers 1

TEST_FFunction · 0.80

Calls 1

removeModelObjectMethod · 0.80

Tested by 1

TEST_FFunction · 0.64