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

A-ASSOCIATE-RQ and A-ASSOCIATE-AC PDU, cf. PS 3.8, 9.3.2 and 9.3.3. More...

#include <AAssociate.h>

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

Public Member Functions

 AAssociate ()
 Constructor. More...
 
 AAssociate (std::istream &stream)
 Constructor for binary data. More...
 
virtual ~AAssociate ()=0
 Destructor. More...
 
uint16_t get_protocol_version () const
 Return the protocol version. More...
 
void set_protocol_version (uint16_t value)
 Set the protocol version. More...
 
std::string get_called_ae_title () const
 Return the called AE title. More...
 
void set_called_ae_title (std::string const &value)
 Set the called AE title. More...
 
std::string get_calling_ae_title () const
 Return the calling AE title. More...
 
void set_calling_ae_title (std::string const &value)
 Set the calling AE title. More...
 
ApplicationContext get_application_context () const
 Return the Application Context sub-item. More...
 
void set_application_context (ApplicationContext const &value)
 Set the Application Context sub-item. More...
 
UserInformation get_user_information () const
 Return the User Information sub-item. More...
 
void set_user_information (UserInformation const &value)
 Set the User Information sub-item. More...
 
- Public Member Functions inherited from odil::pdu::Object
virtual ~Object ()
 Destructor, makes the type polymorphic. More...
 
Item const & get_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

A-ASSOCIATE-RQ and A-ASSOCIATE-AC PDU, cf. PS 3.8, 9.3.2 and 9.3.3.

Constructor & Destructor Documentation

◆ AAssociate() [1/2]

odil::pdu::AAssociate::AAssociate ( )

Constructor.

◆ AAssociate() [2/2]

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

Constructor for binary data.

◆ ~AAssociate()

virtual odil::pdu::AAssociate::~AAssociate ( )
pure virtual

Destructor.

Member Function Documentation

◆ get_application_context()

ApplicationContext odil::pdu::AAssociate::get_application_context ( ) const

Return the Application Context sub-item.

◆ get_called_ae_title()

std::string odil::pdu::AAssociate::get_called_ae_title ( ) const

Return the called AE title.

◆ get_calling_ae_title()

std::string odil::pdu::AAssociate::get_calling_ae_title ( ) const

Return the calling AE title.

◆ get_protocol_version()

uint16_t odil::pdu::AAssociate::get_protocol_version ( ) const

Return the protocol version.

◆ get_user_information()

UserInformation odil::pdu::AAssociate::get_user_information ( ) const

Return the User Information sub-item.

◆ set_application_context()

void odil::pdu::AAssociate::set_application_context ( ApplicationContext const &  value)

Set the Application Context sub-item.

◆ set_called_ae_title()

void odil::pdu::AAssociate::set_called_ae_title ( std::string const &  value)

Set the called AE title.

An exception is raised if the value is empty or if it is longer than 16 characters.

◆ set_calling_ae_title()

void odil::pdu::AAssociate::set_calling_ae_title ( std::string const &  value)

Set the calling AE title.

An exception is raised if the value is empty or if it is longer than 16 characters.

◆ set_protocol_version()

void odil::pdu::AAssociate::set_protocol_version ( uint16_t  value)

Set the protocol version.

◆ set_user_information()

void odil::pdu::AAssociate::set_user_information ( UserInformation const &  value)

Set the User Information sub-item.


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