|
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. More... | |
| AAbort (std::istream &stream) | |
| Constructor for binary data. More... | |
| unsigned char | get_source () const |
| Return the source. More... | |
| void | set_source (unsigned char source) |
| Set the source, must be 0, 1 or 2. More... | |
| unsigned char | get_reason () const |
| Return the reason. More... | |
| void | set_reason (unsigned char reason) |
| Set the reason, must be between 0 and 6. 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... | |
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 |
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.
1.8.13