Kea 2.7.6
isc::dhcp::PSID Class Reference

Encapsulates PSID value. More...

#include <option_data_types.h>

Public Member Functions

 PSID ()
 Default constructor.
 
 PSID (const uint16_t psid)
 Constructor.
 
uint16_t asUint16 () const
 Returns PSID value as a number.
 

Detailed Description

Encapsulates PSID value.

Definition at line 249 of file option_data_types.h.

Constructor & Destructor Documentation

◆ PSID() [1/2]

isc::dhcp::PSID::PSID ( )
inline

Default constructor.

Definition at line 253 of file option_data_types.h.

◆ PSID() [2/2]

isc::dhcp::PSID::PSID ( const uint16_t psid)
inlineexplicit

Constructor.

This constructor doesn't perform any checks on the input data.

Parameters
psidPSID value.

Definition at line 260 of file option_data_types.h.

Member Function Documentation

◆ asUint16()

uint16_t isc::dhcp::PSID::asUint16 ( ) const
inline

Returns PSID value as a number.

Definition at line 265 of file option_data_types.h.

Referenced by isc::dhcp::OptionDataTypeUtil::writePsid().


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