![]() |
Kea
1.5.0
|
Indicate if an OptionalValue is is specified or not.
More...
#include <optional_value.h>
Public Member Functions | |
| OptionalValueState (const bool specified) | |
| Constructor. More... | |
Public Attributes | |
| bool | specified_ |
| A bool value encapsulated by this structure. More... | |
Indicate if an OptionalValue is is specified or not.
This is a simple wrapper class which holds a boolean value to indicate if the OptionalValue is specified or not. By using this class in the OptionalValue class constructor we avoid the ambiguity when the OptionalValue encapsulates a bool type.
Definition at line 21 of file optional_value.h.
|
inline |
Constructor.
| specified | A boolean value to be assigned. |
Definition at line 26 of file optional_value.h.
| bool isc::util::OptionalValueState::specified_ |
A bool value encapsulated by this structure.
Definition at line 30 of file optional_value.h.
Referenced by isc::util::OptionalValue< T >::specify().