Odil
A C++11 library for the DICOM standard
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
odil::pdu::MaximumLength Class Reference

Maximum Length Sub-Item Structure (PS 3.8, D.1). More...

#include <MaximumLength.h>

Inheritance diagram for odil::pdu::MaximumLength:
Inheritance graph
[legend]
Collaboration diagram for odil::pdu::MaximumLength:
Collaboration graph
[legend]

Public Member Functions

 MaximumLength (uint32_t maximum_length=0)
 Create a Maximum Length item.
 
 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.
 
- Public Member Functions inherited from odil::pdu::Object
virtual ~Object ()
 Destructor, makes the type polymorphic.
 
Item const & get_item () const
 Get the underlying item.
 

Static Public Attributes

static uint8_t const type =0x51
 Item type.
 

Additional Inherited Members

- Protected Member Functions inherited from odil::pdu::Object
uint32_t _compute_length () const
 Compute the value of the length field of the object.
 
uint32_t _compute_length (Item const &item) const
 Compute the full size of an item.
 
uint32_t _compute_length (Item::Field const &field) const
 Compute the full size of a field.
 
- Protected Attributes inherited from odil::pdu::Object
Item _item
 

Detailed Description

Maximum Length Sub-Item Structure (PS 3.8, D.1).

Constructor & Destructor Documentation

◆ MaximumLength() [1/2]

odil::pdu::MaximumLength::MaximumLength ( uint32_t  maximum_length = 0)

Create a Maximum Length item.

◆ MaximumLength() [2/2]

odil::pdu::MaximumLength::MaximumLength ( std::istream &  stream)

Read a Maximum Length item from a stream.

Member Function Documentation

◆ get_maximum_length()

uint32_t odil::pdu::MaximumLength::get_maximum_length ( ) const

Return the maximum length.

◆ set_maximum_length()

void odil::pdu::MaximumLength::set_maximum_length ( uint32_t  value)

Set the maximum length.

Member Data Documentation

◆ type

uint8_t const odil::pdu::MaximumLength::type =0x51
static

Item type.


The documentation for this class was generated from the following file: