Presentation Context item, either for a A-ASSOCIATE-RQ PDU (PS 3.8, 9.3.2.2) or for a A-ASSOCIATE-AC PDU (PS 3.8, 9.3.3.2).
More...
#include <PresentationContext.h>
|
void | _add_fields () |
| Add common fields.
|
|
std::vector< std::string > | _get_syntaxes (std::string const &type) const |
| Return the Abstract or Transfer syntaxes.
|
|
void | _set_syntaxes (std::string const &type, std::vector< std::string > const &syntaxes) |
| Set the Abstract or Transfer syntaxes.
|
|
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.
|
|
|
static Item | _make_string_item (std::string const &type, std::string const &value) |
| Create an Abstract Syntax or Transfer Syntax sub-item.
|
|
Presentation Context item, either for a A-ASSOCIATE-RQ PDU (PS 3.8, 9.3.2.2) or for a A-ASSOCIATE-AC PDU (PS 3.8, 9.3.3.2).
◆ PresentationContext() [1/2]
odil::pdu::PresentationContext::PresentationContext |
( |
| ) |
|
◆ PresentationContext() [2/2]
odil::pdu::PresentationContext::PresentationContext |
( |
std::istream & |
stream | ) |
|
◆ ~PresentationContext()
virtual odil::pdu::PresentationContext::~PresentationContext |
( |
| ) |
|
|
pure virtual |
Destructor, make the class pure virtual.
◆ _add_fields()
void odil::pdu::PresentationContext::_add_fields |
( |
| ) |
|
|
protected |
◆ _get_syntaxes()
std::vector< std::string > odil::pdu::PresentationContext::_get_syntaxes |
( |
std::string const & |
type | ) |
const |
|
protected |
Return the Abstract or Transfer syntaxes.
◆ _make_string_item()
static Item odil::pdu::PresentationContext::_make_string_item |
( |
std::string const & |
type, |
|
|
std::string const & |
value |
|
) |
| |
|
staticprotected |
Create an Abstract Syntax or Transfer Syntax sub-item.
◆ _set_syntaxes()
void odil::pdu::PresentationContext::_set_syntaxes |
( |
std::string const & |
type, |
|
|
std::vector< std::string > const & |
syntaxes |
|
) |
| |
|
protected |
Set the Abstract or Transfer syntaxes.
◆ get_id()
uint8_t odil::pdu::PresentationContext::get_id |
( |
| ) |
const |
Return the Presentation context id.
◆ get_item_type()
uint8_t odil::pdu::PresentationContext::get_item_type |
( |
| ) |
const |
◆ set_id()
void odil::pdu::PresentationContext::set_id |
( |
uint8_t |
id | ) |
|
Set the Presentation context id.
The documentation for this class was generated from the following file: