00001 // @(#)root/clarens:$Id: TSAM.h 20882 2007-11-19 11:31:26Z rdm $ 00002 // Author: Maarten Ballintijn 07/11/2004 00003 00004 /************************************************************************* 00005 * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. * 00006 * All rights reserved. * 00007 * * 00008 * For the licensing terms see $ROOTSYS/LICENSE. * 00009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 00010 *************************************************************************/ 00011 00012 #ifndef ROOT_TSAM 00013 #define ROOT_TSAM 00014 00015 ////////////////////////////////////////////////////////////////////////// 00016 // // 00017 // TSAM // 00018 // // 00019 // // 00020 ////////////////////////////////////////////////////////////////////////// 00021 00022 #ifndef ROOT_TObject 00023 #include "TObject.h" 00024 #endif 00025 00026 #ifndef ROOT_TClProxy 00027 #include "TClProxy.h" 00028 #endif 00029 00030 00031 class TList; 00032 class TString; 00033 class TXmlRpc; 00034 00035 00036 class TSAM : public TClProxy { 00037 public: 00038 TSAM(TXmlRpc *rpc); 00039 virtual ~TSAM() { } 00040 00041 Bool_t GetVersion(TString &version); 00042 00043 Bool_t GetDatasets(TList *&datasets); 00044 Bool_t GetDSetLocations(const Char_t *dataset, TList *&lmUrls); 00045 Bool_t GetDSetFiles(const Char_t *dataset, const Char_t *lmUrl, TList *&files); 00046 Bool_t GetDSetSize(const Char_t *dataset, Long64_t &size); 00047 00048 ClassDef(TSAM,0); // PEAC SAM proxy 00049 }; 00050 00051 #endif