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

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

#include <Request.h>

Inheritance diagram for dcmtkpp::Request:
dcmtkpp::Message dcmtkpp::CEchoRequest dcmtkpp::CFindRequest dcmtkpp::CGetRequest dcmtkpp::CMoveRequest dcmtkpp::CStoreRequest

Public Member Functions

 Request (Value::Integer message_id)
 Create a request with given Message ID.
 
 Request (Message const &message)
 Create a request from the Message ID stored in the message command set. More...
 
virtual ~Request ()
 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 request messages.

Constructor & Destructor Documentation

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

Create a request from the Message ID stored in the message command set.

Raise an exception is either of this element is missing.


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