GDCM: gdcmAAssociateRJPDU.h Source File

GDCM 3.0.26

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