PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
command_field.h File Reference

DIMSE command field enumeration. More...

#include <cstdint>
#include <string_view>
Include dependency graph for command_field.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  kcenon
 
namespace  kcenon::pacs
 
namespace  kcenon::pacs::network
 
namespace  kcenon::pacs::network::dimse
 

Enumerations

enum class  kcenon::pacs::network::dimse::command_field : uint16_t {
  kcenon::pacs::network::dimse::c_store_rq = 0x0001 , kcenon::pacs::network::dimse::c_store_rsp = 0x8001 , kcenon::pacs::network::dimse::c_get_rq = 0x0010 , kcenon::pacs::network::dimse::c_get_rsp = 0x8010 ,
  kcenon::pacs::network::dimse::c_find_rq = 0x0020 , kcenon::pacs::network::dimse::c_find_rsp = 0x8020 , kcenon::pacs::network::dimse::c_move_rq = 0x0021 , kcenon::pacs::network::dimse::c_move_rsp = 0x8021 ,
  kcenon::pacs::network::dimse::c_echo_rq = 0x0030 , kcenon::pacs::network::dimse::c_echo_rsp = 0x8030 , kcenon::pacs::network::dimse::c_cancel_rq = 0x0FFF , kcenon::pacs::network::dimse::n_event_report_rq = 0x0100 ,
  kcenon::pacs::network::dimse::n_event_report_rsp = 0x8100 , kcenon::pacs::network::dimse::n_get_rq = 0x0110 , kcenon::pacs::network::dimse::n_get_rsp = 0x8110 , kcenon::pacs::network::dimse::n_set_rq = 0x0120 ,
  kcenon::pacs::network::dimse::n_set_rsp = 0x8120 , kcenon::pacs::network::dimse::n_action_rq = 0x0130 , kcenon::pacs::network::dimse::n_action_rsp = 0x8130 , kcenon::pacs::network::dimse::n_create_rq = 0x0140 ,
  kcenon::pacs::network::dimse::n_create_rsp = 0x8140 , kcenon::pacs::network::dimse::n_delete_rq = 0x0150 , kcenon::pacs::network::dimse::n_delete_rsp = 0x8150
}
 DIMSE command field values. More...
 

Functions

Command Field Utilities
constexpr bool kcenon::pacs::network::dimse::is_request (command_field cmd) noexcept
 Check if a command field represents a request.
 
constexpr bool kcenon::pacs::network::dimse::is_response (command_field cmd) noexcept
 Check if a command field represents a response.
 
constexpr bool kcenon::pacs::network::dimse::is_dimse_c (command_field cmd) noexcept
 Check if a command is a DIMSE-C command.
 
constexpr bool kcenon::pacs::network::dimse::is_dimse_n (command_field cmd) noexcept
 Check if a command is a DIMSE-N command.
 
constexpr command_field kcenon::pacs::network::dimse::get_response_command (command_field request) noexcept
 Get the corresponding response command for a request.
 
constexpr command_field kcenon::pacs::network::dimse::get_request_command (command_field response) noexcept
 Get the corresponding request command for a response.
 
constexpr std::string_view kcenon::pacs::network::dimse::to_string (command_field cmd) noexcept
 Convert command field to string representation.
 

Detailed Description

DIMSE command field enumeration.

This file defines the DIMSE command field values as specified in DICOM PS3.7. Command fields identify the type of DIMSE operation being performed.

See also
DICOM PS3.7 Section 9.3 - DIMSE-C Service and Protocol
DICOM PS3.7 Section 10.3 - DIMSE-N Service and Protocol
Author
kcenon
Since
1.0.0

Definition in file command_field.h.