GDCM  2.2.0
gdcmAAbortPDU.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 GDCMAABORTPDU_H
15 #define GDCMAABORTPDU_H
16 
17 #include "gdcmTypes.h"
18 #include "gdcmBasePDU.h"
19 
20 namespace gdcm
21 {
22 
23 namespace network
24 {
25 
31 {
32 public:
33  AAbortPDU();
34  std::istream &Read(std::istream &is);
35  const std::ostream &Write(std::ostream &os) const;
36 
38  size_t Size() const;
39  void Print(std::ostream &os) const;
40 
41  bool IsLastFragment() const { return true; }
42 
43 private:
44  static const uint8_t ItemType; // PDUType ?
45  static const uint8_t Reserved2;
46  uint32_t ItemLength; // PDU Length
47  static const uint8_t Reserved7;
48  static const uint8_t Reserved8;
49  uint8_t Source;
50  uint8_t Reason; // diag
51 };
52 
53 } // end namespace network
54 
55 } // end namespace gdcm
56 
57 #endif //GDCMAABORTPDU_H

Generated on Wed Jun 13 2012 20:40:37 for GDCM by doxygen 1.8.1
SourceForge.net Logo