userver
C++ Async Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
unbreakable_dependency_cycle_conv.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/proto-structs/io/userver/proto_structs/unbreakable_dependency_cycle_conv.hpp
4
/// @brief Provides read/write context class with the ability to handle.
5
/// @ref proto_structs::UnbreakableDependencyCycle conversion
6
7
#
include
<
userver
/
proto
-
structs
/
io
/
userver
/
proto_structs
/
unbreakable_dependency_cycle
.
hpp
>
8
9
#
include
<
userver
/
proto
-
structs
/
io
/
fwd
.
hpp
>
10
11
USERVER_NAMESPACE_BEGIN
12
13
namespace
proto_structs::io {
14
15
template
<
typename
TField>
16
UnbreakableDependencyCycle ReadProtoField(
17
ReadContext&,
18
To<UnbreakableDependencyCycle>,
19
int
/*field_number*/
,
20
const
TField&
/*message_field*/
21
) {
22
return
{};
23
}
24
25
template
<
typename
TField>
26
void
WriteProtoField(
27
WriteContext&,
28
const
UnbreakableDependencyCycle&
/*struct_field*/
,
29
int
/*field_number*/
,
30
TField&
/*message_field*/
31
) {}
32
33
template
<
typename
TField>
34
void
WriteProtoField(
35
WriteContext&,
36
UnbreakableDependencyCycle&&
/*struct_field*/
,
37
int
/*field_number*/
,
38
TField&
/*message_field*/
39
) {}
40
41
}
// namespace proto_structs::io
42
43
USERVER_NAMESPACE_END
proto-structs
include
userver
proto-structs
io
userver
proto_structs
unbreakable_dependency_cycle_conv.hpp
Generated on
for userver by
Doxygen
1.17.0