thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
AIManagedObject.h
1 // -*- C++ -*-
2 //
3 // AIManagedObject.h is a part of ThePEG - Toolkit for HEP Event Generation
4 // Copyright (C) 1999-2019 Leif Lonnblad
5 //
6 // ThePEG is licenced under version 3 of the GPL, see COPYING for details.
7 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
8 //
9 #ifndef LWH_AIManagedObject_H
10 #define LWH_AIManagedObject_H
11 
12 
13 
14 #include <string>
15 
18 namespace AIDA {
19 
20 class ITree;
21 
22 class IManagedObject {
23 
24 public:
25 
26  virtual ~IManagedObject() {}
27 
28  virtual std::string name() const = 0;
29  virtual void * cast(const std::string & className) const = 0;
30 
31 };
32 
33 }
34 
41 #endif /* LWH_AIManagedObject_H */