MCPcopy Create free account
hub / github.com/amule-project/amule / GetTextValue

Function GetTextValue

src/UPnPBase.cpp:300–313  ·  view source on GitHub ↗

! * \brief Returns the TEXT node value of the current node. */

Source from the content-addressed store, hash-verified

298 * \brief Returns the TEXT node value of the current node.
299 */
300const std::string GetTextValue(IXML_Element *element)
301{
302 if (!element) {
303 return stdEmptyString;
304 }
305 IXML_Node *text = ixmlNode_getFirstChild(&element->n);
306 const DOMString s = ixmlNode_getNodeValue(text);
307 std::string ret;
308 if (s) {
309 ret = s;
310 }
311
312 return ret;
313}
314
315
316/*!

Callers 4

ProcessActionResponseFunction · 0.85
GetChildValueByTagFunction · 0.85
CUPnPAllowedValueMethod · 0.85
UPnPBase.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected