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

Method quantities

src/utilities/units/OSQuantityVector.cpp:70–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70std::vector<Quantity> OSQuantityVector::quantities() const {
71 QuantityVector result;
72 for (double value : values()) {
73 result.push_back(Quantity(value, units()));
74 }
75 return result;
76}
77
78std::vector<double> OSQuantityVector::values() const {
79 return m_values;

Callers 1

TEST_FFunction · 0.80

Calls 2

QuantityClass · 0.70
push_backMethod · 0.45

Tested by 1

TEST_FFunction · 0.64