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

Method remove

src/utilities/idf/WorkspaceObject.cpp:52–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 m_targetData(other.m_targetData) {}
51
52 std::vector<IdfObject> WorkspaceObject_Impl::remove() {
53 std::vector<IdfObject> result;
54 result.push_back(this->idfObject());
55 bool ok = this->workspace().removeObject(this->handle());
56 OS_ASSERT(ok);
57 return result;
58 }
59
60 void WorkspaceObject_Impl::initializeOnAdd(bool expectToLosePointers) {
61 OS_ASSERT(m_workspace);

Callers 3

TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 5

idfObjectMethod · 0.95
workspaceMethod · 0.95
push_backMethod · 0.45
removeObjectMethod · 0.45
handleMethod · 0.45

Tested by 3

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36