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

Method nextName

src/utilities/idf/Workspace.cpp:1557–1564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1555 }
1556
1557 std::string Workspace_Impl::nextName(const std::string& name, bool fillIn) const {
1558 if (m_fastNaming) {
1559 return toString(createUUID());
1560 }
1561
1562 WorkspaceObjectVector objectsInSeries = getObjectsByName(name, false);
1563 return constructNextName(name, objectsInSeries, fillIn);
1564 }
1565
1566 std::string Workspace_Impl::nextName(const IddObjectType& iddObjectType, bool fillIn) const {
1567 if (m_fastNaming) {

Callers 3

setNameMethod · 0.80
createNameMethod · 0.80
TEST_FFunction · 0.80

Calls 4

createUUIDFunction · 0.85
toStringFunction · 0.50
nameMethod · 0.45

Tested by 1

TEST_FFunction · 0.64