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

Base class for cancellation messages. More...

#include <Cancellation.h>

Inheritance diagram for dcmtkpp::Cancellation:
dcmtkpp::Message

Public Member Functions

 Cancellation (Uint16 message_id_being_responded_to)
 Create a response with given message id being responded to.
 
 Cancellation (Message const &message)
 Create a response from the Message ID Being Responded To. More...
 
 ~Cancellation ()
 Destructor.
 
 DCMTKPP_MESSAGE_MANDATORY_FIELD_INTEGER_MACRO (message_id_being_responded_to, registry::MessageIDBeingRespondedTo)
 
- 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 cancellation messages.

Constructor & Destructor Documentation

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

Create a response from the Message ID Being Responded To.

Raise an exception is this element is missing.


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