|
Odil
A C++11 library for the DICOM standard
|
STOW-RS request generator and parser. More...
#include <STOWRSResponse.h>
Public Member Functions | |
| STOWRSResponse () | |
| Constructor. More... | |
| STOWRSResponse (HTTPResponse const &response) | |
| Parse an HTTPResponse as a STOWRSResponse. More... | |
| ~STOWRSResponse ()=default | |
| Destructor, does nothing. More... | |
| bool | operator== (STOWRSResponse const &other) const |
| Equality operator. More... | |
| bool | operator!= (STOWRSResponse const &other) const |
| Difference operator. More... | |
| void | set_store_instance_responses (DataSet const &responses) |
| Set store instance responses. More... | |
| DataSet const & | get_store_instance_responses () const |
| Get store instance responses. More... | |
| std::string const & | get_media_type () const |
| Get the media type. More... | |
| void | set_representation (odil::webservices::Representation const &representation) |
| Set the representation. More... | |
| odil::webservices::Representation const & | get_representation () const |
| Get the representation. More... | |
| void | set_warning (bool warn) |
| Set whether there is a warning in the response or not. More... | |
| bool | is_status_warning () const |
| Return whether there is a warning in the response or not. More... | |
| void | set_failure_code (unsigned int failure_code) |
| Set the failure code. More... | |
| unsigned int | get_failure_code () const |
| Return the failure code. More... | |
| void | set_reason (std::string reason) |
| Set the reason. More... | |
| std::string const & | get_reason () const |
| Get the reason. More... | |
| HTTPResponse | get_http_response () const |
| Generate the associated HTTP Response. More... | |
STOW-RS request generator and parser.
| odil::webservices::STOWRSResponse::STOWRSResponse | ( | ) |
Constructor.
| odil::webservices::STOWRSResponse::STOWRSResponse | ( | HTTPResponse const & | response | ) |
Parse an HTTPResponse as a STOWRSResponse.
|
default |
Destructor, does nothing.
| unsigned int odil::webservices::STOWRSResponse::get_failure_code | ( | ) | const |
Return the failure code.
| HTTPResponse odil::webservices::STOWRSResponse::get_http_response | ( | ) | const |
Generate the associated HTTP Response.
| std::string const& odil::webservices::STOWRSResponse::get_media_type | ( | ) | const |
Get the media type.
| std::string const& odil::webservices::STOWRSResponse::get_reason | ( | ) | const |
Get the reason.
| odil::webservices::Representation const& odil::webservices::STOWRSResponse::get_representation | ( | ) | const |
Get the representation.
| DataSet const& odil::webservices::STOWRSResponse::get_store_instance_responses | ( | ) | const |
Get store instance responses.
| bool odil::webservices::STOWRSResponse::is_status_warning | ( | ) | const |
Return whether there is a warning in the response or not.
| bool odil::webservices::STOWRSResponse::operator!= | ( | STOWRSResponse const & | other | ) | const |
Difference operator.
| bool odil::webservices::STOWRSResponse::operator== | ( | STOWRSResponse const & | other | ) | const |
Equality operator.
| void odil::webservices::STOWRSResponse::set_failure_code | ( | unsigned int | failure_code | ) |
Set the failure code.
| void odil::webservices::STOWRSResponse::set_reason | ( | std::string | reason | ) |
Set the reason.
| void odil::webservices::STOWRSResponse::set_representation | ( | odil::webservices::Representation const & | representation | ) |
Set the representation.
| void odil::webservices::STOWRSResponse::set_store_instance_responses | ( | DataSet const & | responses | ) |
Set store instance responses.
| void odil::webservices::STOWRSResponse::set_warning | ( | bool | warn | ) |
Set whether there is a warning in the response or not.
1.8.13