Kea
2.7.6
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
d
e
f
h
i
k
m
n
o
p
r
s
t
u
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Typedefs
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
v
w
y
Enumerations
a
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
w
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
y
Related Symbols
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Functions
a
b
c
d
e
g
h
i
l
m
n
p
q
r
s
u
v
w
y
Variables
b
c
d
e
f
h
l
n
o
p
q
r
s
t
u
y
Typedefs
Enumerations
Enumerator
d
s
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
y
key_from_key.h
Go to the documentation of this file.
1
// Copyright (C) 2013-2024 Internet Systems Consortium, Inc. ("ISC")
2
//
3
// This Source Code Form is subject to the terms of the Mozilla Public
4
// License, v. 2.0. If a copy of the MPL was not distributed with this
5
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
7
#ifndef KEY_FROM_KEY_H
8
#define KEY_FROM_KEY_H
9
10
#include <functional>
11
12
namespace
isc
{
13
namespace
dhcp {
14
44
template
<
typename
KeyExtractor1,
typename
KeyExtractor2>
45
class
KeyFromKeyExtractor
{
46
public
:
47
typedef
typename
KeyExtractor1::result_type
result_type
;
48
50
KeyFromKeyExtractor
()
51
: key1_(KeyExtractor1()), key2_(KeyExtractor2()) { }
50
KeyFromKeyExtractor
() {
…
}
52
58
template
<
typename
T>
59
result_type
operator()
(T& arg)
const
{
60
return
(key1_(key2_(arg)));
61
}
59
result_type
operator()
(T& arg)
const
{
…
}
62
private
:
65
KeyExtractor1 key1_;
68
KeyExtractor2 key2_;
69
};
45
class
KeyFromKeyExtractor
{
…
};
70
71
}
// end of isc::dhcp namespace
72
}
// end of isc namespace
73
74
#endif
// KEY_FROM_KEY_H
isc::dhcp::KeyFromKeyExtractor
Utility class which cascades two key extractors.
Definition
key_from_key.h:45
isc::dhcp::KeyFromKeyExtractor::operator()
result_type operator()(T &arg) const
Extract key value from the object hierarchy.
Definition
key_from_key.h:59
isc::dhcp::KeyFromKeyExtractor::KeyFromKeyExtractor
KeyFromKeyExtractor()
Constructor.
Definition
key_from_key.h:50
isc::dhcp::KeyFromKeyExtractor::result_type
KeyExtractor1::result_type result_type
Definition
key_from_key.h:47
isc
Defines the logger used by the top-level component of kea-lfc.
Definition
agent_parser.cc:148
src
lib
dhcpsrv
key_from_key.h
Generated on Tue Dec 24 2024 13:23:55 for Kea by
1.12.0