Odil
A C++11 library for the DICOM standard
|
A-ABORT PDU, cf. PS 3.8, 9.3.8. More...
#include <AAbort.h>
Public Member Functions | |
AAbort (unsigned char source, unsigned char reason) | |
Constructor. | |
AAbort (std::istream &stream) | |
Constructor for binary data. | |
unsigned char | get_source () const |
Return the source. | |
void | set_source (unsigned char source) |
Set the source, must be 0, 1 or 2. | |
unsigned char | get_reason () const |
Return the reason. | |
void | set_reason (unsigned char reason) |
Set the reason, must be between 0 and 6. | |
![]() | |
virtual | ~Object () |
Destructor, makes the type polymorphic. | |
Item const & | get_item () const |
Get the underlying item. | |
Additional Inherited Members | |
![]() | |
uint32_t | _compute_length () const |
Compute the value of the length field of the object. | |
uint32_t | _compute_length (Item const &item) const |
Compute the full size of an item. | |
uint32_t | _compute_length (Item::Field const &field) const |
Compute the full size of a field. | |
![]() | |
Item | _item |
A-ABORT PDU, cf. PS 3.8, 9.3.8.
odil::pdu::AAbort::AAbort | ( | unsigned char | source, |
unsigned char | reason | ||
) |
Constructor.
odil::pdu::AAbort::AAbort | ( | std::istream & | stream | ) |
Constructor for binary data.
unsigned char odil::pdu::AAbort::get_reason | ( | ) | const |
Return the reason.
unsigned char odil::pdu::AAbort::get_source | ( | ) | const |
Return the source.
void odil::pdu::AAbort::set_reason | ( | unsigned char | reason | ) |
Set the reason, must be between 0 and 6.
void odil::pdu::AAbort::set_source | ( | unsigned char | source | ) |
Set the source, must be 0, 1 or 2.