ATLAS Offline Software
ObjectAccessor.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // ObjectAccessor.cxx, (c) ATLAS Detector software
8 
10 
11 #include "GaudiKernel/MsgStream.h"
12 #include <iostream>
13 
15 MsgStream&
16 Trk::operator<<(MsgStream& sl, const Trk::ObjectAccessor& oac)
17 {
18  for (const ObjectAccessor::value_type& elm : oac) {
19  sl << (oac.end() - oac.begin()) << "-ObjectAccessor: | " << elm << " | ";
20  }
21  return sl;
22 }
23 
24 std::ostream&
25 Trk::operator<<(std::ostream& sl, const Trk::ObjectAccessor& oac)
26 {
27  for (const ObjectAccessor::value_type& elm : oac) {
28  sl << (oac.end() - oac.begin()) << "-ObjectAccessor: | " << elm << " | ";
29  }
30  return sl;
31 }
ObjectAccessor.h
Trk::ObjectAccessor::value_type
int value_type
Definition: ObjectAccessor.h:17
Trk::ObjectAccessor
Definition: ObjectAccessor.h:15
Trk::operator<<
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output
Definition: AlignModule.cxx:204