]> Dogcows Code - chaz/yoink/blob - src/stlplus/strings/string_hash.hpp
cleanup stlplus files
[chaz/yoink] / src / stlplus / strings / string_hash.hpp
1 #ifndef STLPLUS_STRING_HASH
2 #define STLPLUS_STRING_HASH
3 ////////////////////////////////////////////////////////////////////////////////
4
5 // Author: Andy Rushton
6 // Copyright: (c) Southampton University 1999-2004
7 // (c) Andy Rushton 2004-2009
8 // License: BSD License, see ../docs/license.html
9
10 // Generate a string representation of a hash
11
12 ////////////////////////////////////////////////////////////////////////////////
13 #include "strings_fixes.hpp"
14 #include "hash.hpp"
15 #include <string>
16
17 ////////////////////////////////////////////////////////////////////////////////
18
19 namespace stlplus
20 {
21
22 template<typename K, typename T, typename H, typename E, typename KS, typename TS>
23 std::string hash_to_string(const hash<K,T,H,E>& values,
24 KS key_to_string_fn,
25 TS value_to_string_fn,
26 const std::string& pair_separator = ":",
27 const std::string& separator = ",");
28
29 } // end namespace stlplus
30
31 #include "string_hash.tpp"
32 #endif
This page took 0.028511 seconds and 4 git commands to generate.