]> Dogcows Code - chaz/yoink/blobdiff - src/stlplus/strings/print_ntree.tpp
build system enhancements
[chaz/yoink] / src / stlplus / strings / print_ntree.tpp
index ab85611f0e544de63af1d87e7c1e02fdd565717a..f78895a5b857dcc7ccb43996cd1fe889108c41df 100644 (file)
@@ -1,30 +1,30 @@
-////////////////////////////////////////////////////////////////////////////////\r
-\r
-//   Author:    Andy Rushton\r
-//   Copyright: (c) Southampton University 1999-2004\r
-//              (c) Andy Rushton           2004-2009\r
-//   License:   BSD License, see ../docs/license.html\r
-\r
-////////////////////////////////////////////////////////////////////////////////\r
-\r
-namespace stlplus\r
-{\r
-\r
-  template<typename T, typename S>\r
-  void print_ntree(std::ostream& device,\r
-                   const ntree<T>& values,\r
-                   S print_fn,\r
-                   const std::string& separator,\r
-                   const std::string& indent_string)\r
-  {\r
-    for (TYPENAME ntree<T>::const_prefix_iterator i = values.prefix_begin(); i != values.prefix_end(); i++)\r
-    {\r
-      if (i != values.prefix_begin()) device << separator;\r
-      for (unsigned indent = values.depth(i.simplify()); --indent; )\r
-        device << indent_string;\r
-      print_fn(device, *i);\r
-    }\r
-  }\r
-\r
-} // end namespace stlplus\r
-\r
+////////////////////////////////////////////////////////////////////////////////
+
+//   Author:    Andy Rushton
+//   Copyright: (c) Southampton University 1999-2004
+//              (c) Andy Rushton           2004-2009
+//   License:   BSD License, see ../docs/license.html
+
+////////////////////////////////////////////////////////////////////////////////
+
+namespace stlplus
+{
+
+  template<typename T, typename S>
+  void print_ntree(std::ostream& device,
+                   const ntree<T>& values,
+                   S print_fn,
+                   const std::string& separator,
+                   const std::string& indent_string)
+  {
+    for (TYPENAME ntree<T>::const_prefix_iterator i = values.prefix_begin(); i != values.prefix_end(); i++)
+    {
+      if (i != values.prefix_begin()) device << separator;
+      for (unsigned indent = values.depth(i.simplify()); --indent; )
+        device << indent_string;
+      print_fn(device, *i);
+    }
+  }
+
+} // end namespace stlplus
+
This page took 0.023427 seconds and 4 git commands to generate.