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 const &)=default |
QIDORSResponse & | operator= (QIDORSResponse &&)=default |
~QIDORSResponse ()=default | |
bool | operator== (QIDORSResponse const &other) const |
Equality operator. More... | |
bool | operator!= (QIDORSResponse const &other) const |
Difference operator. More... | |
Value::DataSets const & | get_data_sets () const |
Get the response items. More... | |
Value::DataSets & | get_data_sets () |
Modify the response items. More... | |
void | set_data_sets (Value::DataSets const &data_sets) |
Set the response items. More... | |
Representation const & | get_representation () const |
Return the representation. More... | |
void | set_representation (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 |
Value::DataSets & odil::webservices::QIDORSResponse::get_data_sets | ( | ) |
Modify the response items.
Value::DataSets const & odil::webservices::QIDORSResponse::get_data_sets | ( | ) | const |
Get 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.
Representation const & odil::webservices::QIDORSResponse::get_representation | ( | ) | const |
Return the representation.
bool odil::webservices::QIDORSResponse::operator!= | ( | QIDORSResponse const & | other | ) | const |
Difference operator.
|
default |
|
default |
bool odil::webservices::QIDORSResponse::operator== | ( | QIDORSResponse const & | other | ) | const |
Equality operator.
void odil::webservices::QIDORSResponse::set_data_sets | ( | Value::DataSets const & | data_sets | ) |
Set the response items.
void odil::webservices::QIDORSResponse::set_representation | ( | Representation const & | representation | ) |
Set the representation.