/* QtDcm is a C++ Qt based library for communication and conversion of Dicom images. Copyright (C) 2011 Alexandre Abadie This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef QTDCMSERVERS_H_ #define QTDCMSERVERS_H_ #include /** * This class is a representation of a Dicom PACS server */ class QtDcmServer { public: /** * Default constructor */ QtDcmServer() {} /** * Default destructor */ virtual ~QtDcmServer() {} /** * PACS AETitle getter * * @return _aetitle a QString */ inline QString aetitle() const { return _aetitle; } /** * Description name getter * * @return _name a QString */ inline QString name() const { return _name; } /** * PACS server port getter (QtDcm only ports between 1000 and 100000) * * @return _port as a QString */ inline QString port() const { return _port; } /** * PACS server hostname getter * * @return _server as a QString */ inline QString address() const { return _hostname; } /** * PACS AETitle setter * * @param _aetitle as a QString */ inline void setAetitle ( QString _aetitle ) { this->_aetitle = _aetitle; } /** * PACS Name setter * * @param _name as a QString */ inline void setName ( QString _name ) { this->_name = _name; } /** * PACS server port setter (QtDcm only ports between 1000 and 100000) * * @param port as a QString */ inline void setPort ( QString port ) { this->_port = port; } /** * PACS server hostname setter * * @param _server as a QString */ inline void setAddress ( QString _server ) { this->_hostname = _server; } private: QString _aetitle; /** Application entity title (AETitle) of the PACS server */ QString _hostname; /** The hostname of the server */ QString _port; /** TCP port the application is listening on */ QString _name; /** Description name of the PACS */ }; #endif /* QTDCMSERVERS_H_ */