Odil
A C++11 library for the DICOM standard
|
Presentation Context, cf. PS 3.8, 9.3.2.2, PS 3.8, 9.3.3.2, PS 3.7, D.3.3.4.1 and PS 3.7 D.3.3.4.2. More...
#include <AssociationParameters.h>
Public Types | |
enum | Result { Result::Acceptance = 0, Result::UserRejection = 1, Result::NoReason = 2, Result::AbstractSyntaxNotSupported = 3, Result::TransferSyntaxesNotSupported = 4 } |
Result of the presentation context negotiation. More... | |
enum | Role { Role::Unspecified, Role::None, Role::SCU, Role::SCP, Role::Both } |
Public Member Functions | |
PresentationContext (uint8_t id, std::string const &abstract_syntax, std::vector< std::string > const &transfer_syntaxes, Role role, Result result=Result::NoReason) | |
Constructor. More... | |
PresentationContext (std::string const &abstract_syntax, std::vector< std::string > const &transfer_syntaxes, Role role, Result result=Result::NoReason) | |
Simplified constructor, sets the id to the invalid value 0. More... | |
bool | operator== (PresentationContext const &other) const |
Member-wise equality. More... | |
Public Attributes | |
uint8_t | id |
Identifier of the presentation context, must be odd. More... | |
std::string | abstract_syntax |
Proposed abstract syntax. More... | |
std::vector< std::string > | transfer_syntaxes |
Proposed transfer syntaxes or accepted transfer syntax. More... | |
Role | role |
SCU/SCP role negotiation. More... | |
Result | result |
Result of the negotiation. More... | |
Presentation Context, cf. PS 3.8, 9.3.2.2, PS 3.8, 9.3.3.2, PS 3.7, D.3.3.4.1 and PS 3.7 D.3.3.4.2.
odil::AssociationParameters::PresentationContext::PresentationContext | ( | uint8_t | id, |
std::string const & | abstract_syntax, | ||
std::vector< std::string > const & | transfer_syntaxes, | ||
Role | role, | ||
Result | result = Result::NoReason |
||
) |
Constructor.
odil::AssociationParameters::PresentationContext::PresentationContext | ( | std::string const & | abstract_syntax, |
std::vector< std::string > const & | transfer_syntaxes, | ||
Role | role, | ||
Result | result = Result::NoReason |
||
) |
Simplified constructor, sets the id to the invalid value 0.
bool odil::AssociationParameters::PresentationContext::operator== | ( | PresentationContext const & | other | ) | const |
Member-wise equality.
std::string odil::AssociationParameters::PresentationContext::abstract_syntax |
Proposed abstract syntax.
uint8_t odil::AssociationParameters::PresentationContext::id |
Identifier of the presentation context, must be odd.
Result odil::AssociationParameters::PresentationContext::result |
Result of the negotiation.
Role odil::AssociationParameters::PresentationContext::role |
SCU/SCP role negotiation.
std::vector<std::string> odil::AssociationParameters::PresentationContext::transfer_syntaxes |
Proposed transfer syntaxes or accepted transfer syntax.