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

Method setPrettyString

src/utilities/units/Unit.cpp:277–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275 }
276
277 void Unit_Impl::setPrettyString(const std::string& str) {
278 m_prettyString = str;
279 }
280
281 std::string Unit_Impl::print(bool withScale) const {
282 if (!prettyString(false).empty()) {

Callers 6

getUnitsMethod · 0.80
registerUnitMethod · 0.80
createIPPowerDensityFunction · 0.80
createIPPressureFunction · 0.80
setPrettyUnitsStringMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected