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

Method gbXMLId

src/model/ModelObject.cpp:724–733  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

722 }
723
724 boost::optional<std::string> ModelObject_Impl::gbXMLId() const {
725 boost::optional<std::string> result;
726 if (hasAdditionalProperties()) {
727 AdditionalProperties additionalProperties = this->additionalProperties();
728 if (additionalProperties.hasFeature("gbXMLId")) {
729 result = additionalProperties.getFeatureAsString("gbXMLId");
730 }
731 }
732 return result;
733 }
734
735 bool ModelObject_Impl::setGBXMLId(const std::string& gbXMLId) {
736 return this->additionalProperties().setFeature("gbXMLId", gbXMLId);

Callers 3

translateIdMethod · 0.80
TEST_FFunction · 0.80
TEST_FFunction · 0.80

Calls 3

additionalPropertiesMethod · 0.95
hasFeatureMethod · 0.80
getFeatureAsStringMethod · 0.45

Tested by 2

TEST_FFunction · 0.64
TEST_FFunction · 0.64