Odil
A C++11 library for the DICOM standard
|
SOP Class Common Extended Negotiation sub-item (PS 3.7, D.3.3.6). More...
#include <SOPClassCommonExtendedNegotiation.h>
Public Member Functions | |
SOPClassCommonExtendedNegotiation (std::string const &sop_class_uid, std::string const &service_class_uid="", std::vector< std::string > const &related_general_sop_class_uids=std::vector< std::string >()) | |
Constructor. More... | |
SOPClassCommonExtendedNegotiation (std::istream &stream) | |
Read a SOP Class Common Extended Negotiation from a stream. More... | |
bool | operator== (SOPClassCommonExtendedNegotiation const &other) const |
Comparison. More... | |
std::string const & | get_sop_class_uid () const |
Return the SOP Class UID. More... | |
void | set_sop_class_uid (std::string const &value) |
Set the SOP Class UID. More... | |
std::string const & | get_service_class_uid () const |
Return the Service Class UID. More... | |
void | set_service_class_uid (std::string const &value) |
Set the Service Class UID (default to ""). More... | |
std::vector< std::string > | get_related_general_sop_class_uids () const |
Return the Related General SOP Class UIDs. More... | |
void | set_related_general_sop_class_uids (std::vector< std::string > const &value) |
Set the Related General SOP Class UIDs (default to empty). More... | |
![]() | |
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 =0x57 |
Item type. More... | |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
Item | _item |
SOP Class Common Extended Negotiation sub-item (PS 3.7, D.3.3.6).
odil::pdu::SOPClassCommonExtendedNegotiation::SOPClassCommonExtendedNegotiation | ( | std::string const & | sop_class_uid, |
std::string const & | service_class_uid = "" , |
||
std::vector< std::string > const & | related_general_sop_class_uids = std::vector< std::string >() |
||
) |
Constructor.
odil::pdu::SOPClassCommonExtendedNegotiation::SOPClassCommonExtendedNegotiation | ( | std::istream & | stream | ) |
Read a SOP Class Common Extended Negotiation from a stream.
std::vector< std::string > odil::pdu::SOPClassCommonExtendedNegotiation::get_related_general_sop_class_uids | ( | ) | const |
Return the Related General SOP Class UIDs.
std::string const & odil::pdu::SOPClassCommonExtendedNegotiation::get_service_class_uid | ( | ) | const |
Return the Service Class UID.
std::string const & odil::pdu::SOPClassCommonExtendedNegotiation::get_sop_class_uid | ( | ) | const |
Return the SOP Class UID.
bool odil::pdu::SOPClassCommonExtendedNegotiation::operator== | ( | SOPClassCommonExtendedNegotiation const & | other | ) | const |
Comparison.
void odil::pdu::SOPClassCommonExtendedNegotiation::set_related_general_sop_class_uids | ( | std::vector< std::string > const & | value | ) |
Set the Related General SOP Class UIDs (default to empty).
void odil::pdu::SOPClassCommonExtendedNegotiation::set_service_class_uid | ( | std::string const & | value | ) |
Set the Service Class UID (default to "").
void odil::pdu::SOPClassCommonExtendedNegotiation::set_sop_class_uid | ( | std::string const & | value | ) |
Set the SOP Class UID.
|
static |
Item type.