wxRTC: extracted XML utilities into a separate class for potential reuse.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2013-09-03 16:47:09 +00:00
parent 71a25c1033
commit bd21f7eaf0
4 changed files with 2078 additions and 1992 deletions

View File

@@ -53,33 +53,6 @@ public:
*/
bool ExportXML(wxOutputStream& stream, wxRichTextObject& obj, int level);
/**
Helper function: gets node context.
*/
wxString GetNodeContent(wxXmlNode* node);
/**
Helper function: gets a named parameter from the XML node.
*/
wxXmlNode* GetParamNode(wxXmlNode* node, const wxString& param);
/**
Helper function: gets a named parameter from the XML node.
*/
wxString GetParamValue(wxXmlNode* node, const wxString& param);
/**
Helper function: gets text from the node.
*/
wxString GetText(wxXmlNode* node,
const wxString& param = wxEmptyString,
bool translate = false);
/**
Helper function: returns @true if the node has the given parameter.
*/
bool HasParam(wxXmlNode* node, const wxString& param);
/**
Recursively imports an object.
*/