GDCM  2.2.6
gdcmRoleSelectionSub.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: GDCM (Grassroots DICOM). A DICOM library
4 
5  Copyright (c) 2006-2011 Mathieu Malaterre
6  All rights reserved.
7  See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notice for more information.
12 
13 =========================================================================*/
14 #ifndef GDCMROLESELECTIONSUB_H
15 #define GDCMROLESELECTIONSUB_H
16 
17 #include "gdcmTypes.h"
18 
19 namespace gdcm
20 {
21 
22 namespace network
23 {
24 
32 {
33 public:
35  std::istream &Read(std::istream &is);
36  const std::ostream &Write(std::ostream &os) const;
37 
38  size_t Size() const;
39  void Print(std::ostream &os) const;
40 
41  void SetTuple(const char *uid, uint8_t scurole, uint8_t scprole);
42 
43 private:
44  static const uint8_t ItemType;
45  static const uint8_t Reserved2;
46  uint16_t ItemLength;
47  uint16_t UIDLength;
48  std::string /*SOP-class-uid*/ Name; // UID
49  uint8_t SCURole;
50  uint8_t SCPRole;
51 };
52 
53 } // end namespace network
54 
55 } // end namespace gdcm
56 
57 #endif // GDCMROLESELECTIONSUB_H
const std::ostream & Write(std::ostream &os) const
std::istream & Read(std::istream &is)
void SetTuple(const char *uid, uint8_t scurole, uint8_t scprole)
RoleSelectionSub PS 3.7 Table D.3-9 SCP/SCU ROLE SELECTION SUB-ITEM FIELDS (A-ASSOCIATE-RQ) ...
Definition: gdcmRoleSelectionSub.h:31
void Print(std::ostream &os) const

Generated on Sat Dec 21 2013 05:56:17 for GDCM by doxygen 1.8.5
SourceForge.net Logo