00001 #ifndef SCT_IS_IONAMEIS_H 00002 #define SCT_IS_IONAMEIS_H 00003 00004 #include "../IOName.h" 00005 #include <string> 00006 00007 using std::string; 00008 00009 namespace Sct { 00010 namespace IS { 00011 00012 class IONameIS : public IOName { 00013 public: 00014 IONameIS(const string& nameIO) throw(InvalidArgument); 00015 IONameIS(const UniqueID& uniqueID, const string& className) throw(); 00016 IONameIS(const UniqueID& uniqueID, const string& className, const string& server) throw(); 00017 virtual ~IONameIS() throw(); 00018 00019 //static string getRegExp(const string& className) throw(); 00020 void setServer(const string& server) throw(); 00021 string getServer() const throw(); 00022 static string getDefaultServer() throw(); 00023 static void setDefaultServer(const string& server) throw(); 00024 protected: 00025 virtual void parse() throw(InvalidArgument); 00026 virtual void construct() throw(); 00027 00028 private: 00029 IONameIS(); 00030 static string defaultServer; 00031 string server; 00032 }; 00033 } 00034 } 00035 00036 #endif //SCT_IS_IONAMEIS_H