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");
156 const char* msd =
GetKey(i,
"msd");
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;
virtual const char * GetFileName(UInt_t i) const
return a file name
virtual void Info(const char *method, const char *msgfmt,...) const
Issue info message.
void Print(Option_t *option="") const
print the GLiteResult info
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 const char * GetPath(UInt_t i) const
return path
const char * GetOptions() const
const char * GetUrl(Bool_t withDeflt=kFALSE) const
Return full URL.
virtual TObject * FindObject(const char *name) const
Delete a TObjLink object.
virtual const char * GetFileNamePath(UInt_t i) const
return file name path
const THashTable * GetTable() const
virtual void DumpResult()
Dump result set.
const char * GetName() const
Returns name of object.
virtual const char * GetKey(UInt_t i, const char *key) const
return the key
virtual TObject * Remove(TObject *obj)
Remove object from the list.
virtual TObject * At(Int_t idx) const
Returns the object at position idx. Returns 0 if idx is out of range.
Class used by TMap to store (key,value) pairs.
TMap implements an associative array of (key,value) pairs using a THashTable for efficient retrieval ...
Mother of all ROOT objects.
virtual void Add(TObject *obj)
void SetOptions(const char *opt)
Class describing a generic file including meta information.
virtual Int_t GetSize() const
virtual TList * GetFileInfoList() const
return a file info list
virtual Bool_t SetKey(UInt_t i, const char *key, const char *value)
set the key
const char * Data() const