dcmtkpp
Classes | Public Member Functions | Protected Attributes | List of all members
dcmtkpp::Message Class Reference

Base class for all DIMSE messages. More...

#include <Message.h>

Inheritance diagram for dcmtkpp::Message:
dcmtkpp::Cancellation dcmtkpp::Request dcmtkpp::Response dcmtkpp::CEchoRequest dcmtkpp::CFindRequest dcmtkpp::CGetRequest dcmtkpp::CMoveRequest dcmtkpp::CStoreRequest dcmtkpp::CEchoResponse dcmtkpp::CFindResponse dcmtkpp::CGetResponse dcmtkpp::CMoveResponse dcmtkpp::CStoreResponse

Classes

struct  Command
 
struct  DataSetType
 
struct  Priority
 

Public Member Functions

 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.
 

Protected Attributes

DataSet _command_set
 Command set of the message.
 
DataSet _data_set
 Data set of the message.
 

Detailed Description

Base class for all DIMSE messages.


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