PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
kcenon::pacs::network::accepted_presentation_context Struct Reference

Accepted presentation context after negotiation. More...

#include <association.h>

Collaboration diagram for kcenon::pacs::network::accepted_presentation_context:
Collaboration graph

Public Member Functions

 accepted_presentation_context ()
 
 accepted_presentation_context (uint8_t ctx_id, std::string abs_syntax, std::string ts, presentation_context_result res)
 
bool is_accepted () const noexcept
 

Public Attributes

uint8_t id
 Presentation Context ID.
 
std::string abstract_syntax
 Abstract Syntax UID.
 
std::string transfer_syntax
 Accepted Transfer Syntax UID.
 
presentation_context_result result
 Negotiation result.
 

Detailed Description

Accepted presentation context after negotiation.

Definition at line 174 of file association.h.

Constructor & Destructor Documentation

◆ accepted_presentation_context() [1/2]

kcenon::pacs::network::accepted_presentation_context::accepted_presentation_context ( )
inline

◆ accepted_presentation_context() [2/2]

kcenon::pacs::network::accepted_presentation_context::accepted_presentation_context ( uint8_t ctx_id,
std::string abs_syntax,
std::string ts,
presentation_context_result res )
inline

Definition at line 182 of file association.h.

184 : id(ctx_id)
185 , abstract_syntax(std::move(abs_syntax))
186 , transfer_syntax(std::move(ts))
187 , result(res) {}
Transfer Syntax UIDs.
Definition main.cpp:78
std::string transfer_syntax
Accepted Transfer Syntax UID.
std::string abstract_syntax
Abstract Syntax UID.

Member Function Documentation

◆ is_accepted()

bool kcenon::pacs::network::accepted_presentation_context::is_accepted ( ) const
inlinenodiscardnoexcept

Definition at line 189 of file association.h.

189 {
191 }

References kcenon::pacs::network::acceptance, and result.

Member Data Documentation

◆ abstract_syntax

std::string kcenon::pacs::network::accepted_presentation_context::abstract_syntax

Abstract Syntax UID.

Definition at line 176 of file association.h.

◆ id

uint8_t kcenon::pacs::network::accepted_presentation_context::id

Presentation Context ID.

Definition at line 175 of file association.h.

◆ result

presentation_context_result kcenon::pacs::network::accepted_presentation_context::result

Negotiation result.

Definition at line 178 of file association.h.

Referenced by is_accepted().

◆ transfer_syntax

std::string kcenon::pacs::network::accepted_presentation_context::transfer_syntax

Accepted Transfer Syntax UID.

Definition at line 177 of file association.h.


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