Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

TraceBack.cxx

Go to the documentation of this file.
00001 #include "FastShowerUtils/TraceBack.h"
00002 #include <algorithm>
00003 #include <iostream>
00004 
00005 namespace FastShower{
00006     TraceBack::TraceBack():DebugBase(), m_traces( vector<std::string>() ){}
00007 
00008   void TraceBack::add(const std::string& s){m_traces.push_back(s);}
00009   void TraceBack::dump() const{
00010     std::copy(m_traces.begin(), 
00011               m_traces.end(), 
00012               ostream_iterator<std::string>(cout,"\n")
00013               );
00014   }
00015   TraceBack* TraceBack::clone(){return new TraceBack(*this);}
00016 }
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 

Generated on Tue Mar 18 11:50:07 2003 for FastShowerUtils by doxygen1.3-rc1