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

User Information Item Structure (PS 3.8, 9.3.2.3 and 9.3.3.3). More...

#include <UserInformation.h>

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

Public Member Functions

 UserInformation ()
 Create a User Information item with no sub-items.
 
 UserInformation (std::istream &stream)
 Read a User Information item from a stream.
 
template<typename TObject >
std::vector< TObject > get_sub_items () const
 Return sub-items of given type.
 
template<typename TObject >
void set_sub_items (std::vector< TObject > const &sub_item)
 Set a sequence of sub-items.
 
template<typename TObject >
void delete_sub_items ()
 Delete sub-items of given type.
 
- Public Member Functions inherited from odil::pdu::Object
virtual ~Object ()
 Destructor, makes the type polymorphic.
 
Item const & get_item () const
 Get the underlying item.
 

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

User Information Item Structure (PS 3.8, 9.3.2.3 and 9.3.3.3).

Constructor & Destructor Documentation

◆ UserInformation() [1/2]

odil::pdu::UserInformation::UserInformation ( )

Create a User Information item with no sub-items.

◆ UserInformation() [2/2]

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

Read a User Information item from a stream.

Member Function Documentation

◆ delete_sub_items()

template<typename TObject >
void odil::pdu::UserInformation::delete_sub_items ( )

Delete sub-items of given type.

◆ get_sub_items()

template<typename TObject >
std::vector< TObject > odil::pdu::UserInformation::get_sub_items ( ) const

Return sub-items of given type.

◆ set_sub_items()

template<typename TObject >
void odil::pdu::UserInformation::set_sub_items ( std::vector< TObject > const &  sub_item)

Set a sequence of sub-items.


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