]> Dogcows Code - chaz/yoink/blob - src/stlplus/strings/print_hash.hpp
testing new non-autotools build system
[chaz/yoink] / src / stlplus / strings / print_hash.hpp
1 #ifndef STLPLUS_PRINT_HASH
2 #define STLPLUS_PRINT_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 #include <iostream>
17
18 ////////////////////////////////////////////////////////////////////////////////
19
20 namespace stlplus
21 {
22
23 template<typename K, typename T, typename H, typename E, typename KS, typename TS>
24 void print_hash(std::ostream& device,
25 const hash<K,T,H,E>& values,
26 KS key_print_fn,
27 TS value_print_fn,
28 const std::string& pair_separator = ":",
29 const std::string& separator = ",");
30
31 } // end namespace stlplus
32
33 #include "print_hash.tpp"
34 #endif
This page took 0.032943 seconds and 4 git commands to generate.