Odil
A C++11 library for the DICOM standard
Public Member Functions | List of all members
odil::webservices::QIDORSResponse Class Reference

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
 
QIDORSResponseoperator= (QIDORSResponse const &)=default
 
QIDORSResponseoperator= (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::DataSetsget_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...
 

Detailed Description

QIDO-RS response generator and parser.

Constructor & Destructor Documentation

◆ QIDORSResponse() [1/4]

odil::webservices::QIDORSResponse::QIDORSResponse ( )

Constructor.

◆ QIDORSResponse() [2/4]

odil::webservices::QIDORSResponse::QIDORSResponse ( HTTPResponse const &  response)

Parse an HTTPResponse as a WADORSResponse.

◆ QIDORSResponse() [3/4]

odil::webservices::QIDORSResponse::QIDORSResponse ( QIDORSResponse const &  )
default

◆ QIDORSResponse() [4/4]

odil::webservices::QIDORSResponse::QIDORSResponse ( QIDORSResponse &&  )
default

◆ ~QIDORSResponse()

odil::webservices::QIDORSResponse::~QIDORSResponse ( )
default

Member Function Documentation

◆ get_data_sets() [1/2]

Value::DataSets & odil::webservices::QIDORSResponse::get_data_sets ( )

Modify the response items.

◆ get_data_sets() [2/2]

Value::DataSets const & odil::webservices::QIDORSResponse::get_data_sets ( ) const

Get the response items.

◆ get_http_response()

HTTPResponse odil::webservices::QIDORSResponse::get_http_response ( ) const

Generate the associated HTTP response.

◆ get_media_type()

std::string const & odil::webservices::QIDORSResponse::get_media_type ( ) const

Return the media type.

◆ get_representation()

Representation const & odil::webservices::QIDORSResponse::get_representation ( ) const

Return the representation.

◆ operator!=()

bool odil::webservices::QIDORSResponse::operator!= ( QIDORSResponse const &  other) const

Difference operator.

◆ operator=() [1/2]

QIDORSResponse & odil::webservices::QIDORSResponse::operator= ( QIDORSResponse &&  )
default

◆ operator=() [2/2]

QIDORSResponse & odil::webservices::QIDORSResponse::operator= ( QIDORSResponse const &  )
default

◆ operator==()

bool odil::webservices::QIDORSResponse::operator== ( QIDORSResponse const &  other) const

Equality operator.

◆ set_data_sets()

void odil::webservices::QIDORSResponse::set_data_sets ( Value::DataSets const &  data_sets)

Set the response items.

◆ set_representation()

void odil::webservices::QIDORSResponse::set_representation ( Representation const &  representation)

Set the representation.


The documentation for this class was generated from the following file: