00001 #include "ISProxy.h" 00002 #include "../File/IONameFile.h" 00003 00004 using namespace Sct::File; 00005 00006 namespace Sct { 00007 namespace ISProxy { 00008 00009 ISProxy::ISProxy(const string& uniqueID, const string& className) throw() : uniqueID(uniqueID), className(className) { 00010 IONameFile name(uniqueID, className); 00011 fileName = name.getIOName(); 00012 } 00013 00014 ISProxy::ISProxy() throw() { 00015 } 00016 00017 string ISProxy::getUniqueID() const throw(LogicError) { 00018 return uniqueID; 00019 } 00020 00021 string ISProxy::getClassName() const throw() { 00022 return className; 00023 } 00024 00025 string ISProxy::getFileName() const throw() { 00026 return fileName; 00027 } 00028 00029 void ISProxy::setFileName(const string& fileName) throw() { 00030 this->fileName = fileName; 00031 } 00032 00033 } 00034 }