GDCM
2.2.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
Source
MessageExchangeDefinition
gdcmMaximumLengthSub.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 GDCMMAXIMUMLENGTHSUB_H
15
#define GDCMMAXIMUMLENGTHSUB_H
16
17
#include "
gdcmTypes.h
"
18
19
namespace
gdcm
20
{
21
22
namespace
network
23
{
24
36
class
MaximumLengthSub
37
{
38
public
:
39
MaximumLengthSub
();
40
std::istream &
Read
(std::istream &is);
41
const
std::ostream &
Write
(std::ostream &os)
const
;
42
43
size_t
Size
()
const
;
44
45
uint32_t
GetMaximumLength
()
const
{
return
MaximumLength; }
46
void
SetMaximumLength
(uint32_t maximumlength) { MaximumLength = maximumlength; }
47
48
private
:
49
static
const
uint8_t ItemType;
50
static
const
uint8_t Reserved2;
51
uint16_t ItemLength;
52
uint32_t MaximumLength;
53
};
54
55
}
// end namespace network
56
57
}
// end namespace gdcm
58
59
#endif //GDCMMAXIMUMLENGTHSUB_H
Generated on Wed Jun 13 2012 20:40:37 for GDCM by
1.8.1