Files
geant4/examples/extended/analysis/A01/include/AIDA/IManagedObject.h
T
2016-06-08 16:57:27 +02:00

65 lines
2.6 KiB
C++

//
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// -*- C++ -*-
// AID-GENERATED
// =========================================================================
// This class was generated by AID - Abstract Interface Definition
// DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it.
// =========================================================================
#ifndef AIDA_IMANAGEDOBJECT_H
#define AIDA_IMANAGEDOBJECT_H 1
// This file is part of the AIDA library
// Copyright (C) 2002 by the AIDA team. All rights reserved.
// This library is free software and under the terms of the
// GNU Library General Public License described in the LGPL.txt
#include <string>
namespace AIDA {
/**
* An object which can be stored in a tree.
* @see ITree
*
* @author The AIDA team (http://aida.freehep.org/)
*
*/
class IManagedObject {
public:
/// Destructor.
virtual ~IManagedObject() { /* nop */; }
/**
* Get the name of an IManagedObject.
* Names can only be changed using the ITree.mv().
* @return The name of the IManagedObject.
*
*/
virtual const std::string & name() const = 0;
}; // class
}; // namespace AIDA
#endif /* ifndef AIDA_IMANAGEDOBJECT_H */