X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fstlplus%2Fstrings%2Fstring_hash.hpp;h=5a94bb2203134bc173bbb50a95c83faf13132e36;hp=a01f87b1c91f18e65884dca043be633897aa5c2b;hb=5846afb00833cc72fe72422ca896d2387c712cb4;hpb=a97500609dc3c1b11f9786d32bc458eb00de4c36 diff --git a/src/stlplus/strings/string_hash.hpp b/src/stlplus/strings/string_hash.hpp index a01f87b..5a94bb2 100644 --- a/src/stlplus/strings/string_hash.hpp +++ b/src/stlplus/strings/string_hash.hpp @@ -1,32 +1,32 @@ -#ifndef STLPLUS_STRING_HASH -#define STLPLUS_STRING_HASH -//////////////////////////////////////////////////////////////////////////////// - -// 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 a hash - -//////////////////////////////////////////////////////////////////////////////// -#include "strings_fixes.hpp" -#include "hash.hpp" -#include - -//////////////////////////////////////////////////////////////////////////////// - -namespace stlplus -{ - - template - std::string hash_to_string(const hash& values, - KS key_to_string_fn, - TS value_to_string_fn, - const std::string& pair_separator = ":", - const std::string& separator = ","); - -} // end namespace stlplus - -#include "string_hash.tpp" -#endif +#ifndef STLPLUS_STRING_HASH +#define STLPLUS_STRING_HASH +//////////////////////////////////////////////////////////////////////////////// + +// 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 a hash + +//////////////////////////////////////////////////////////////////////////////// +#include "strings_fixes.hpp" +#include "hash.hpp" +#include + +//////////////////////////////////////////////////////////////////////////////// + +namespace stlplus +{ + + template + std::string hash_to_string(const hash& values, + KS key_to_string_fn, + TS value_to_string_fn, + const std::string& pair_separator = ":", + const std::string& separator = ","); + +} // end namespace stlplus + +#include "string_hash.tpp" +#endif