RAIDA  1.9.0
IManagedObject.h
1 // -*- C++ -*-
2 // AID-GENERATED
3 // =========================================================================
4 // This class was generated by AID - Abstract Interface Definition
5 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it.
6 // =========================================================================
7 #ifndef AIDA_IMANAGEDOBJECT_H
8 #define AIDA_IMANAGEDOBJECT_H 1
9 
10 // This file is part of the AIDA library
11 // Copyright (C) 2002 by the AIDA team. All rights reserved.
12 // This library is free software and under the terms of the
13 // GNU Library General Public License described in the LGPL.txt
14 
15 #include <string>
16 
17 namespace AIDA {
18 
28 
29 public:
31  virtual ~IManagedObject() { /* nop */; }
32 
39  virtual std::string name() const = 0;
40 
61  virtual void * cast(const std::string & className) const = 0;
62 }; // class
63 } // namespace AIDA
64 #endif /* ifndef AIDA_IMANAGEDOBJECT_H */
virtual std::string name() const =0
Get the name of an IManagedObject.
virtual void * cast(const std::string &className) const =0
A simple introspection method.
virtual ~IManagedObject()
Destructor.
Definition: IManagedObject.h:31
An object which can be stored in a tree.
Definition: IManagedObject.h:27