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

Method setString

src/utilities/idf/WorkspaceObject.cpp:389–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

387 }
388
389 bool WorkspaceObject_Impl::setString(unsigned index, const std::string& value) {
390 bool result = setString(index, value, true);
391 if (result) {
392 this->emitChangeSignals();
393 }
394 return result;
395 }
396
397 // Pre-condition: Object valid at Workspace's strictness level.
398 bool WorkspaceObject_Impl::setString(unsigned index, const std::string& value, bool checkValidity) {

Callers 1

idfObjectImplPtrMethod · 0.45

Calls 12

emitChangeSignalsMethod · 0.95
isNullMethod · 0.80
strictnessLevelMethod · 0.80
objectListsMethod · 0.80
hasNameFieldMethod · 0.80
nameFieldIndexMethod · 0.80
resizeMethod · 0.80
isNonextensibleFieldMethod · 0.80
isExtensibleFieldMethod · 0.80
getMethod · 0.45
sizeMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected