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

Method target

src/modelica/ModelicaFileImpl.cpp:667–676  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

665}
666
667std::string ConnectClauseImpl::target() const {
668 if (!ctx()) {
669 return "";
670 }
671 const auto refs = ctx()->component_reference();
672 if (refs.size() < 2) {
673 return "";
674 }
675 return refs[1]->getText();
676}
677
678void ConnectClauseImpl::remove() {
679 if (m_owner) {

Callers

nothing calls this directly

Calls 3

component_referenceMethod · 0.80
sizeMethod · 0.45
getTextMethod · 0.45

Tested by

no test coverage detected