00001 #include "IOName.h" 00002 00003 namespace Sct { 00004 00005 IOName::IOName(const string& nameIO) throw(InvalidArgument) : nameIO(nameIO) , m_wildcardsExpanded(false){ 00006 } 00007 00008 IOName::IOName(const UniqueID& uniqueID, const string& className) throw(InvalidArgumentError) : uniqueID(uniqueID), className(className), m_wildcardsExpanded(false){ 00009 } 00010 00011 IOName::~IOName() throw() { 00012 } 00013 00014 string IOName::getIOName() const throw() { 00015 return nameIO; 00016 } 00017 00018 UniqueID IOName::getUniqueID() const throw() { 00019 return uniqueID; 00020 } 00021 00022 string IOName::getClassName() const throw() { 00023 return className; 00024 } 00025 00026 IOName::iterator IOName::begin(){ 00027 expandWildcards(); 00028 return m_list.begin(); 00029 } 00030 00031 IOName::iterator IOName::end(){ 00032 expandWildcards(); 00033 return m_list.end(); 00034 } 00035 00036 IOName::const_iterator IOName::begin() const { 00037 const_cast<IOName*> (this) -> expandWildcards(); 00038 return m_list.begin(); 00039 } 00040 00041 IOName::const_iterator IOName::end() const { 00042 const_cast<IOName*> (this) -> expandWildcards(); 00043 return m_list.end(); 00044 } 00045 00046 bool IOName::wildcard()const{ 00047 return false; 00048 } 00049 00050 void IOName::expandWildcards() { 00051 } 00052 00053 }