gdcmAAssociateRJPDU.h
Go to the documentation of this file.
/*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Copyright (c) 2006-2011 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef GDCMAASSOCIATERJPDU_H
#define GDCMAASSOCIATERJPDU_H
#include "gdcmTypes.h"
#include "gdcmBasePDU.h"
namespace gdcm
{
namespace network
{
class AAssociateRJPDU : public BasePDU
{
public:
AAssociateRJPDU();
std::istream &Read(std::istream &is) override;
const std::ostream &Write(std::ostream &os) const override;
void Print(std::ostream &os) const override;
size_t Size() const override;
bool IsLastFragment() const override { return true; }
private:
static const uint8_t ItemType; // PDUType ?
static const uint8_t Reserved2;
uint32_t ItemLength; // PDU Length ?
static const uint8_t Reserved8;
uint8_t Result;
uint8_t Source;
uint8_t Reason; // diag ?
};
} // end namespace network
} // end namespace gdcm
#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