55 void ls(Option_t* opt =
"")
const;
66 Bool_t
buildCommand(
const Char_t* scmd,
const Char_t* args =
"", Option_t* opts =
"");
78 virtual TString
list(
const Char_t* directory =
"") = 0;
81 virtual TString
longlist(
const Char_t* directory =
"") = 0;
83 virtual Int_t
cd(
const Char_t* directory =
"") = 0;
84 virtual Int_t
chmod(
const Char_t* path, UInt_t mode) = 0;
85 virtual Int_t
put(
const Char_t* source,
const Char_t* target =
".") = 0;
86 virtual Int_t
get(
const Char_t* source,
const Char_t* target =
".") = 0;
87 virtual TString
info(
const Char_t* file, Option_t* opt =
"") = 0;
89 virtual Int_t
mkdir(
const Char_t* path, Option_t* opt =
"") = 0;
93 KVDMS(
const Char_t* name =
"DMS",
const Char_t* title =
"Data Management System");
97 virtual TList*
GetListing(
const Char_t* directory =
"");
98 virtual Bool_t
DirectoryContains(
const Char_t* name,
const Char_t* directory =
"");
Bool_t fIsCont
kTRUE if is container
Bool_t IsContainer() const
void SetModTime(KVDatime &d)
void ls(Option_t *opt="") const
List file/container attributes.
KVDatime fModTime
last modification
KVDatime GetModTime() const
void SetIsContainer(Bool_t yes=kTRUE)
Base class for KaliVeda framework.
virtual void SetNumber(UInt_t num)
Abstract base class for interfaces to Data Management Systems (SRB, IRODS, etc.)
virtual Int_t forcedelete(const Char_t *path)=0
virtual TString longlist(const Char_t *directory="")=0
virtual Bool_t GetPathInfo(const Char_t *path, DMSFile_t &fs)
TString fcmd
string holding full path to command line with arguments
virtual Int_t chmod(const Char_t *path, UInt_t mode)=0
TString fexec
string holding full path to executable
virtual void ExtractFileInfos(TString &, DMSFile_t *) const =0
virtual Int_t get(const Char_t *source, const Char_t *target=".")=0
virtual Int_t cd(const Char_t *directory="")=0
virtual Bool_t DirectoryContains(const Char_t *name, const Char_t *directory="")
TString fout
string holding results of command
virtual TList * GetListing(const Char_t *directory="")
virtual Int_t mkdir(const Char_t *path, Option_t *opt="")=0
KVDMS(const Char_t *name="DMS", const Char_t *title="Data Management System")
Default ctor with name and title.
Bool_t buildCommand(const Char_t *scmd, const Char_t *args="", Option_t *opts="")
virtual Int_t put(const Char_t *source, const Char_t *target=".")=0
virtual Bool_t IsContainer(TString &) const
virtual TString info(const Char_t *file, Option_t *opt="")=0
virtual KVUniqueNameList * GetFullListing(const Char_t *directory="")
virtual TString list(const Char_t *directory="")=0
Extension of TDatime to handle various useful date formats.
Optimised list in which named objects can only be placed once.