Odil
A C++11 library for the DICOM standard
Loading...
Searching...
No Matches
odil::pdu::Object Class Reference

Base class for all PDU-related high-level objects (PDU, items and sub-items). More...

#include <Object.h>

Inheritance diagram for odil::pdu::Object:
Collaboration diagram for odil::pdu::Object:

Public Member Functions

virtual ~Object ()
 Destructor, makes the type polymorphic.
Item const & get_item () const
 Get the underlying item.

Protected Member Functions

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

Item _item

Detailed Description

Base class for all PDU-related high-level objects (PDU, items and sub-items).

Constructor & Destructor Documentation

◆ ~Object()

virtual odil::pdu::Object::~Object ( )
virtual

Destructor, makes the type polymorphic.

Member Function Documentation

◆ _compute_length() [1/3]

uint32_t odil::pdu::Object::_compute_length ( ) const
protected

Compute the value of the length field of the object.

◆ _compute_length() [2/3]

uint32_t odil::pdu::Object::_compute_length ( Item const & item) const
protected

Compute the full size of an item.

◆ _compute_length() [3/3]

uint32_t odil::pdu::Object::_compute_length ( Item::Field const & field) const
protected

Compute the full size of a field.

◆ get_item()

Item const & odil::pdu::Object::get_item ( ) const

Get the underlying item.

Member Data Documentation

◆ _item

Item odil::pdu::Object::_item
protected

The documentation for this class was generated from the following file:
  • /build/reproducible-path/odil-0.13.0/src/odil/pdu/Object.h