Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-08-06 09:38:18

0001 // -*- C++ -*-
0002 //
0003 // AITree.h is a part of ThePEG - Toolkit for HEP Event Generation
0004 // Copyright (C) 1999-2019 Leif Lonnblad
0005 //
0006 // ThePEG is licenced under version 3 of the GPL, see COPYING for details.
0007 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
0008 //
0009 #ifndef LWH_AITree_H
0010 #define LWH_AITree_H
0011 
0012 
0013 
0014 /** @cond DONT_DOCUMENT_STRIPPED_DOWN_AIDA_INTERFACES */
0015 
0016 namespace AIDA {
0017 
0018 class IManagedObject;
0019 
0020 class ITree {
0021 
0022 public:
0023 
0024   virtual ~ITree() {}
0025 
0026   virtual std::string storeName() const = 0;
0027   virtual IManagedObject * find(const std::string & name) = 0;
0028   virtual std::string pwd() const = 0;
0029   virtual bool commit() = 0;
0030   virtual bool close() = 0;
0031   virtual bool mkdir(const std::string &) = 0;
0032   virtual bool mkdirs(const std::string &) = 0;
0033   virtual bool cd(const std::string &) = 0;
0034   virtual bool rmdir(const std::string & str) = 0;
0035   virtual bool rm(const std::string & str) = 0;
0036   virtual std::string findPath(const IManagedObject & o) const = 0;
0037   virtual bool mv(const std::string & oldo, const std::string & newo) = 0;
0038   virtual void setOverwrite(bool o = true) = 0;
0039   virtual bool cp(const std::string &, const std::string &, bool = false) = 0;
0040 
0041 };
0042 
0043 }
0044 
0045 /** @endcond */
0046 
0047 
0048 
0049 
0050 
0051 #endif /* LWH_AITree_H */