Odil
A C++11 library for the DICOM standard
Loading...
Searching...
No Matches
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:
Collaboration diagram for odil::pdu::AAssociate:

Public Member Functions

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

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.
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.
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:
  • /build/reproducible-path/odil-0.13.0/src/odil/pdu/AAssociate.h