GDCM 3.2.1

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