MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / FindAttribute

Method FindAttribute

src/Base/Parameter.cpp:1510–1517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1508}
1509
1510DOMNode* ParameterGrp::FindAttribute(DOMNode* Node, const char* Name) const
1511{
1512 DOMNamedNodeMap* attr = Node->getAttributes();
1513 if (attr) {
1514 return attr->getNamedItem(XStr(Name).unicodeForm());
1515 }
1516 return nullptr;
1517}
1518
1519std::vector<std::pair<ParameterGrp::ParamType, std::string>> ParameterGrp::GetParameterNames(
1520 const char* sFilter

Callers 6

labelNameMethod · 0.80
loadShapesMethod · 0.80
getNameMethod · 0.80
loadShapesMethod · 0.80
setupObjectMethod · 0.80
loadMethod · 0.80

Calls 3

XStrClass · 0.85
getAttributesMethod · 0.80
unicodeFormMethod · 0.80

Tested by

no test coverage detected