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

Method insert

src/utilities/idf/ObjectOrderBase.cpp:47–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47bool ObjectOrderBase::insert(IddObjectType type, IddObjectType insertBeforeType) {
48 if (!m_iddOrder) {
49 return false;
50 }
51 auto it = getIterator(insertBeforeType);
52 m_iddOrder->insert(it, type);
53 return true;
54}
55
56bool ObjectOrderBase::insert(IddObjectType type, unsigned index) {
57 if (!m_iddOrder) {

Callers 15

expandQueryMethod · 0.45
mf_makeConsistentMethod · 0.45
environmentPeriodsFunction · 0.45
reportingFrequenciesFunction · 0.45
timeSeriesNamesFunction · 0.45
initializeOnCloneMethod · 0.45
nullifyPointerMethod · 0.45
setReversePointerMethod · 0.45

Calls 3

beginMethod · 0.80
sizeMethod · 0.45
push_backMethod · 0.45

Tested by 9

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36