Kea  2.1.7-git
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 92 of file option_data_types.h.

Member Data Documentation

◆ integer_type

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

Definition at line 95 of file option_data_types.h.

◆ len

template<typename T >
const int isc::dhcp::OptionDataTypeTraits< T >::len = 0
static

Definition at line 94 of file option_data_types.h.

◆ type

template<typename T >
const OptionDataType isc::dhcp::OptionDataTypeTraits< T >::type = OPT_UNKNOWN_TYPE
static

Definition at line 96 of file option_data_types.h.

◆ valid

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

Definition at line 93 of file option_data_types.h.


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