Odil
A C++11 library for the DICOM standard
Loading...
Searching...
No Matches
MaximumLength.h
Go to the documentation of this file.
1/*************************************************************************
2 * odil - Copyright (C) Universite de Strasbourg
3 * Distributed under the terms of the CeCILL-B license, as published by
4 * the CEA-CNRS-INRIA. Refer to the LICENSE file or to
5 * http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
6 * for details.
7 ************************************************************************/
8
9#ifndef _b2091b0b_1a6e_435c_b927_e5c54aff89c5
10#define _b2091b0b_1a6e_435c_b927_e5c54aff89c5
11
12#include <cstdint>
13#include <istream>
14
15#include "odil/odil.h"
16#include "odil/pdu/Object.h"
17
18namespace odil
19{
20
21namespace pdu
22{
23
26{
27public:
29 static uint8_t const type=0x51;
30
32 MaximumLength(uint32_t maximum_length=0);
33
35 MaximumLength(std::istream & stream);
36
38 uint32_t get_maximum_length() const;
39
41 void set_maximum_length(uint32_t value);
42};
43
44}
45
46}
47
48#endif // _b2091b0b_1a6e_435c_b927_e5c54aff89c5
Maximum Length Sub-Item Structure (PS 3.8, D.1).
Definition MaximumLength.h:26
MaximumLength(std::istream &stream)
Read a Maximum Length item from a stream.
uint32_t get_maximum_length() const
Return the maximum length.
void set_maximum_length(uint32_t value)
Set the maximum length.
MaximumLength(uint32_t maximum_length=0)
Create a Maximum Length item.
Base class for all PDU-related high-level objects (PDU, items and sub-items).
Definition Object.h:28
Definition Association.h:25
#define ODIL_API
Definition odil.h:28