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

Application Context item, (PS 3.8, 9.3.2.1). More...

#include <ApplicationContext.h>

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

Public Member Functions

 ApplicationContext (std::string const &name)
 Create an Application Context. More...
 
 ApplicationContext (std::istream &stream)
 Read an Application Context from a stream. More...
 
std::string get_name () const
 Return the name of the Application Context. More...
 
void set_name (std::string const &name)
 Set the name of the Application Context. More...
 
- 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
 

Detailed Description

Application Context item, (PS 3.8, 9.3.2.1).

Constructor & Destructor Documentation

◆ ApplicationContext() [1/2]

odil::pdu::ApplicationContext::ApplicationContext ( std::string const &  name)

Create an Application Context.

◆ ApplicationContext() [2/2]

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

Read an Application Context from a stream.

Member Function Documentation

◆ get_name()

std::string odil::pdu::ApplicationContext::get_name ( ) const

Return the name of the Application Context.

◆ set_name()

void odil::pdu::ApplicationContext::set_name ( std::string const &  name)

Set the name of the Application Context.


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