Odil
A C++11 library for the DICOM standard
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
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:
Inheritance graph
[legend]
Collaboration diagram for odil::pdu::Object:
Collaboration graph
[legend]

Public Member Functions

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

Protected Member Functions

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

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: