Presentation Context item, either for a A-ASSOCIATE-RQ PDU (PS 3.8, 9.3.2.2) or for a A-ASSOCIATE-AC ...
Definition PresentationContext.h:31
static Item _make_string_item(std::string const &type, std::string const &value)
Create an Abstract Syntax or Transfer Syntax sub-item.
std::vector< std::string > _get_syntaxes(std::string const &type) const
Return the Abstract or Transfer syntaxes.
uint8_t get_id() const
Return the Presentation context id.
void set_id(uint8_t id)
Set the Presentation context id.
PresentationContext(std::istream &stream)
Read from a stream.
void _set_syntaxes(std::string const &type, std::vector< std::string > const &syntaxes)
Set the Abstract or Transfer syntaxes.
virtual ~PresentationContext()=0
Destructor, make the class pure virtual.
uint8_t get_item_type() const
Return the Item-type.