summaryrefslogtreecommitdiffstats
path: root/ml/dlib/tools/htmlify/to_xml.h
diff options
context:
space:
mode:
Diffstat (limited to 'ml/dlib/tools/htmlify/to_xml.h')
-rw-r--r--ml/dlib/tools/htmlify/to_xml.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/ml/dlib/tools/htmlify/to_xml.h b/ml/dlib/tools/htmlify/to_xml.h
new file mode 100644
index 000000000..4bdf3f00e
--- /dev/null
+++ b/ml/dlib/tools/htmlify/to_xml.h
@@ -0,0 +1,22 @@
+#ifndef DLIB_HTMLIFY_TO_XmL_H__
+#define DLIB_HTMLIFY_TO_XmL_H__
+
+#include "dlib/cmd_line_parser.h"
+#include <string>
+
+void generate_xml_markup(
+ const dlib::cmd_line_parser<char>::check_1a_c& parser,
+ const std::string& filter,
+ const unsigned long search_depth,
+ const unsigned long expand_tabs
+);
+/*!
+ ensures
+ - reads all the files indicated by the parser arguments and converts them
+ to XML. The output will be stored in the output.xml file.
+ - if (expand_tabs != 0) then
+ - tabs will be replaced with expand_tabs spaces inside comment blocks
+!*/
+
+#endif // DLIB_HTMLIFY_TO_XmL_H__
+