Odil
A C++11 library for the DICOM standard
ApplicationContext.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 _12bdb8f1_48c2_44d0_957a_bc1fb6f6733a
10#define _12bdb8f1_48c2_44d0_957a_bc1fb6f6733a
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
28{
29public:
31 ApplicationContext(std::string const & name);
32
34 ApplicationContext(std::istream & stream);
35
37 std::string get_name() const;
38
40 void set_name(std::string const & name);
41};
42
43}
44
45}
46
47#endif // _12bdb8f1_48c2_44d0_957a_bc1fb6f6733a
Application Context item, (PS 3.8, 9.3.2.1).
Definition: ApplicationContext.h:28
ApplicationContext(std::string const &name)
Create an Application Context.
std::string get_name() const
Return the name of the Application Context.
ApplicationContext(std::istream &stream)
Read an Application Context from a stream.
void set_name(std::string const &name)
Set the name of the Application Context.
Base class for all PDU-related high-level objects (PDU, items and sub-items).
Definition: Object.h:28
Definition: Association.h:25
#define ODIL_API
Definition: odil.h:28