Odil
A C++11 library for the DICOM standard
|
User Information Item Structure (PS 3.8, 9.3.2.3 and 9.3.3.3). More...
#include <UserInformation.h>
Public Member Functions | |
UserInformation () | |
Create a User Information item with no sub-items. More... | |
UserInformation (std::istream &stream) | |
Read a User Information item from a stream. More... | |
template<typename TObject > | |
std::vector< TObject > | get_sub_items () const |
Return sub-items of given type. More... | |
template<typename TObject > | |
void | set_sub_items (std::vector< TObject > const &sub_item) |
Set a sequence of sub-items. More... | |
template<typename TObject > | |
void | delete_sub_items () |
Delete sub-items of given type. More... | |
![]() | |
virtual | ~Object () |
Destructor, makes the type polymorphic. More... | |
Item const & | get_item () const |
Get the underlying item. More... | |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
Item | _item |
User Information Item Structure (PS 3.8, 9.3.2.3 and 9.3.3.3).
odil::pdu::UserInformation::UserInformation | ( | ) |
Create a User Information item with no sub-items.
odil::pdu::UserInformation::UserInformation | ( | std::istream & | stream | ) |
Read a User Information item from a stream.
void odil::pdu::UserInformation::delete_sub_items | ( | ) |
Delete sub-items of given type.
std::vector<TObject> odil::pdu::UserInformation::get_sub_items | ( | ) | const |
Return sub-items of given type.
void odil::pdu::UserInformation::set_sub_items | ( | std::vector< TObject > const & | sub_item | ) |
Set a sequence of sub-items.