52 std::cout <<
"BEGIN DUMP" << std::endl;
53 std::cout <<
"END DUMP" << std::endl;
152 size = atol(
GetKey(i,
"size"));
154 const char* md5 =
GetKey(i,
"md5");
155 const char* uuid =
GetKey(i,
"guid");
160 if (uuid && !uuid[0])
175 Info(
"GetFileInfoList",
"Adding Url %s with Msd %s\n", turl.
Data(),
msd);
176 newfileinfolist->
Add(
new TFileInfo(turl, size, uuid, md5));
178 return newfileinfolist;
207 for (
Int_t count = 0; (map =
dynamic_cast<TMap*
>(
next())); ++count) {
210 std::cout <<
"# " << setiosflags(std::ios::left) << std::setw(6) << count <<
" ------------------------------------------------------------" << std::endl;
211 while ((pair = dynamic_cast< TPair*>(next2()))) {
214 if (keyStr && valueStr) {
216 << std::setw(16) << keyStr->
GetName()
221 std::cout << std::endl;
const char * GetName() const
Returns name of object.
ClassImp(TSeqCollection) Int_t TSeqCollection TIter next(this)
Return index of object in collection.
const char Int_t const char TProof Int_t const char const char * msd
Collectable string class.
This class represents a WWW compatible URL.
virtual void SetOwner(Bool_t enable=kTRUE)
Set whether this collection is the owner (enable==true) of its content.
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
const THashTable * GetTable() const
virtual TObject * FindObject(const char *name) const
Find an object in this list using its name.
const char * GetOptions() const
virtual const char * GetFileNamePath(UInt_t i) const
return file name path
virtual TObject * At(Int_t idx) const
Returns the object at position idx. Returns 0 if idx is out of range.
const char * Data() const
virtual const char * GetPath(UInt_t i) const
return path
virtual TList * GetFileInfoList() const
return a file info list
void Print(Option_t *option="") const
print the GLiteResult info
virtual TObject * Remove(TObject *obj)
Remove object from the list.
ClassImp(TGLiteResult) void TGLiteResult
Dump result set.
const char * GetUrl(Bool_t withDeflt=kFALSE) const
Return full URL.
Class used by TMap to store (key,value) pairs.
virtual Int_t GetSize() const
virtual const char * GetKey(UInt_t i, const char *key) const
return the key
TMap implements an associative array of (key,value) pairs using a THashTable for efficient retrieval ...
Mother of all ROOT objects.
typedef void((*Func_t)())
virtual void Add(TObject *obj)
void SetOptions(const char *opt)
Class describing a generic file including meta information.
virtual Bool_t SetKey(UInt_t i, const char *key, const char *value)
set the key
virtual const char * GetFileName(UInt_t i) const
return a file name