|
Odil
A C++11 library for the DICOM standard
|
Presentation Context item for a A-ASSOCIATE-RQ PDU (PS 3.8, 9.3.2.2). More...
#include <PresentationContextRQ.h>


Public Member Functions | |
| PresentationContextRQ (uint8_t id, std::string const &abstract_syntax, std::vector< std::string > const &transfer_syntaxes) | |
| Constructor. More... | |
| PresentationContextRQ (std::istream &stream) | |
| Read a Presentation Context from a stream. More... | |
| ~PresentationContextRQ () | |
| Destructor. More... | |
| std::string | get_abstract_syntax () const |
| Return the Abstract Syntax. More... | |
| void | set_abstract_syntax (std::string const &abstract_syntax) |
| Set the Abstract Syntax. More... | |
| std::vector< std::string > | get_transfer_syntaxes () const |
| Return the Transfer Syntaxes. More... | |
| void | set_transfer_syntaxes (std::vector< std::string > const &transfer_syntaxes) |
| Set the Transfer Syntax sub-items. More... | |
Public Member Functions inherited from odil::pdu::PresentationContext | |
| PresentationContext () | |
| Constructor. More... | |
| PresentationContext (std::istream &stream) | |
| Read from a stream. More... | |
| virtual | ~PresentationContext ()=0 |
| Destructor, make the class pure virtual. More... | |
| uint8_t | get_item_type () const |
| Return the Item-type. More... | |
| uint8_t | get_id () const |
| Return the Presentation context id. More... | |
| void | set_id (uint8_t id) |
| Set the Presentation context id. 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::PresentationContext | |
| void | _add_fields () |
| Add common fields. More... | |
| std::vector< std::string > | _get_syntaxes (std::string const &type) const |
| Return the Abstract or Transfer syntaxes. More... | |
| void | _set_syntaxes (std::string const &type, std::vector< std::string > const &syntaxes) |
| Set the Abstract or Transfer syntaxes. More... | |
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... | |
Static Protected Member Functions inherited from odil::pdu::PresentationContext | |
| static Item | _make_string_item (std::string const &type, std::string const &value) |
| Create an Abstract Syntax or Transfer Syntax sub-item. More... | |
Protected Attributes inherited from odil::pdu::Object | |
| Item | _item |
Presentation Context item for a A-ASSOCIATE-RQ PDU (PS 3.8, 9.3.2.2).
| odil::pdu::PresentationContextRQ::PresentationContextRQ | ( | uint8_t | id, |
| std::string const & | abstract_syntax, | ||
| std::vector< std::string > const & | transfer_syntaxes | ||
| ) |
Constructor.
| odil::pdu::PresentationContextRQ::PresentationContextRQ | ( | std::istream & | stream | ) |
Read a Presentation Context from a stream.
| odil::pdu::PresentationContextRQ::~PresentationContextRQ | ( | ) |
Destructor.
| std::string odil::pdu::PresentationContextRQ::get_abstract_syntax | ( | ) | const |
Return the Abstract Syntax.
| std::vector<std::string> odil::pdu::PresentationContextRQ::get_transfer_syntaxes | ( | ) | const |
Return the Transfer Syntaxes.
| void odil::pdu::PresentationContextRQ::set_abstract_syntax | ( | std::string const & | abstract_syntax | ) |
Set the Abstract Syntax.
| void odil::pdu::PresentationContextRQ::set_transfer_syntaxes | ( | std::vector< std::string > const & | transfer_syntaxes | ) |
Set the Transfer Syntax sub-items.
1.8.13