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

FastShower::TraceBack Class Reference

Class to hold info strings for trace back. More...

#include <TraceBack.h>

Inheritance diagram for FastShower::TraceBack:

Inheritance graph
[legend]
Collaboration diagram for FastShower::TraceBack:

Collaboration graph
[legend]
List of all members.

Public Methods

 TraceBack ()
void add (const std::string &s)
void dump () const
TraceBack * clone ()

Private Attributes

vector< std::string > m_traces

Detailed Description

Class to hold info strings for trace back.

Definition at line 29 of file TraceBack.h.


Constructor & Destructor Documentation

FastShower::TraceBack::TraceBack  
 

Definition at line 6 of file TraceBack.cxx.

Referenced by clone().

00006 :DebugBase(), m_traces( vector<std::string>() ){}

Member Function Documentation

void FastShower::TraceBack::add const std::string &    s
 

Definition at line 8 of file TraceBack.cxx.

References m_traces.

00008 {m_traces.push_back(s);}

void FastShower::TraceBack::dump   const
 

Definition at line 9 of file TraceBack.cxx.

References m_traces.

00009                             {
00010     std::copy(m_traces.begin(), 
00011               m_traces.end(), 
00012               ostream_iterator<std::string>(cout,"\n")
00013               );
00014   }

TraceBack * FastShower::TraceBack::clone  
 

Definition at line 15 of file TraceBack.cxx.

References TraceBack().

00015 {return new TraceBack(*this);}

Member Data Documentation

vector<std::string> FastShower::TraceBack::m_traces [private]
 

Definition at line 36 of file TraceBack.h.

Referenced by add(), and dump().


The documentation for this class was generated from the following files:
Generated on Tue Mar 18 11:58:35 2003 for FastShowerUtils by doxygen1.3-rc1