Odil
A C++11 library for the DICOM standard
AAssociateAC.h
Go to the documentation of this file.
1 /*************************************************************************
2  * odil - Copyright (C) Universite de Strasbourg
3  * Distributed under the terms of the CeCILL-B license, as published by
4  * the CEA-CNRS-INRIA. Refer to the LICENSE file or to
5  * http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
6  * for details.
7  ************************************************************************/
8 
9 #ifndef _973ae1d9_c41c_4518_9c35_df13b2253369
10 #define _973ae1d9_c41c_4518_9c35_df13b2253369
11 
12 #include <vector>
13 
14 #include "odil/odil.h"
15 #include "odil/pdu/AAssociate.h"
17 
18 namespace odil
19 {
20 
21 namespace pdu
22 {
23 
26 {
27 public:
30 
32  AAssociateAC(std::istream & stream);
33 
36 
38  std::vector<PresentationContextAC> get_presentation_contexts() const;
39 
41  void set_presentation_contexts(std::vector<PresentationContextAC> const & value);
42 };
43 
44 }
45 
46 }
47 
48 #endif // _973ae1d9_c41c_4518_9c35_df13b2253369
odil::pdu::AAssociateAC::set_presentation_contexts
void set_presentation_contexts(std::vector< PresentationContextAC > const &value)
Set the Presentation Context sub-items.
odil
Definition: Association.h:25
ODIL_API
#define ODIL_API
Definition: odil.h:28
odil::pdu::AAssociateAC::AAssociateAC
AAssociateAC(std::istream &stream)
Constructor for binary data.
odil::pdu::AAssociateAC
A-ASSOCIATE-AC PDU, cf. PS 3.8, 9.3.3.
Definition: AAssociateAC.h:26
PresentationContextAC.h
odil.h
odil::pdu::AAssociate
A-ASSOCIATE-RQ and A-ASSOCIATE-AC PDU, cf. PS 3.8, 9.3.2 and 9.3.3.
Definition: AAssociate.h:29
AAssociate.h
odil::pdu::AAssociateAC::AAssociateAC
AAssociateAC()
Constructor.
odil::pdu::AAssociateAC::get_presentation_contexts
std::vector< PresentationContextAC > get_presentation_contexts() const
Return the Presentation Context sub-items.
odil::pdu::AAssociateAC::~AAssociateAC
~AAssociateAC()
Destructor.