Odil
A C++11 library for the DICOM standard
UserIdentityAC.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 _1c3d6b3c_09a0_4452_9263_aa010ee1d973
10#define _1c3d6b3c_09a0_4452_9263_aa010ee1d973
11
12#include <istream>
13#include <string>
14
15#include "odil/odil.h"
16#include "odil/pdu/Object.h"
17
18namespace odil
19{
20
21namespace pdu
22{
23
26{
27public:
29 static uint8_t const type=0x59;
30
32 UserIdentityAC(std::string const & server_response="");
33
35 UserIdentityAC(std::istream & stream);
36
38 std::string const & get_server_response() const;
39
41 void set_server_response(std::string const & value);
42};
43
44}
45
46}
47
48#endif // _1c3d6b3c_09a0_4452_9263_aa010ee1d973
Base class for all PDU-related high-level objects (PDU, items and sub-items).
Definition: Object.h:28
User Identity Sub-Item Structure (A-ASSOCIATE-AC) (PS 3.7, D.3.3.7.2).
Definition: UserIdentityAC.h:26
std::string const & get_server_response() const
Return the server response.
UserIdentityAC(std::string const &server_response="")
Create an User Identity.
void set_server_response(std::string const &value)
Set the server response.
UserIdentityAC(std::istream &stream)
Read an User Identity from a stream.
Definition: Association.h:25
#define ODIL_API
Definition: odil.h:28