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

Method setName

src/utilities/idf/WorkspaceObject.cpp:319–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317 // SETTERS
318
319 boost::optional<std::string> WorkspaceObject_Impl::setName(const std::string& newName) {
320 boost::optional<std::string> result = setName(newName, true);
321 if (result) {
322 this->emitChangeSignals();
323 }
324 return result;
325 }
326
327 boost::optional<std::string> WorkspaceObject_Impl::setName(const std::string& newName, bool checkValidity) {
328 if (m_handle.isNull()) {

Callers

nothing calls this directly

Calls 8

emitChangeSignalsMethod · 0.95
nameClass · 0.85
isNullMethod · 0.80
strictnessLevelMethod · 0.80
nameFieldIndexMethod · 0.80
isRequiredFieldMethod · 0.80
nextNameMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected