Kea 3.0.0
isc::dhcp::OptionDataTypeTraits< T > Struct Template Reference

Trait class for data types supported in DHCP option definitions. More...

#include <option_data_types.h>

Static Public Attributes

static const bool integer_type = false
static const int len = 0
static const OptionDataType type = OPT_UNKNOWN_TYPE
static const bool valid = false

Detailed Description

template<typename T>
struct isc::dhcp::OptionDataTypeTraits< T >

Trait class for data types supported in DHCP option definitions.

This is useful to check whether the type specified as template parameter is supported by classes like OptionInt, OptionIntArray and some template factory functions in OptionDefinition class.

Definition at line 95 of file option_data_types.h.

Member Data Documentation

◆ integer_type

◆ len

◆ type

◆ valid

template<typename T>
const bool isc::dhcp::OptionDataTypeTraits< T >::valid = false
static

Definition at line 96 of file option_data_types.h.


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