2 Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
5 // implementation of TileContainer
11 template <typename TELEMENT>
12 void TileContainer<TELEMENT>::print() const
14 std::cout << (std::string) (*this) << std::endl;
17 template <typename TELEMENT>
18 TileContainer<TELEMENT>::operator std::string() const
20 std::ostringstream text(std::ostringstream::out);
23 text << " size = " << this->size() << std::endl;
25 std::string result(text.str());
26 std::string newline("\n");
28 my_const_iterator it1 = this->begin();
29 my_const_iterator it2 = this->end();
31 const TELEMENT * elem;
35 result += (std::string)(*elem) + newline;