| 1072 | } |
| 1073 | |
| 1074 | void 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 | |
| 1081 | DefineEngineMethod(SimXMLDocument, addComment, void, ( const char* comment ),, |
| 1082 | "@brief Add the given comment as a child of the document.\n\n" |
no test coverage detected