|
Odil
A C++11 library for the DICOM standard
|
SCU/SCP Role Selection Sub-Item (PS 3.7, D.3.3.4.1 and D.3.3.4.2). More...
#include <RoleSelection.h>


Public Member Functions | |
| RoleSelection (std::string const &sop_class_uid="", bool scu_role_support=false, bool scp_role_support=false) | |
| Create a Role Selection Sub-Item. More... | |
| RoleSelection (std::istream &stream) | |
| Read a Role Selection Sub-Item from a stream. More... | |
| std::string const & | get_sop_class_uid () const |
| Return the SOP class uid identifying the abstract syntax, defaults to "". More... | |
| void | set_sop_class_uid (std::string const &value) |
| Set the SOP class uid identifying the abstract syntax. More... | |
| bool | get_scu_role_support () const |
| Return whether the SCU role is supported, defaults to false. More... | |
| void | set_scu_role_support (bool value) |
| Set whether the SCP role is supported. More... | |
| bool | get_scp_role_support () const |
| Return whether the SCP role is supported, defaults to false. More... | |
| void | set_scp_role_support (bool value) |
| Set whether the SCP role is supported. More... | |
Public Member Functions inherited from odil::pdu::Object | |
| virtual | ~Object () |
| Destructor, makes the type polymorphic. More... | |
| Item const & | get_item () const |
| Get the underlying item. More... | |
Static Public Attributes | |
| static uint8_t const | type =0x54 |
| Item type. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from odil::pdu::Object | |
| uint32_t | _compute_length () const |
| Compute the value of the length field of the object. More... | |
| uint32_t | _compute_length (Item const &item) const |
| Compute the full size of an item. More... | |
| uint32_t | _compute_length (Item::Field const &field) const |
| Compute the full size of a field. More... | |
Protected Attributes inherited from odil::pdu::Object | |
| Item | _item |
SCU/SCP Role Selection Sub-Item (PS 3.7, D.3.3.4.1 and D.3.3.4.2).
| odil::pdu::RoleSelection::RoleSelection | ( | std::string const & | sop_class_uid = "", |
| bool | scu_role_support = false, |
||
| bool | scp_role_support = false |
||
| ) |
Create a Role Selection Sub-Item.
| odil::pdu::RoleSelection::RoleSelection | ( | std::istream & | stream | ) |
Read a Role Selection Sub-Item from a stream.
| bool odil::pdu::RoleSelection::get_scp_role_support | ( | ) | const |
Return whether the SCP role is supported, defaults to false.
| bool odil::pdu::RoleSelection::get_scu_role_support | ( | ) | const |
Return whether the SCU role is supported, defaults to false.
| std::string const& odil::pdu::RoleSelection::get_sop_class_uid | ( | ) | const |
Return the SOP class uid identifying the abstract syntax, defaults to "".
| void odil::pdu::RoleSelection::set_scp_role_support | ( | bool | value | ) |
Set whether the SCP role is supported.
| void odil::pdu::RoleSelection::set_scu_role_support | ( | bool | value | ) |
Set whether the SCP role is supported.
| void odil::pdu::RoleSelection::set_sop_class_uid | ( | std::string const & | value | ) |
Set the SOP class uid identifying the abstract syntax.
|
static |
Item type.
1.8.13