|
Odil
A C++11 library for the DICOM standard
|
QIDO-RS response generator and parser. More...
#include <QIDORSResponse.h>
Public Member Functions | |
| QIDORSResponse () | |
| Constructor. More... | |
| QIDORSResponse (HTTPResponse const &response) | |
| Parse an HTTPResponse as a WADORSResponse. More... | |
| QIDORSResponse (QIDORSResponse const &)=default | |
| QIDORSResponse (QIDORSResponse &&)=default | |
| QIDORSResponse & | operator= (QIDORSResponse &&)=default |
| ~QIDORSResponse ()=default | |
| Destructor. More... | |
| bool | operator== (QIDORSResponse const &other) const |
| Equality operator. More... | |
| bool | operator!= (QIDORSResponse const &other) const |
| Difference operator. More... | |
| std::vector< DataSet > const & | get_data_sets () const |
| Get the response items. More... | |
| std::vector< DataSet > & | get_data_sets () |
| Modify the response items. More... | |
| void | set_data_sets (std::vector< DataSet > const &data_sets) |
| Set the response items. More... | |
| odil::webservices::Representation const & | get_representation () const |
| Return the representation. More... | |
| void | set_representation (odil::webservices::Representation const &representation) |
| Set the representation. More... | |
| std::string const & | get_media_type () const |
| Return the media type. More... | |
| HTTPResponse | get_http_response () const |
| Generate the associated HTTP response. More... | |
QIDO-RS response generator and parser.
| odil::webservices::QIDORSResponse::QIDORSResponse | ( | ) |
Constructor.
| odil::webservices::QIDORSResponse::QIDORSResponse | ( | HTTPResponse const & | response | ) |
Parse an HTTPResponse as a WADORSResponse.
|
default |
|
default |
|
default |
Destructor.
| std::vector<DataSet> const& odil::webservices::QIDORSResponse::get_data_sets | ( | ) | const |
Get the response items.
| std::vector<DataSet>& odil::webservices::QIDORSResponse::get_data_sets | ( | ) |
Modify the response items.
| HTTPResponse odil::webservices::QIDORSResponse::get_http_response | ( | ) | const |
Generate the associated HTTP response.
| std::string const& odil::webservices::QIDORSResponse::get_media_type | ( | ) | const |
Return the media type.
| odil::webservices::Representation const& odil::webservices::QIDORSResponse::get_representation | ( | ) | const |
Return the representation.
| bool odil::webservices::QIDORSResponse::operator!= | ( | QIDORSResponse const & | other | ) | const |
Difference operator.
|
default |
| bool odil::webservices::QIDORSResponse::operator== | ( | QIDORSResponse const & | other | ) | const |
Equality operator.
| void odil::webservices::QIDORSResponse::set_data_sets | ( | std::vector< DataSet > const & | data_sets | ) |
Set the response items.
| void odil::webservices::QIDORSResponse::set_representation | ( | odil::webservices::Representation const & | representation | ) |
Set the representation.
1.8.13