00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef LWH_AITree_H
00010 #define LWH_AITree_H
00011
00012 #ifndef LWH_USING_AIDA
00013
00016 namespace AIDA {
00017
00018 class IManagedObject;
00019
00020 class ITree {
00021
00022 public:
00023
00024 virtual ~ITree() {}
00025
00026 virtual std::string storeName() const = 0;
00027 virtual IManagedObject * find(const std::string & name) = 0;
00028 virtual std::string pwd() const = 0;
00029 virtual bool commit() = 0;
00030 virtual bool close() = 0;
00031 virtual bool mkdir(const std::string &) = 0;
00032 virtual bool mkdirs(const std::string &) = 0;
00033 virtual bool cd(const std::string &) = 0;
00034 virtual bool rmdir(const std::string & str) = 0;
00035 virtual bool rm(const std::string & str) = 0;
00036 virtual std::string findPath(const IManagedObject & o) const = 0;
00037 virtual bool mv(const std::string & oldo, const std::string & newo) = 0;
00038 virtual void setOverwrite(bool o = true) = 0;
00039 virtual bool cp(const std::string &, const std::string &, bool = false) = 0;
00040
00041 };
00042
00043 }
00044
00047 #else
00048 #include "AIDA/ITree.h"
00049 #endif
00050
00051 #endif