12 #include "KVUniqueNameList.h"
60 if (!FindExecutable(fexec)) {
85 if (fcmd ==
"")
return -1;
100 if (fcmd ==
"")
return TString(
"");
116 return (
line.BeginsWith(
"C-"));
136 Error(
"GetListing",
"Unknown directory %s", directory);
144 for (
int i = 1; i < toks->
GetEntries(); i++) {
147 if (IsContainer(tmp)) {
152 ExtractFileInfos(tmp,
f);
173 if (DirectoryContains(
filename.Data(), dirname.
Data())) {
177 if (IsContainer(fout)) {
181 ExtractFileInfos(fout, &
fs);
203 Error(
"GetListing",
"Unknown directory %s", directory);
211 for (
int i = 1; i < toks->
GetEntries(); i++) {
214 if (IsContainer(tmp)) {
219 f->SetName(tmp.
Data());
238 TList* list = GetListing(directory);
265 cout << GetName() <<
"/" << endl;
267 cout << GetName() <<
"\t" << GetSize() <<
"\t" << GetModTime().AsString() << endl;
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 filename
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize fs
R__EXTERN TSystem * gSystem
Base class for KaliVeda framework.
Abstract base class for interfaces to Data Management Systems (SRB, IRODS, etc.)
virtual Bool_t GetPathInfo(const Char_t *path, DMSFile_t &fs)
virtual Bool_t DirectoryContains(const Char_t *name, const Char_t *directory="")
virtual TList * GetListing(const Char_t *directory="")
Bool_t buildCommand(const Char_t *scmd, const Char_t *args="", Option_t *opts="")
virtual Bool_t IsContainer(TString &) const
virtual KVUniqueNameList * GetFullListing(const Char_t *directory="")
virtual void SetOwner(Bool_t enable=kTRUE)
Optimised list in which named objects can only be placed once.
virtual void Add(TObject *obj)
void SetName(const char *name)
virtual void SetOwner(Bool_t enable=kTRUE)
TObject * FindObject(const char *name) const override
void Add(TObject *obj) override
Int_t GetEntries() const override
static void IndentLevel()
const char * Data() const
virtual const char * DirName(const char *pathname)
virtual Int_t Exec(const char *shellcmd)
virtual const char * BaseName(const char *pathname)
virtual TString GetFromPipe(const char *command)