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

Method inOrder

src/utilities/idf/ObjectOrderBase.cpp:171–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169// STATE CHECKING
170
171bool ObjectOrderBase::inOrder(const IddObjectType& type) const {
172 if (m_orderByIddEnum) {
173 return true;
174 }
175 if (m_iddOrder) {
176 auto it = getIterator(type);
177 if (it != m_iddOrder->end()) {
178 return true;
179 }
180 }
181 return false;
182}
183
184OptionalUnsigned ObjectOrderBase::indexInOrder(const IddObjectType& type) const {
185 if (m_orderByIddEnum) {

Callers 1

TEST_FFunction · 0.45

Calls 1

endMethod · 0.45

Tested by 1

TEST_FFunction · 0.36