9#ifndef _8a990556_f9c3_49f3_bb84_6e604ec9b8f4
10#define _8a990556_f9c3_49f3_bb84_6e604ec9b8f4
30 static uint8_t
const type=0x54;
34 std::string
const & sop_class_uid=
"",
35 bool scu_role_support=
false,
bool scp_role_support=
false);
Base class for all PDU-related high-level objects (PDU, items and sub-items).
Definition: Object.h:28
SCU/SCP Role Selection Sub-Item (PS 3.7, D.3.3.4.1 and D.3.3.4.2).
Definition: RoleSelection.h:27
RoleSelection(std::string const &sop_class_uid="", bool scu_role_support=false, bool scp_role_support=false)
Create a Role Selection Sub-Item.
void set_scp_role_support(bool value)
Set whether the SCP role is supported.
bool get_scu_role_support() const
Return whether the SCU role is supported, defaults to false.
void set_sop_class_uid(std::string const &value)
Set the SOP class uid identifying the abstract syntax.
bool get_scp_role_support() const
Return whether the SCP role is supported, defaults to false.
RoleSelection(std::istream &stream)
Read a Role Selection Sub-Item from a stream.
std::string const & get_sop_class_uid() const
Return the SOP class uid identifying the abstract syntax, defaults to "".
void set_scu_role_support(bool value)
Set whether the SCP role is supported.
Definition: Association.h:25
#define ODIL_API
Definition: odil.h:28