|  | Kea 3.1.0
    | 
#include <duid.h>
| Public Member Functions | |
| IdentifierType (const std::vector< uint8_t > &data) | |
| Constructor from vector. | |
| IdentifierType (const uint8_t *data, size_t len) | |
| Constructor from array and array size. | |
| bool | operator!= (const IdentifierType &other) const | 
| Compares two identifiers for inequality. | |
| bool | operator== (const IdentifierType &other) const | 
| Compares two identifiers for equality. | |
| std::string | toText () const | 
| Returns textual representation of the identifier (e.g. | |
| Static Public Member Functions | |
| static std::vector< uint8_t > | fromText (const std::string &text) | 
| This static function parses an Identifier specified in the textual format. | |
| static constexpr size_t | getMaxSize () | 
| Return the maximum size of the acceptable data. | |
| static constexpr size_t | getMinSize () | 
| Return the minimum size of the acceptable data. | |
| Protected Attributes | |
| std::vector< uint8_t > | data_ | 
| The actual content of the Identifier. | |
| Additional Inherited Members | |
| Protected Member Functions inherited from isc::dhcp::IdentifierBaseType | |
| virtual | ~IdentifierBaseType ()=0 | 
| Pure virtual destructor. | |
| 
 | inline | 
Constructor from vector.
| data | The data used to create the IdentifierType | 
Definition at line 43 of file duid.h.
References data_, and isc_throw.
Referenced by operator!=(), and operator==().
| 
 | inline | 
| 
 | inlinestatic | 
This static function parses an Identifier specified in the textual format.
| text | Identifier in the hexadecimal format with digits representing individual bytes separated by colons. | 
Definition at line 108 of file duid.h.
References isc::util::str::decodeFormattedHexString().
Referenced by isc::dhcp::ClientId::fromText(), and isc::dhcp::DUID::fromText().
| 
 | inlinestaticconstexpr | 
| 
 | inlinestaticconstexpr | 
| 
 | inline | 
Compares two identifiers for inequality.
Definition at line 124 of file duid.h.
References IdentifierType(), and data_.
| 
 | inline | 
Compares two identifiers for equality.
Definition at line 117 of file duid.h.
References IdentifierType(), and data_.
| 
 | inline | 
Returns textual representation of the identifier (e.g.
00:01:02:03:ff)
Definition at line 88 of file duid.h.
References data_.
Referenced by isc::dhcp::Memfile_LeaseMgr::getLease4(), isc::dhcp::Memfile_LeaseMgr::getLease4(), isc::dhcp::LeaseMgr::getLease6(), isc::dhcp::Memfile_LeaseMgr::getLeases6(), isc::dhcp::Memfile_LeaseMgr::getLeases6(), isc::dhcp::Memfile_LeaseMgr::getLeases6(), isc::dhcp::Memfile_LeaseMgr::getLeases6ByRelayId(), isc::lease_query::LeaseQueryImpl4::leaseQueryLabel(), pkt4_receive(), pkt4_send(), pkt6_receive(), pkt6_send(), isc::perfdhcp::ExchangeStats::receivedLeases(), and isc::flex_id::retrieveFlexId().
| 
 | protected | 
The actual content of the Identifier.
Definition at line 131 of file duid.h.
Referenced by IdentifierType(), IdentifierType(), operator!=(), operator==(), and toText().