#include <iostream>
#include <vector>
#include <string>
#include <cmath>
#include <map>
Go to the source code of this file.
- Author
- mark sutton
- Date
- Sun 18 Jan 2009 19:08:11 GMT
- Copyright
- Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
Definition in file TIDAAssociator.h.
◆ operator<<()
template<typename T, typename S>
| std::ostream & operator<< |
( |
std::ostream & | s, |
|
|
const TIDA::Associator< T, S > & | a ) |
|
inline |
Definition at line 84 of file TIDAAssociator.h.
84 {
85 typename TIDA::Associator<T,S>::map_type::const_iterator mitr =
a.matched().begin();
86 typename TIDA::Associator<T,S>::map_type::const_iterator mend =
a.matched().end();
87
88 std::cout <<
"TIDA::Associator size() " <<
a.size() << std::endl;
89
90 while ( mitr!=mend ) {
92 if ( mitr->first )
s << *(mitr->first) <<
"\t";
93 else s <<
"-------\t\t";
94
95 if ( mitr->second )
s << *(mitr->second);
97
98 s <<
" ]" << std::endl;
99
100 ++mitr;
101 }
102
104}