Odil
A C++11 library for the DICOM standard
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. More...
 
 MaximumLength (std::istream &stream)
 Read a Maximum Length item from a stream. More...
 
uint32_t get_maximum_length () const
 Return the maximum length. More...
 
void set_maximum_length (uint32_t value)
 Set the maximum length. More...
 
- Public Member Functions inherited from odil::pdu::Object
virtual ~Object ()
 Destructor, makes the type polymorphic. More...
 
const Itemget_item () const
 Get the underlying item. More...
 

Static Public Attributes

static const uint8_t type =0x51
 Item type. More...
 

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. More...
 
uint32_t _compute_length (Item const &item) const
 Compute the full size of an item. More...
 
uint32_t _compute_length (Item::Field const &field) const
 Compute the full size of a field. More...
 
- 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

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

Item type.


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