Odil
A C++11 library for the DICOM standard
Toggle main menu visibility
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
18
namespace
odil
19
{
20
21
namespace
pdu
22
{
23
25
class
ODIL_API
MaximumLength
:
public
Object
26
{
27
public
:
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
Object.h
odil::pdu::MaximumLength::MaximumLength
MaximumLength(std::istream &stream)
Read a Maximum Length item from a stream.
odil::pdu::MaximumLength::get_maximum_length
uint32_t get_maximum_length() const
Return the maximum length.
odil::pdu::MaximumLength::type
static uint8_t const type
Item type.
Definition
MaximumLength.h:29
odil::pdu::MaximumLength::set_maximum_length
void set_maximum_length(uint32_t value)
Set the maximum length.
odil::pdu::MaximumLength::MaximumLength
MaximumLength(uint32_t maximum_length=0)
Create a Maximum Length item.
odil::pdu::Object
Base class for all PDU-related high-level objects (PDU, items and sub-items).
Definition
Object.h:28
odil::pdu
Definition
AAbort.h:21
odil
Definition
Association.h:25
odil.h
ODIL_API
#define ODIL_API
Definition
odil.h:28
src
odil
pdu
MaximumLength.h
Generated by
1.17.0