MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / addComment

Method addComment

Engine/source/console/SimXMLDocument.cpp:1074–1079  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1072}
1073
1074void SimXMLDocument::addComment(const char* comment)
1075{
1076 tinyxml2::XMLComment* cComment = m_qDocument->NewComment(comment);
1077 cComment->SetValue(comment);
1078 m_qDocument->InsertEndChild(cComment);
1079}
1080
1081DefineEngineMethod(SimXMLDocument, addComment, void, ( const char* comment ),,
1082 "@brief Add the given comment as a child of the document.\n\n"

Callers 1

SimXMLDocument.cppFile · 0.80

Calls 3

NewCommentMethod · 0.80
InsertEndChildMethod · 0.80
SetValueMethod · 0.45

Tested by

no test coverage detected