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

C-STORE-RSP message. More...

#include <CStoreResponse.h>

Inheritance diagram for dcmtkpp::CStoreResponse:
dcmtkpp::Response dcmtkpp::Message

Public Member Functions

 CStoreResponse (Value::Integer message_id_being_responded_to, Value::Integer status)
 Create an store response with given Message ID, and status.
 
 CStoreResponse (Message const &message)
 Create a C-STORE-RSP from a generic Message. More...
 
virtual ~CStoreResponse ()
 Destructor.
 
 DCMTKPP_MESSAGE_OPTIONAL_FIELD_STRING_MACRO (affected_sop_class_uid, registry::AffectedSOPClassUID) DCMTKPP_MESSAGE_OPTIONAL_FIELD_STRING_MACRO(affected_sop_instance_uid
 
- Public Member Functions inherited from dcmtkpp::Response
 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

C-STORE-RSP message.

Constructor & Destructor Documentation

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

Create a C-STORE-RSP from a generic Message.

Raise an exception if the Message does not contain a C-STORE-RSP.


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