Odil
A C++11 library for the DICOM standard
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
odil::AssociationParameters::PresentationContext Struct Reference

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 class  Result {
  Acceptance = 0 , UserRejection = 1 , NoReason = 2 , AbstractSyntaxNotSupported = 3 ,
  TransferSyntaxesNotSupported = 4
}
 Result of the presentation context negotiation. More...
 
enum class  Role {
  Unspecified , None , SCU , SCP ,
  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.
 
 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 operator== (PresentationContext const &other) const
 Member-wise equality.
 

Public Attributes

uint8_t id
 Identifier of the presentation context, must be odd.
 
std::string abstract_syntax
 Proposed abstract syntax.
 
std::vector< std::string > transfer_syntaxes
 Proposed transfer syntaxes or accepted transfer syntax.
 
Role role
 SCU/SCP role negotiation.
 
Result result
 Result of the negotiation.
 

Detailed Description

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.

Member Enumeration Documentation

◆ Result

Result of the presentation context negotiation.

Enumerator
Acceptance 
UserRejection 
NoReason 
AbstractSyntaxNotSupported 
TransferSyntaxesNotSupported 

◆ Role

Enumerator
Unspecified 
None 
SCU 
SCP 
Both 

Constructor & Destructor Documentation

◆ PresentationContext() [1/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.

◆ PresentationContext() [2/2]

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.

Member Function Documentation

◆ operator==()

bool odil::AssociationParameters::PresentationContext::operator== ( PresentationContext const &  other) const

Member-wise equality.

Member Data Documentation

◆ abstract_syntax

std::string odil::AssociationParameters::PresentationContext::abstract_syntax

Proposed abstract syntax.

◆ id

uint8_t odil::AssociationParameters::PresentationContext::id

Identifier of the presentation context, must be odd.

◆ result

Result odil::AssociationParameters::PresentationContext::result

Result of the negotiation.

◆ role

Role odil::AssociationParameters::PresentationContext::role

SCU/SCP role negotiation.

◆ transfer_syntaxes

std::vector<std::string> odil::AssociationParameters::PresentationContext::transfer_syntaxes

Proposed transfer syntaxes or accepted transfer syntax.


The documentation for this struct was generated from the following file: