dcmtkpp
Public Member Functions | List of all members
dcmtkpp::Response Class Reference

Base class for all DIMSE response messages. More...

#include <Response.h>

Inheritance diagram for dcmtkpp::Response:
dcmtkpp::Message dcmtkpp::CEchoResponse dcmtkpp::CFindResponse dcmtkpp::CGetResponse dcmtkpp::CMoveResponse dcmtkpp::CStoreResponse

Public Member Functions

 Response (Value::Integer message_id_being_responded_to, Value::Integer status)
 Create a response with given message id and status;.
 
 Response (Message const &message)
 Create a response from the Message ID Being Responded To and the Status stored in the message command set. More...
 
virtual ~Response ()
 Destructor.
 
- Public Member Functions inherited from dcmtkpp::Message
 Message ()
 Create a message with an empty command set and an empty data set.
 
 Message (DataSet const &command_set)
 Create a message from existing data.
 
 Message (DataSet const &command_set, DataSet const &data_set)
 Create a message from existing data.
 
virtual ~Message ()
 Destructor;.
 
DataSet const & get_command_set () const
 Return the command set of the message.
 
bool has_data_set () const
 Test whether as data set is present in the message.
 
DataSet const & get_data_set () const
 Return the data set of the message, raise an exception if no data set is present.
 
void set_data_set (DataSet const &data_set)
 Set the data set of the message.
 
void delete_data_set ()
 Delete the data set in this message.
 
Value::Integer const & get_command_field () const
 Return the registry::CommandField element of the command set.
 
void set_command_field (Value::Integer const &value)
 Set the registry::CommandField element of the command set.
 

Additional Inherited Members

- Protected Attributes inherited from dcmtkpp::Message
DataSet _command_set
 Command set of the message.
 
DataSet _data_set
 Data set of the message.
 

Detailed Description

Base class for all DIMSE response messages.

Constructor & Destructor Documentation

dcmtkpp::Response::Response ( Message const &  message)

Create a response from the Message ID Being Responded To and the Status stored in the message command set.

Raise an exception is either of those elements is missing.


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