1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
// -*- C++ -*-
//
// ManagedObject.h is a part of ThePEG - Toolkit for HEP Event Generation
// Copyright (C) 1999-2011 Leif Lonnblad
//
// ThePEG is licenced under version 2 of the GPL, see COPYING for details.
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
//
#ifndef LWH_ManagedObject_H
#define LWH_ManagedObject_H
//
// This is the declaration of the ManagedObject class.
//
#include "AIManagedObject.h"
#include <iostream>
namespace LWH {
using namespace AIDA;
/**
* The creator of trees.
*/
class ManagedObject: public IManagedObject {
public:
/// Destructor.
virtual ~ManagedObject() {}
/**
* Write out the object to the given stream in XML format.
*/
virtual bool writeXML(std::ostream & os,
std::string path, std::string name) = 0;
/**
* Write out the object to the given stream in simple table format.
*/
virtual bool writeFLAT(std::ostream & os,
std::string path, std::string name) = 0;
};
}
#endif /* LWH_ManagedObject_H */
|