Gaudi Framework, version v22r1

Home   Generated: Mon Feb 28 2011
Classes | Functions

AlgorithmHistory.h File Reference

#include "GaudiKernel/HistoryObj.h"
#include <iosfwd>
#include <string>
#include <typeinfo>
#include <vector>
Include dependency graph for AlgorithmHistory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AlgorithmHistory
 AlgorithmHistory class definition. More...

Functions

GAUDI_API std::ostreamoperator<< (std::ostream &lhs, const AlgorithmHistory &rhs)

Function Documentation

GAUDI_API std::ostream& operator<< ( std::ostream lhs,
const AlgorithmHistory rhs 
)

Definition at line 89 of file AlgorithmHistory.cpp.

                                                               {
  lhs << "Type: " << rhs.algorithm_type() << endl;
  lhs << "Name: " << rhs.algorithm_name() << endl;
  lhs << "Version: " << rhs.algorithm_version() << endl;
  // Properties.
  lhs << "Properties: [" << endl;;
  for ( AlgorithmHistory::PropertyList::const_iterator
        ipprop=rhs.properties().begin();
        ipprop!=rhs.properties().end(); ++ipprop ) {
    const Property& prop = **ipprop;
    prop.fillStream(lhs);
    lhs << endl;
    //    lhs << "  " << prop.type() << " " << prop.name() << endl;
//      << " == " 
//              << prop.fillStream(lhs) << endl;
  }
  lhs << "]" << endl;
  // Subalgorithms.
  if ( rhs.subalgorithm_histories().size() == 0 ) {
    lhs << "No subalgorithms.";
  } else {
    lhs << "Subalgorithms: {" << endl;
    for ( AlgorithmHistory::HistoryList::const_iterator
          iphist=rhs.subalgorithm_histories().begin();
          iphist!=rhs.subalgorithm_histories().end(); ++iphist ) {
      if ( iphist==rhs.subalgorithm_histories().begin() ) {
        lhs << "----------" << endl;
      }
      lhs << **iphist << endl;
      lhs << "----------" << endl;
    }
    lhs << "}";
  }
  return lhs;
}
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Mon Feb 28 2011 18:27:29 for Gaudi Framework, version v22r1 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004