|
Odil
A C++11 library for the DICOM standard
|
A-ASSOCIATE-RJ PDU, cf. PS 3.8, 9.3.4. More...
#include <AAssociateRJ.h>


Public Member Functions | |
| AAssociateRJ (unsigned char result, unsigned char source, unsigned char reason) | |
| Constructor. More... | |
| AAssociateRJ (std::istream &stream) | |
| Constructor from stream. More... | |
| unsigned char | get_result () const |
| Return the result. More... | |
| void | set_result (unsigned char result) |
| Set the result, must be 1 or 2. More... | |
| unsigned char | get_source () const |
| Return the source. More... | |
| void | set_source (unsigned char source) |
| Set the source, must be 1, 2 or 3. More... | |
| unsigned char | get_reason () const |
| Return the reason. More... | |
| void | set_reason (unsigned char reason) |
| Set the reason. 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-ASSOCIATE-RJ PDU, cf. PS 3.8, 9.3.4.
| odil::pdu::AAssociateRJ::AAssociateRJ | ( | unsigned char | result, |
| unsigned char | source, | ||
| unsigned char | reason | ||
| ) |
Constructor.
| odil::pdu::AAssociateRJ::AAssociateRJ | ( | std::istream & | stream | ) |
Constructor from stream.
| unsigned char odil::pdu::AAssociateRJ::get_reason | ( | ) | const |
Return the reason.
| unsigned char odil::pdu::AAssociateRJ::get_result | ( | ) | const |
Return the result.
| unsigned char odil::pdu::AAssociateRJ::get_source | ( | ) | const |
Return the source.
| void odil::pdu::AAssociateRJ::set_reason | ( | unsigned char | reason | ) |
Set the reason.
| void odil::pdu::AAssociateRJ::set_result | ( | unsigned char | result | ) |
Set the result, must be 1 or 2.
| void odil::pdu::AAssociateRJ::set_source | ( | unsigned char | source | ) |
Set the source, must be 1, 2 or 3.
1.8.13