summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/xml++.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-05-09 00:46:33 +0000
committerCarl Hetherington <carl@carlh.net>2010-05-09 00:46:33 +0000
commit542372cd18393d9760da61d0798af5905344517f (patch)
tree074c51c728fc8de7870fab6eb806a6d417f9c179 /libs/pbd/pbd/xml++.h
parent78b8eaf565a34df551bcac2b839a9defe9681ea0 (diff)
Add debug() method to dump XML nodes.
git-svn-id: svn://localhost/ardour2/branches/3.0@7083 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/pbd/pbd/xml++.h')
-rw-r--r--libs/pbd/pbd/xml++.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/pbd/pbd/xml++.h b/libs/pbd/pbd/xml++.h
index 65ab0f2c03..18bb3e013e 100644
--- a/libs/pbd/pbd/xml++.h
+++ b/libs/pbd/pbd/xml++.h
@@ -110,6 +110,8 @@ public:
/** Remove and delete all nodes with property prop matching val */
void remove_nodes_and_delete(const std::string& propname, const std::string& val);
+ void debug (std::ostream &, std::string p = "");
+
private:
std::string _name;
bool _is_content;