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

C-MOVE-RQ message. More...

#include <CMoveRequest.h>

Inheritance diagram for odil::message::CMoveRequest:
Inheritance graph
[legend]
Collaboration diagram for odil::message::CMoveRequest:
Collaboration graph
[legend]

Public Member Functions

 CMoveRequest (Value::Integer message_id, Value::String const &affected_sop_class_uid, Value::Integer priority, Value::String const &move_destination, DataSet const &dataset)
 Create an move request with given Message ID, affected SOP class UID, priority, move destination, and data set. More...
 
 CMoveRequest (Value::Integer message_id, Value::String const &affected_sop_class_uid, Value::Integer priority, Value::String const &move_destination, DataSet &&dataset)
 Create an move request with given Message ID, affected SOP class UID, priority, move destination, and data set. More...
 
 CMoveRequest (Message const &message)
 Create a C-MOVE-RQ from a generic Message. More...
 
 CMoveRequest (Message &&message)
 Create a C-MOVE-RQ from a generic Message. More...
 
virtual ~CMoveRequest ()
 Destructor. More...
 
 ODIL_MESSAGE_MANDATORY_FIELD_STRING_MACRO (affected_sop_class_uid, registry::AffectedSOPClassUID) ODIL_MESSAGE_MANDATORY_FIELD_STRING_MACRO(move_destination
 
- Public Member Functions inherited from odil::message::Request
 Request (Value::Integer message_id)
 Create a request with given Message ID. More...
 
 Request (Message const &message)
 Create a request from the Message ID stored in the message command set. More...
 
virtual ~Request ()
 Destructor. More...
 
- Public Member Functions inherited from odil::message::Message
 Message ()
 Create a message with an empty command set and an empty data set. More...
 
 Message (DataSet const &command_set)
 Create a message from existing data. More...
 
 Message (DataSet &&command_set)
 Create a message from existing data. More...
 
 Message (DataSet const &command_set, DataSet const &data_set)
 Create a message from existing data. More...
 
 Message (DataSet &&command_set, DataSet &&data_set)
 Create a message from existing data. More...
 
virtual ~Message ()
 Destructor;. More...
 
DataSet const & get_command_set () const
 Return the command set of the message. More...
 
bool has_data_set () const
 Test whether as data set is present in the message. More...
 
DataSet const & get_data_set () const
 Return the data set of the message, raise an exception if no data set is present. More...
 
DataSetget_data_set ()
 Return the data set of the message, raise an exception if no data set is present. More...
 
void set_data_set (DataSet const &data_set)
 Set the data set of the message. More...
 
void set_data_set (DataSet &&data_set)
 Set the data set of the message. More...
 
void delete_data_set ()
 Delete the data set in this message. More...
 
Value::Integer const & get_command_field () const
 Return the registry::CommandField element of the command set. More...
 
void set_command_field (Value::Integer const &value)
 Set the registry::CommandField element of the command set. More...
 

Additional Inherited Members

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

Detailed Description

C-MOVE-RQ message.

Constructor & Destructor Documentation

◆ CMoveRequest() [1/4]

odil::message::CMoveRequest::CMoveRequest ( Value::Integer  message_id,
Value::String const &  affected_sop_class_uid,
Value::Integer  priority,
Value::String const &  move_destination,
DataSet const &  dataset 
)

Create an move request with given Message ID, affected SOP class UID, priority, move destination, and data set.

◆ CMoveRequest() [2/4]

odil::message::CMoveRequest::CMoveRequest ( Value::Integer  message_id,
Value::String const &  affected_sop_class_uid,
Value::Integer  priority,
Value::String const &  move_destination,
DataSet &&  dataset 
)

Create an move request with given Message ID, affected SOP class UID, priority, move destination, and data set.

◆ CMoveRequest() [3/4]

odil::message::CMoveRequest::CMoveRequest ( Message const &  message)

Create a C-MOVE-RQ from a generic Message.

Raise an exception if the Message does not contain a C-MOVE-RQ.

◆ CMoveRequest() [4/4]

odil::message::CMoveRequest::CMoveRequest ( Message &&  message)

Create a C-MOVE-RQ from a generic Message.

Raise an exception if the Message does not contain a C-MOVE-RQ.

◆ ~CMoveRequest()

virtual odil::message::CMoveRequest::~CMoveRequest ( )
virtual

Destructor.

Member Function Documentation

◆ ODIL_MESSAGE_MANDATORY_FIELD_STRING_MACRO()

odil::message::CMoveRequest::ODIL_MESSAGE_MANDATORY_FIELD_STRING_MACRO ( affected_sop_class_uid  ,
registry::AffectedSOPClassUID   
)

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