00001 #ifndef FWCore_Services_SiteLocalConfigService_H 00002 #define FWCore_Services_SiteLocalConfigService_H 00003 00004 //<<<<<< INCLUDES >>>>>> 00005 #include <string> 00006 #include <list> 00007 #include "FWCore/Catalog/interface/SiteLocalConfig.h" 00008 //<<<<<< PUBLIC DEFINES >>>>>> 00009 //<<<<<< PUBLIC CONSTANTS >>>>>> 00010 //<<<<<< PUBLIC TYPES >>>>>> 00011 namespace edm 00012 { 00013 class ParameterSet; 00014 class ActivityRegistry; 00015 } 00016 00017 //<<<<<< PUBLIC VARIABLES >>>>>> 00018 //<<<<<< PUBLIC FUNCTIONS >>>>>> 00019 //<<<<<< CLASS DECLARATIONS >>>>>> 00020 00021 namespace edm 00022 { 00023 namespace service 00024 { 00025 class SiteLocalConfigService : public SiteLocalConfig 00026 { 00027 public: 00028 SiteLocalConfigService (const ParameterSet & pset, 00029 const ActivityRegistry &activityRegistry); 00030 00031 const std::string dataCatalog (void) const; 00032 const std::string lookupCalibConnect (const std::string& input) const; 00033 const std::string rfioType (void) const; 00034 00035 // implicit copy constructor 00036 // implicit assignment operator 00037 // implicit destructor 00038 private: 00039 void parse (const std::string &url); 00040 const std::string frontierConnect (const std::string &servlet) const; 00041 std::string m_url; 00042 std::string m_dataCatalog; 00043 std::string m_frontierConnect; 00044 std::string m_rfioType; 00045 bool m_connected; 00046 }; 00047 } 00048 } 00049 00050 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00051 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00052 00053 #endif // FRAMEWORK_SITE_LOCAL_CONFIG_H