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

Method valueAsString

src/measure/OSArgument.cpp:182–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180 }
181
182 std::string OSArgument::valueAsString() const {
183 if (!hasValue()) {
184 LOG_AND_THROW("Argument " << name() << " has no value.");
185 }
186
187 return printOSArgumentVariant(m_value);
188 }
189
190 openstudio::path OSArgument::valueAsPath() const {
191 if (!hasValue()) {

Callers 13

measure_hashMethod · 0.45
test_attributeMethod · 0.45
addAttributesMethod · 0.45
getBSDFMethod · 0.45
validateUserArgumentsMethod · 0.45
TEST_FFunction · 0.45
applyArgumentsMethod · 0.45

Calls 1

nameClass · 0.85

Tested by 4

test_attributeMethod · 0.36
TEST_FFunction · 0.36