|
| template<class T , class ALLOC > |
| std::ostream & | operator<< (std::ostream &s, const std::vector< T, ALLOC > &v) |
| | Serialize an std::vector in a python like format. E.g. "[1, 2, 3]".
|
| |
| template<class T , class ALLOC > |
| std::ostream & | operator<< (std::ostream &s, const std::list< T, ALLOC > &l) |
| | Serialize an std::list in a python like format. E.g. "[1, 2, 3]".
|
| |
| template<class T1 , class T2 > |
| std::ostream & | operator<< (std::ostream &s, const std::pair< T1, T2 > &p) |
| | Serialize an std::list in a python like format. E.g. "(1, 2)".
|
| |
| template<class T1 , class T2 , class COMP , class ALLOC > |
| std::ostream & | operator<< (std::ostream &s, const std::map< T1, T2, COMP, ALLOC > &m) |
| | Serialize an std::map in a python like format. E.g. "{a: 1, b: 2}".
|
| |
| template<class K , class T , class M > |
| std::ostream & | operator<< (std::ostream &s, const GaudiUtils::Map< K, T, M > &m) |
| | Serialize a GaudiUtils::Map in a python like format. E.g. "{a: 1, b: 2}".
|
| |
| template<class K , class T , class H , class M > |
| std::ostream & | operator<< (std::ostream &s, const GaudiUtils::HashMap< K, T, H, M > &m) |
| | Serialize a GaudiUtils::HashMap in a python like format.
|
| |
Forward declarations for the functions in SerializeSTL.h.
- Author
- Marco Clemencic
- See Also
- SerializeSTL.h
template<class K , class T , class H , class M >
Serialize a GaudiUtils::HashMap in a python like format.
E.g. "{a: 1, b: 2}". This implementation is not efficient, but very simple. Anyway a print-out of a hash map is not something that we do every second.
Definition at line 94 of file SerializeSTL.h.
{
return s << GaudiUtils::Map<K,T>(m.
begin(),m.
end());
}