2 #ifndef AIDA_ITREEROOT_H
3 #define AIDA_ITREEROOT_H 1
6 #include <AIDA/ITree.h>
48 const std::string & storeType =
"",
49 bool readOnly =
false,
50 bool createNew =
false,
51 const std::string &options =
"");
87 virtual bool cd(
const std::string & path) ;
94 virtual std::string
pwd()
const;
106 virtual bool ls(
const std::string & path =
".",
107 bool recursive =
false,
108 std::ostream & os = std::cout)
const;
142 virtual bool mkdir(
const std::string & path);
258 virtual bool close() ;
270 std::string _storeName;
class IManagedObject;
Definition: ITree.h:37
virtual std::string pwd() const
Get the path of the current working directory.
Definition: ITreeROOT.cc:124
virtual bool commit()
Create a directory recursively.
Definition: ITreeROOT.cc:55
virtual bool close()
Set the strategy of what should happen if two objects have the same path.
Definition: ITreeROOT.cc:72
class IManagedObject;
Definition: ITreeROOT.h:29
virtual bool mkdir(const std::string &path)
Get the list of names of the IManagedObjects under a given path, including directories (but not "...
Definition: ITreeROOT.cc:132
virtual bool ls(const std::string &path=".", bool recursive=false, std::ostream &os=std::cout) const
List, into a given output stream, all the IManagedObjects, including directories (but not "...
Definition: ITreeROOT.cc:195
virtual ~ITreeROOT()
Destructor.
Definition: ITreeROOT.cc:50
virtual bool cd(const std::string &path)
Get the IManagedObject at a given path in the ITree.
Definition: ITreeROOT.cc:93
virtual std::string storeName() const
Get the name of the store.
Definition: ITreeROOT.cc:88