GDCM 2.2.0

- Main Page
- Related Pages
- Namespaces
- Classes
- Files
- Directories
- Examples

- File List
- File Members

gdcmAReleaseRQPDU.h
Go to the documentation of this file.

    00001 /*=========================================================================
    00002
    00003   Program: GDCM (Grassroots DICOM). A DICOM library
    00004
    00005   Copyright (c) 2006-2011 Mathieu Malaterre
    00006   All rights reserved.
    00007   See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
    00008
    00009      This software is distributed WITHOUT ANY WARRANTY; without even
    00010      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
    00011      PURPOSE.  See the above copyright notice for more information.
    00012
    00013 =========================================================================*/
    00014 #ifndef GDCMARELEASERQPDU_H
    00015 #define GDCMARELEASERQPDU_H
    00016
    00017 #include "gdcmTypes.h"
    00018 #include "gdcmBasePDU.h"
    00019
    00020 namespace gdcm
    00021 {
    00022
    00023 namespace network
    00024 {
    00025
    00031 class AReleaseRQPDU : public BasePDU
    00032 {
    00033 public:
    00034   AReleaseRQPDU();
    00035   std::istream &Read(std::istream &is);
    00036   const std::ostream &Write(std::ostream &os) const;
    00037   size_t Size() const;
    00038   void Print(std::ostream &os) const;
    00039   bool IsLastFragment() const { return true; }
    00040 private:
    00041   static const uint8_t ItemType; // PDUType ?
    00042   static const uint8_t Reserved2;
    00043   uint32_t ItemLength; // PDU Length
    00044   static const uint32_t Reserved7_10;
    00045 };
    00046
    00047 } // end namespace network
    00048
    00049 } // end namespace gdcm
    00050
    00051 #endif //GDCMARELEASERQPDU_H