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

TupleTitle.cxx

Go to the documentation of this file.
00001 // $Header: /nfs/slac/g/glast/ground/cvs/analysis/src/TupleTitle.cxx,v 1.1.1.1 1999/12/20 22:27:05 burnett Exp $
00002 #include "analysis/TupleTitle.h"
00003 
00004 
00005 TupleTitle::TupleTitle(std::string head)
00006 : m_head(head)
00007 {
00008 }
00009 
00010 TupleTitle::~TupleTitle()
00011 {
00012     iterator it=begin();
00013     while(it != end() ) delete *it++;
00014 }
00015 
00016 void TupleTitle::add(TitleClientBase* me){ push_back(me);}
00017 
00018 std::string TupleTitle::operator()()const {
00019     std::string result(m_head);
00020     for( const_iterator it = begin(); it != end(); ++it)
00021         result += (*it)->addToTitle();
00022     return result;
00023 }

Generated at Wed Nov 21 12:20:52 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000