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. | |
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. | |
![]() | |
virtual | ~Object () |
Destructor, makes the type polymorphic. | |
Item const & | get_item () const |
Get the underlying item. | |
Additional Inherited Members | |
![]() | |
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. | |
![]() | |
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.