Odil
A C++11 library for the DICOM standard
|
Base class for all DIMSE messages. More...
#include <Message.h>
Classes | |
struct | Command |
struct | DataSetType |
struct | Priority |
Public Member Functions | |
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... | |
DataSet & | get_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... | |
Protected Attributes | |
DataSet | _command_set |
Command set of the message. More... | |
DataSet | _data_set |
Data set of the message. More... | |
Base class for all DIMSE messages.
odil::message::Message::Message | ( | ) |
Create a message with an empty command set and an empty data set.
odil::message::Message::Message | ( | DataSet const & | command_set | ) |
Create a message from existing data.
odil::message::Message::Message | ( | DataSet && | command_set | ) |
Create a message from existing data.
Create a message from existing data.
Create a message from existing data.
|
virtual |
Destructor;.
void odil::message::Message::delete_data_set | ( | ) |
Delete the data set in this message.
|
inline |
Return the registry::CommandField element of the command set.
DataSet const& odil::message::Message::get_command_set | ( | ) | const |
Return the command set of the message.
DataSet const& odil::message::Message::get_data_set | ( | ) | const |
Return the data set of the message, raise an exception if no data set is present.
DataSet& odil::message::Message::get_data_set | ( | ) |
Return the data set of the message, raise an exception if no data set is present.
bool odil::message::Message::has_data_set | ( | ) | const |
Test whether as data set is present in the message.
|
inline |
Set the registry::CommandField element of the command set.
void odil::message::Message::set_data_set | ( | DataSet const & | data_set | ) |
Set the data set of the message.
void odil::message::Message::set_data_set | ( | DataSet && | data_set | ) |
Set the data set of the message.
|
protected |
Data set of the message.