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

Method cloneToMixed

src/utilities/units/Unit.cpp:63–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 }
62
63 Unit Unit_Impl::cloneToMixed() const {
64 std::shared_ptr<Unit_Impl> impl(new Unit_Impl(*this));
65 impl->m_system = UnitSystem::Mixed;
66 return Unit(impl);
67 }
68
69 std::vector<std::string> Unit_Impl::baseUnits() const {
70 // create vector of correct size to hold baseUnit strings

Callers 4

operator*Function · 0.80
operator/Function · 0.80
Quantity.cppFile · 0.80

Calls 1

UnitClass · 0.50

Tested by

no test coverage detected