X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fstlplus%2Fstrings%2Fprint_ntree.hpp;h=f09ea730a5aa69874c614b0c8f423cb6959af241;hp=47c1a460c0c7cbe98869e49a167d965f6d7670c9;hb=5846afb00833cc72fe72422ca896d2387c712cb4;hpb=a97500609dc3c1b11f9786d32bc458eb00de4c36 diff --git a/src/stlplus/strings/print_ntree.hpp b/src/stlplus/strings/print_ntree.hpp index 47c1a46..f09ea73 100644 --- a/src/stlplus/strings/print_ntree.hpp +++ b/src/stlplus/strings/print_ntree.hpp @@ -1,33 +1,33 @@ -#ifndef STLPLUS_PRINT_NTREE -#define STLPLUS_PRINT_NTREE -//////////////////////////////////////////////////////////////////////////////// - -// Author: Andy Rushton -// Copyright: (c) Southampton University 1999-2004 -// (c) Andy Rushton 2004-2009 -// License: BSD License, see ../docs/license.html - -// Generate a string representation of an ntree - -//////////////////////////////////////////////////////////////////////////////// -#include "strings_fixes.hpp" -#include "ntree.hpp" -#include -#include - -//////////////////////////////////////////////////////////////////////////////// - -namespace stlplus -{ - - template - void print_ntree(std::ostream& device, - const ntree& values, - S print_fn, - const std::string& separator = "|", - const std::string& indent_string = " "); - -} // end namespace stlplus - -#include "print_ntree.tpp" -#endif +#ifndef STLPLUS_PRINT_NTREE +#define STLPLUS_PRINT_NTREE +//////////////////////////////////////////////////////////////////////////////// + +// Author: Andy Rushton +// Copyright: (c) Southampton University 1999-2004 +// (c) Andy Rushton 2004-2009 +// License: BSD License, see ../docs/license.html + +// Generate a string representation of an ntree + +//////////////////////////////////////////////////////////////////////////////// +#include "strings_fixes.hpp" +#include "ntree.hpp" +#include +#include + +//////////////////////////////////////////////////////////////////////////////// + +namespace stlplus +{ + + template + void print_ntree(std::ostream& device, + const ntree& values, + S print_fn, + const std::string& separator = "|", + const std::string& indent_string = " "); + +} // end namespace stlplus + +#include "print_ntree.tpp" +#endif