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

User Identity Sub-Item Structure (A-ASSOCIATE-RQ) (PS 3.7, D.3.3.7.1). More...

#include <UserIdentityRQ.h>

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

Public Member Functions

 UserIdentityRQ ()
 Create an User Identity. More...
 
 UserIdentityRQ (std::istream &stream)
 Read an User Identity from a stream. More...
 
uint8_t get_type () const
 Return the type of the User Identity. More...
 
void set_type (uint8_t type)
 Set the type of the User Identity. More...
 
bool get_positive_response_requested () const
 Return whether a positive response is requested. More...
 
void set_positive_response_requested (bool value)
 Set whether a positive response is requested. More...
 
std::string const & get_primary_field () const
 Return the primary identity field. More...
 
void set_primary_field (std::string const &value)
 Set the primary identity field. More...
 
std::string const & get_secondary_field () const
 Return the secondary identity field. More...
 
void set_secondary_field (std::string const &value)
 Set the secondary identity field. More...
 
void set_username (std::string const &username)
 
void set_username_and_passcode (std::string const &username, std::string const &passcode)
 
void set_kerberos_service_ticket (std::string const &ticket)
 
void set_saml_assertion (std::string const &assertion)
 
- 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...
 

Static Public Attributes

static uint8_t const type =0x58
 Item type. 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

User Identity Sub-Item Structure (A-ASSOCIATE-RQ) (PS 3.7, D.3.3.7.1).

Constructor & Destructor Documentation

◆ UserIdentityRQ() [1/2]

odil::pdu::UserIdentityRQ::UserIdentityRQ ( )

Create an User Identity.

◆ UserIdentityRQ() [2/2]

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

Read an User Identity from a stream.

Member Function Documentation

◆ get_positive_response_requested()

bool odil::pdu::UserIdentityRQ::get_positive_response_requested ( ) const

Return whether a positive response is requested.

◆ get_primary_field()

std::string const& odil::pdu::UserIdentityRQ::get_primary_field ( ) const

Return the primary identity field.

◆ get_secondary_field()

std::string const& odil::pdu::UserIdentityRQ::get_secondary_field ( ) const

Return the secondary identity field.

◆ get_type()

uint8_t odil::pdu::UserIdentityRQ::get_type ( ) const

Return the type of the User Identity.

◆ set_kerberos_service_ticket()

void odil::pdu::UserIdentityRQ::set_kerberos_service_ticket ( std::string const &  ticket)

◆ set_positive_response_requested()

void odil::pdu::UserIdentityRQ::set_positive_response_requested ( bool  value)

Set whether a positive response is requested.

◆ set_primary_field()

void odil::pdu::UserIdentityRQ::set_primary_field ( std::string const &  value)

Set the primary identity field.

◆ set_saml_assertion()

void odil::pdu::UserIdentityRQ::set_saml_assertion ( std::string const &  assertion)

◆ set_secondary_field()

void odil::pdu::UserIdentityRQ::set_secondary_field ( std::string const &  value)

Set the secondary identity field.

◆ set_type()

void odil::pdu::UserIdentityRQ::set_type ( uint8_t  type)

Set the type of the User Identity.

◆ set_username()

void odil::pdu::UserIdentityRQ::set_username ( std::string const &  username)

◆ set_username_and_passcode()

void odil::pdu::UserIdentityRQ::set_username_and_passcode ( std::string const &  username,
std::string const &  passcode 
)

Member Data Documentation

◆ type

uint8_t const odil::pdu::UserIdentityRQ::type =0x58
static

Item type.


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