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

Method source

src/modelica/ModelicaFileImpl.cpp:656–665  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

654}
655
656std::string ConnectClauseImpl::source() const {
657 if (!ctx()) {
658 return "";
659 }
660 const auto refs = ctx()->component_reference();
661 if (refs.empty()) {
662 return "";
663 }
664 return refs[0]->getText();
665}
666
667std::string ConnectClauseImpl::target() const {
668 if (!ctx()) {

Callers

nothing calls this directly

Calls 3

component_referenceMethod · 0.80
emptyMethod · 0.45
getTextMethod · 0.45

Tested by

no test coverage detected