KaliVeda
Toolkit for HIC analysis
SRB.h
1 
4 #ifndef __SRB_H
5 #define __SRB_H
6 
7 #include "KVDMS.h"
8 
15 class SRB : public KVDMS {
16 protected:
17  virtual void ExtractFileInfos(TString&, DMSFile_t*) const;
18 
19 public:
20  SRB();
21  virtual ~SRB();
22  virtual Int_t init();
23  virtual Int_t exit();
24  virtual TString list(const Char_t* directory = "");
25  virtual TString longlist(const Char_t* directory = "");
26  virtual Int_t cd(const Char_t* directory = "");
27  virtual Int_t put(const Char_t* source, const Char_t* target = ".");
28  virtual Int_t get(const Char_t* source, const Char_t* target = ".");
29  virtual TString info(const Char_t* file, Option_t* opt = "");
30  virtual Int_t forcedelete(const Char_t* path);
31  virtual Int_t mkdir(const Char_t* path, Option_t* opt = "");
32  virtual Int_t chmod(const Char_t*, UInt_t)
33  {
35  return 0;
36  };
37 
38  ClassDef(SRB, 1) //Interface to SRB commands
39 };
40 
41 #endif
int Int_t
unsigned int UInt_t
char Char_t
const char Option_t
#define ClassDef(name, id)
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t target
Abstract base class for interfaces to Data Management Systems (SRB, IRODS, etc.)
Definition: KVDMS.h:60
Interface to SRB (Storage Resource Broker) DMS client.
Definition: SRB.h:15
virtual TString longlist(const Char_t *directory="")
Definition: SRB.cpp:60
virtual ~SRB()
Definition: SRB.cpp:23
virtual Int_t chmod(const Char_t *, UInt_t)
Definition: SRB.h:32
virtual Int_t exit()
Call at end of interactive session (i.e. if you previously called Sinit())
Definition: SRB.cpp:164
virtual TString info(const Char_t *file, Option_t *opt="")
returns meta-infos on given file.
Definition: SRB.cpp:87
SRB()
Definition: SRB.cpp:14
virtual Int_t init()
Call in interactive session if you want to use relative pathnames.
Definition: SRB.cpp:32
virtual Int_t get(const Char_t *source, const Char_t *target=".")
Definition: SRB.cpp:118
virtual Int_t cd(const Char_t *directory="")
change directory
Definition: SRB.cpp:74
virtual Int_t put(const Char_t *source, const Char_t *target=".")
Definition: SRB.cpp:101
virtual TString list(const Char_t *directory="")
Definition: SRB.cpp:45
virtual Int_t forcedelete(const Char_t *path)
Definition: SRB.cpp:136
virtual void ExtractFileInfos(TString &, DMSFile_t *) const
Definition: SRB.cpp:178
virtual Int_t mkdir(const Char_t *path, Option_t *opt="")
Create new directory in SRB space.
Definition: SRB.cpp:151