Odil
A C++11 library for the DICOM standard
Public Member Functions | List of all members
odil::pdu::PDataTF::PresentationDataValueItem Class Reference

#include <PDataTF.h>

Inheritance diagram for odil::pdu::PDataTF::PresentationDataValueItem:
Inheritance graph
[legend]
Collaboration diagram for odil::pdu::PDataTF::PresentationDataValueItem:
Collaboration graph
[legend]

Public Member Functions

 PresentationDataValueItem (uint8_t presentation_context_id, uint8_t control_header, std::string const &fragment)
 
 PresentationDataValueItem (std::istream &stream)
 
uint8_t get_presentation_context_id () const
 
void set_presentation_context_id (uint8_t value)
 
uint8_t get_control_header () const
 
void set_control_header (uint8_t value)
 
bool is_command () const
 
bool is_last_fragment () const
 
const std::string & get_fragment () const
 
void set_fragment (std::string const &fragment)
 
- Public Member Functions inherited from odil::pdu::Object
virtual ~Object ()
 Destructor, makes the type polymorphic. More...
 
const Itemget_item () const
 Get the underlying item. More...
 

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. 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 inherited from odil::pdu::Object
Item _item
 

Constructor & Destructor Documentation

◆ PresentationDataValueItem() [1/2]

odil::pdu::PDataTF::PresentationDataValueItem::PresentationDataValueItem ( uint8_t  presentation_context_id,
uint8_t  control_header,
std::string const &  fragment 
)

◆ PresentationDataValueItem() [2/2]

odil::pdu::PDataTF::PresentationDataValueItem::PresentationDataValueItem ( std::istream &  stream)

Member Function Documentation

◆ get_control_header()

uint8_t odil::pdu::PDataTF::PresentationDataValueItem::get_control_header ( ) const

◆ get_fragment()

const std::string& odil::pdu::PDataTF::PresentationDataValueItem::get_fragment ( ) const

◆ get_presentation_context_id()

uint8_t odil::pdu::PDataTF::PresentationDataValueItem::get_presentation_context_id ( ) const

◆ is_command()

bool odil::pdu::PDataTF::PresentationDataValueItem::is_command ( ) const

◆ is_last_fragment()

bool odil::pdu::PDataTF::PresentationDataValueItem::is_last_fragment ( ) const

◆ set_control_header()

void odil::pdu::PDataTF::PresentationDataValueItem::set_control_header ( uint8_t  value)

◆ set_fragment()

void odil::pdu::PDataTF::PresentationDataValueItem::set_fragment ( std::string const &  fragment)

◆ set_presentation_context_id()

void odil::pdu::PDataTF::PresentationDataValueItem::set_presentation_context_id ( uint8_t  value)

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