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

Method variantType

src/utilities/data/Variant.cpp:23–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21Variant::Variant(const std::string& value) : m_type(VariantType::String), m_value(value) {}
22
23VariantType Variant::variantType() const {
24 return m_type;
25}
26
27bool Variant::valueAsBoolean() const {
28 if (m_type != VariantType::Boolean) {

Callers 4

Variant.cppFile · 0.45
TEST_FFunction · 0.45
applyArgumentsMethod · 0.45
outputAttributesToJSONFunction · 0.45

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.36