MCPcopy Create free account
hub / github.com/alibaba/CicadaPlayer / getAttributeKeys

Method getAttributeKeys

framework/utils/xml/Node.cpp:53–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 return emptyString;
52}
53vector<std::string> Node::getAttributeKeys() const
54{
55 vector<std::string> keys;
56 map<string, string>::const_iterator it;
57
58 for (it = mAttributes.begin(); it != mAttributes.end(); ++it) {
59 keys.push_back(it->first);
60 }
61 return keys;
62}
63void Node::setText(const string &text)
64{
65 mText = text;

Callers 1

printMethod · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected