Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
0aa08164
Commit
0aa08164
authored
Jun 28, 2018
by
Kenton Varda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Auto-generated: Update bootstraps.
parent
d5892261
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
602 additions
and
318 deletions
+602
-318
json.capnp.c++
c++/src/capnp/compat/json.capnp.c++
+215
-69
json.capnp.h
c++/src/capnp/compat/json.capnp.h
+387
-249
No files found.
c++/src/capnp/compat/json.capnp.c++
View file @
0aa08164
...
...
@@ -5,28 +5,27 @@
namespace
capnp
{
namespace
schemas
{
static
const
::
capnp
::
_
::
AlignedData
<
13
8
>
b_8825ffaa852cda72
=
{
static
const
::
capnp
::
_
::
AlignedData
<
13
7
>
b_a3fa7845f919dd83
=
{
{
0
,
0
,
0
,
0
,
5
,
0
,
6
,
0
,
1
14
,
218
,
44
,
133
,
170
,
255
,
37
,
136
,
1
31
,
221
,
25
,
249
,
69
,
120
,
250
,
163
,
24
,
0
,
0
,
0
,
1
,
0
,
2
,
0
,
52
,
94
,
58
,
164
,
151
,
146
,
249
,
142
,
1
,
0
,
7
,
0
,
0
,
0
,
7
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
21
,
0
,
0
,
0
,
18
,
1
,
0
,
0
,
3
7
,
0
,
0
,
0
,
39
,
0
,
0
,
0
,
21
,
0
,
0
,
0
,
242
,
0
,
0
,
0
,
3
3
,
0
,
0
,
0
,
39
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
5
7
,
0
,
0
,
0
,
143
,
1
,
0
,
0
,
5
3
,
0
,
0
,
0
,
143
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
99
,
97
,
112
,
110
,
112
,
47
,
99
,
111
,
109
,
112
,
97
,
116
,
47
,
106
,
115
,
111
,
110
,
46
,
99
,
97
,
112
,
110
,
112
,
58
,
74
,
115
,
111
,
110
,
86
,
97
,
108
,
117
,
101
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
86
,
97
,
108
,
117
,
101
,
0
,
0
,
0
,
8
,
0
,
0
,
0
,
1
,
0
,
1
,
0
,
2
04
,
55
,
169
,
83
,
216
,
85
,
120
,
194
,
2
23
,
157
,
214
,
53
,
231
,
38
,
16
,
227
,
9
,
0
,
0
,
0
,
50
,
0
,
0
,
0
,
96
,
187
,
212
,
61
,
21
,
132
,
191
,
155
,
72
,
61
,
201
,
161
,
236
,
246
,
217
,
160
,
5
,
0
,
0
,
0
,
42
,
0
,
0
,
0
,
70
,
105
,
101
,
108
,
100
,
0
,
0
,
0
,
67
,
97
,
108
,
108
,
0
,
0
,
0
,
0
,
...
...
@@ -118,7 +117,7 @@ static const ::capnp::_::AlignedData<138> b_8825ffaa852cda72 = {
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
3
,
0
,
1
,
0
,
16
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
14
,
218
,
44
,
133
,
170
,
255
,
37
,
136
,
1
31
,
221
,
25
,
249
,
69
,
120
,
250
,
163
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
14
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
...
...
@@ -130,7 +129,7 @@ static const ::capnp::_::AlignedData<138> b_8825ffaa852cda72 = {
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
3
,
0
,
1
,
0
,
16
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
2
04
,
55
,
169
,
83
,
216
,
85
,
120
,
194
,
2
23
,
157
,
214
,
53
,
231
,
38
,
16
,
227
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
14
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
...
...
@@ -138,35 +137,35 @@ static const ::capnp::_::AlignedData<138> b_8825ffaa852cda72 = {
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
99
,
97
,
108
,
108
,
0
,
0
,
0
,
0
,
16
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
96
,
187
,
212
,
61
,
21
,
132
,
191
,
155
,
72
,
61
,
201
,
161
,
236
,
246
,
217
,
160
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
16
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
}
};
::
capnp
::
word
const
*
const
bp_
8825ffaa852cda72
=
b_8825ffaa852cda72
.
words
;
::
capnp
::
word
const
*
const
bp_
a3fa7845f919dd83
=
b_a3fa7845f919dd83
.
words
;
#if !CAPNP_LITE
static
const
::
capnp
::
_
::
RawSchema
*
const
d_
8825ffaa852cda72
[]
=
{
&
s_
8825ffaa852cda72
,
&
s_
9bbf84153dd4bb60
,
&
s_
c27855d853a937cc
,
static
const
::
capnp
::
_
::
RawSchema
*
const
d_
a3fa7845f919dd83
[]
=
{
&
s_
a0d9f6eca1c93d48
,
&
s_
a3fa7845f919dd83
,
&
s_
e31026e735d69ddf
,
};
static
const
uint16_t
m_
8825ffaa852cda72
[]
=
{
4
,
1
,
6
,
0
,
2
,
5
,
3
};
static
const
uint16_t
i_
8825ffaa852cda72
[]
=
{
0
,
1
,
2
,
3
,
4
,
5
,
6
};
const
::
capnp
::
_
::
RawSchema
s_
8825ffaa852cda72
=
{
0x
8825ffaa852cda72
,
b_8825ffaa852cda72
.
words
,
138
,
d_8825ffaa852cda72
,
m_8825ffaa852cda72
,
3
,
7
,
i_
8825ffaa852cda72
,
nullptr
,
nullptr
,
{
&
s_8825ffaa852cda72
,
nullptr
,
nullptr
,
0
,
0
,
nullptr
}
static
const
uint16_t
m_
a3fa7845f919dd83
[]
=
{
4
,
1
,
6
,
0
,
2
,
5
,
3
};
static
const
uint16_t
i_
a3fa7845f919dd83
[]
=
{
0
,
1
,
2
,
3
,
4
,
5
,
6
};
const
::
capnp
::
_
::
RawSchema
s_
a3fa7845f919dd83
=
{
0x
a3fa7845f919dd83
,
b_a3fa7845f919dd83
.
words
,
137
,
d_a3fa7845f919dd83
,
m_a3fa7845f919dd83
,
3
,
7
,
i_
a3fa7845f919dd83
,
nullptr
,
nullptr
,
{
&
s_a3fa7845f919dd83
,
nullptr
,
nullptr
,
0
,
0
,
nullptr
}
};
#endif // !CAPNP_LITE
static
const
::
capnp
::
_
::
AlignedData
<
49
>
b_
c27855d853a937cc
=
{
static
const
::
capnp
::
_
::
AlignedData
<
49
>
b_
e31026e735d69ddf
=
{
{
0
,
0
,
0
,
0
,
5
,
0
,
6
,
0
,
2
04
,
55
,
169
,
83
,
216
,
85
,
120
,
194
,
3
4
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
1
14
,
218
,
44
,
133
,
170
,
255
,
37
,
136
,
2
23
,
157
,
214
,
53
,
231
,
38
,
16
,
227
,
3
0
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
1
31
,
221
,
25
,
249
,
69
,
120
,
250
,
163
,
2
,
0
,
7
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
21
,
0
,
0
,
0
,
66
,
1
,
0
,
0
,
21
,
0
,
0
,
0
,
34
,
1
,
0
,
0
,
37
,
0
,
0
,
0
,
7
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
33
,
0
,
0
,
0
,
119
,
0
,
0
,
0
,
...
...
@@ -175,8 +174,8 @@ static const ::capnp::_::AlignedData<49> b_c27855d853a937cc = {
99
,
97
,
112
,
110
,
112
,
47
,
99
,
111
,
109
,
112
,
97
,
116
,
47
,
106
,
115
,
111
,
110
,
46
,
99
,
97
,
112
,
110
,
112
,
58
,
74
,
115
,
111
,
110
,
86
,
97
,
108
,
117
,
101
,
46
,
70
,
105
,
101
,
108
,
10
0
,
0
,
86
,
97
,
108
,
117
,
101
,
46
,
70
,
105
,
101
,
108
,
100
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
1
,
0
,
8
,
0
,
0
,
0
,
3
,
0
,
4
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
...
...
@@ -203,33 +202,33 @@ static const ::capnp::_::AlignedData<49> b_c27855d853a937cc = {
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
118
,
97
,
108
,
117
,
101
,
0
,
0
,
0
,
16
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
14
,
218
,
44
,
133
,
170
,
255
,
37
,
136
,
1
31
,
221
,
25
,
249
,
69
,
120
,
250
,
163
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
16
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
}
};
::
capnp
::
word
const
*
const
bp_
c27855d853a937cc
=
b_c27855d853a937cc
.
words
;
::
capnp
::
word
const
*
const
bp_
e31026e735d69ddf
=
b_e31026e735d69ddf
.
words
;
#if !CAPNP_LITE
static
const
::
capnp
::
_
::
RawSchema
*
const
d_
c27855d853a937cc
[]
=
{
&
s_
8825ffaa852cda72
,
static
const
::
capnp
::
_
::
RawSchema
*
const
d_
e31026e735d69ddf
[]
=
{
&
s_
a3fa7845f919dd83
,
};
static
const
uint16_t
m_
c27855d853a937cc
[]
=
{
0
,
1
};
static
const
uint16_t
i_
c27855d853a937cc
[]
=
{
0
,
1
};
const
::
capnp
::
_
::
RawSchema
s_
c27855d853a937cc
=
{
0x
c27855d853a937cc
,
b_c27855d853a937cc
.
words
,
49
,
d_c27855d853a937cc
,
m_c27855d853a937cc
,
1
,
2
,
i_
c27855d853a937cc
,
nullptr
,
nullptr
,
{
&
s_c27855d853a937cc
,
nullptr
,
nullptr
,
0
,
0
,
nullptr
}
static
const
uint16_t
m_
e31026e735d69ddf
[]
=
{
0
,
1
};
static
const
uint16_t
i_
e31026e735d69ddf
[]
=
{
0
,
1
};
const
::
capnp
::
_
::
RawSchema
s_
e31026e735d69ddf
=
{
0x
e31026e735d69ddf
,
b_e31026e735d69ddf
.
words
,
49
,
d_e31026e735d69ddf
,
m_e31026e735d69ddf
,
1
,
2
,
i_
e31026e735d69ddf
,
nullptr
,
nullptr
,
{
&
s_e31026e735d69ddf
,
nullptr
,
nullptr
,
0
,
0
,
nullptr
}
};
#endif // !CAPNP_LITE
static
const
::
capnp
::
_
::
AlignedData
<
54
>
b_
9bbf84153dd4bb60
=
{
static
const
::
capnp
::
_
::
AlignedData
<
54
>
b_
a0d9f6eca1c93d48
=
{
{
0
,
0
,
0
,
0
,
5
,
0
,
6
,
0
,
96
,
187
,
212
,
61
,
21
,
132
,
191
,
155
,
3
4
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
1
14
,
218
,
44
,
133
,
170
,
255
,
37
,
136
,
72
,
61
,
201
,
161
,
236
,
246
,
217
,
160
,
3
0
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
1
31
,
221
,
25
,
249
,
69
,
120
,
250
,
163
,
2
,
0
,
7
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
21
,
0
,
0
,
0
,
58
,
1
,
0
,
0
,
21
,
0
,
0
,
0
,
26
,
1
,
0
,
0
,
37
,
0
,
0
,
0
,
7
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
33
,
0
,
0
,
0
,
119
,
0
,
0
,
0
,
...
...
@@ -238,8 +237,8 @@ static const ::capnp::_::AlignedData<54> b_9bbf84153dd4bb60 = {
99
,
97
,
112
,
110
,
112
,
47
,
99
,
111
,
109
,
112
,
97
,
116
,
47
,
106
,
115
,
111
,
110
,
46
,
99
,
97
,
112
,
110
,
112
,
58
,
74
,
115
,
111
,
110
,
86
,
97
,
108
,
11
7
,
10
1
,
46
,
67
,
97
,
108
,
108
,
0
,
0
,
86
,
97
,
108
,
117
,
101
,
46
,
67
,
9
7
,
10
8
,
108
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
1
,
0
,
8
,
0
,
0
,
0
,
3
,
0
,
4
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
...
...
@@ -271,23 +270,160 @@ static const ::capnp::_::AlignedData<54> b_9bbf84153dd4bb60 = {
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
3
,
0
,
1
,
0
,
16
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
14
,
218
,
44
,
133
,
170
,
255
,
37
,
136
,
1
31
,
221
,
25
,
249
,
69
,
120
,
250
,
163
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
14
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
}
};
::
capnp
::
word
const
*
const
bp_9bbf84153dd4bb60
=
b_9bbf84153dd4bb60
.
words
;
::
capnp
::
word
const
*
const
bp_a0d9f6eca1c93d48
=
b_a0d9f6eca1c93d48
.
words
;
#if !CAPNP_LITE
static
const
::
capnp
::
_
::
RawSchema
*
const
d_a0d9f6eca1c93d48
[]
=
{
&
s_a3fa7845f919dd83
,
};
static
const
uint16_t
m_a0d9f6eca1c93d48
[]
=
{
0
,
1
};
static
const
uint16_t
i_a0d9f6eca1c93d48
[]
=
{
0
,
1
};
const
::
capnp
::
_
::
RawSchema
s_a0d9f6eca1c93d48
=
{
0xa0d9f6eca1c93d48
,
b_a0d9f6eca1c93d48
.
words
,
54
,
d_a0d9f6eca1c93d48
,
m_a0d9f6eca1c93d48
,
1
,
2
,
i_a0d9f6eca1c93d48
,
nullptr
,
nullptr
,
{
&
s_a0d9f6eca1c93d48
,
nullptr
,
nullptr
,
0
,
0
,
nullptr
}
};
#endif // !CAPNP_LITE
static
const
::
capnp
::
_
::
AlignedData
<
21
>
b_fa5b1fd61c2e7c3d
=
{
{
0
,
0
,
0
,
0
,
5
,
0
,
6
,
0
,
61
,
124
,
46
,
28
,
214
,
31
,
91
,
250
,
24
,
0
,
0
,
0
,
5
,
0
,
232
,
2
,
52
,
94
,
58
,
164
,
151
,
146
,
249
,
142
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
21
,
0
,
0
,
0
,
234
,
0
,
0
,
0
,
33
,
0
,
0
,
0
,
7
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
28
,
0
,
0
,
0
,
3
,
0
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
99
,
97
,
112
,
110
,
112
,
47
,
99
,
111
,
109
,
112
,
97
,
116
,
47
,
106
,
115
,
111
,
110
,
46
,
99
,
97
,
112
,
110
,
112
,
58
,
110
,
97
,
109
,
101
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
1
,
0
,
12
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
}
};
::
capnp
::
word
const
*
const
bp_fa5b1fd61c2e7c3d
=
b_fa5b1fd61c2e7c3d
.
words
;
#if !CAPNP_LITE
const
::
capnp
::
_
::
RawSchema
s_fa5b1fd61c2e7c3d
=
{
0xfa5b1fd61c2e7c3d
,
b_fa5b1fd61c2e7c3d
.
words
,
21
,
nullptr
,
nullptr
,
0
,
0
,
nullptr
,
nullptr
,
nullptr
,
{
&
s_fa5b1fd61c2e7c3d
,
nullptr
,
nullptr
,
0
,
0
,
nullptr
}
};
#endif // !CAPNP_LITE
static
const
::
capnp
::
_
::
AlignedData
<
21
>
b_82d3e852af0336bf
=
{
{
0
,
0
,
0
,
0
,
5
,
0
,
6
,
0
,
191
,
54
,
3
,
175
,
82
,
232
,
211
,
130
,
24
,
0
,
0
,
0
,
5
,
0
,
224
,
0
,
52
,
94
,
58
,
164
,
151
,
146
,
249
,
142
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
21
,
0
,
0
,
0
,
2
,
1
,
0
,
0
,
33
,
0
,
0
,
0
,
7
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
28
,
0
,
0
,
0
,
3
,
0
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
99
,
97
,
112
,
110
,
112
,
47
,
99
,
111
,
109
,
112
,
97
,
116
,
47
,
106
,
115
,
111
,
110
,
46
,
99
,
97
,
112
,
110
,
112
,
58
,
102
,
108
,
97
,
116
,
116
,
101
,
110
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
1
,
0
,
16
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
97
,
234
,
194
,
123
,
37
,
19
,
223
,
196
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
}
};
::
capnp
::
word
const
*
const
bp_82d3e852af0336bf
=
b_82d3e852af0336bf
.
words
;
#if !CAPNP_LITE
const
::
capnp
::
_
::
RawSchema
s_82d3e852af0336bf
=
{
0x82d3e852af0336bf
,
b_82d3e852af0336bf
.
words
,
21
,
nullptr
,
nullptr
,
0
,
0
,
nullptr
,
nullptr
,
nullptr
,
{
&
s_82d3e852af0336bf
,
nullptr
,
nullptr
,
0
,
0
,
nullptr
}
};
#endif // !CAPNP_LITE
static
const
::
capnp
::
_
::
AlignedData
<
35
>
b_c4df13257bc2ea61
=
{
{
0
,
0
,
0
,
0
,
5
,
0
,
6
,
0
,
97
,
234
,
194
,
123
,
37
,
19
,
223
,
196
,
24
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
52
,
94
,
58
,
164
,
151
,
146
,
249
,
142
,
1
,
0
,
7
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
21
,
0
,
0
,
0
,
58
,
1
,
0
,
0
,
37
,
0
,
0
,
0
,
7
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
33
,
0
,
0
,
0
,
63
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
99
,
97
,
112
,
110
,
112
,
47
,
99
,
111
,
109
,
112
,
97
,
116
,
47
,
106
,
115
,
111
,
110
,
46
,
99
,
97
,
112
,
110
,
112
,
58
,
70
,
108
,
97
,
116
,
116
,
101
,
110
,
79
,
112
,
116
,
105
,
111
,
110
,
115
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
1
,
0
,
4
,
0
,
0
,
0
,
3
,
0
,
4
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
13
,
0
,
0
,
0
,
58
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
8
,
0
,
0
,
0
,
3
,
0
,
1
,
0
,
20
,
0
,
0
,
0
,
2
,
0
,
1
,
0
,
112
,
114
,
101
,
102
,
105
,
120
,
0
,
0
,
12
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
12
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
10
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
}
};
::
capnp
::
word
const
*
const
bp_c4df13257bc2ea61
=
b_c4df13257bc2ea61
.
words
;
#if !CAPNP_LITE
static
const
::
capnp
::
_
::
RawSchema
*
const
d_9bbf84153dd4bb60
[]
=
{
&
s_8825ffaa852cda72
,
static
const
uint16_t
m_c4df13257bc2ea61
[]
=
{
0
};
static
const
uint16_t
i_c4df13257bc2ea61
[]
=
{
0
};
const
::
capnp
::
_
::
RawSchema
s_c4df13257bc2ea61
=
{
0xc4df13257bc2ea61
,
b_c4df13257bc2ea61
.
words
,
35
,
nullptr
,
m_c4df13257bc2ea61
,
0
,
1
,
i_c4df13257bc2ea61
,
nullptr
,
nullptr
,
{
&
s_c4df13257bc2ea61
,
nullptr
,
nullptr
,
0
,
0
,
nullptr
}
};
static
const
uint16_t
m_9bbf84153dd4bb60
[]
=
{
0
,
1
};
static
const
uint16_t
i_9bbf84153dd4bb60
[]
=
{
0
,
1
};
const
::
capnp
::
_
::
RawSchema
s_9bbf84153dd4bb60
=
{
0x9bbf84153dd4bb60
,
b_9bbf84153dd4bb60
.
words
,
54
,
d_9bbf84153dd4bb60
,
m_9bbf84153dd4bb60
,
1
,
2
,
i_9bbf84153dd4bb60
,
nullptr
,
nullptr
,
{
&
s_9bbf84153dd4bb60
,
nullptr
,
nullptr
,
0
,
0
,
nullptr
}
#endif // !CAPNP_LITE
static
const
::
capnp
::
_
::
AlignedData
<
22
>
b_cfa794e8d19a0162
=
{
{
0
,
0
,
0
,
0
,
5
,
0
,
6
,
0
,
98
,
1
,
154
,
209
,
232
,
148
,
167
,
207
,
24
,
0
,
0
,
0
,
5
,
0
,
80
,
0
,
52
,
94
,
58
,
164
,
151
,
146
,
249
,
142
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
21
,
0
,
0
,
0
,
50
,
1
,
0
,
0
,
37
,
0
,
0
,
0
,
7
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
32
,
0
,
0
,
0
,
3
,
0
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
99
,
97
,
112
,
110
,
112
,
47
,
99
,
111
,
109
,
112
,
97
,
116
,
47
,
106
,
115
,
111
,
110
,
46
,
99
,
97
,
112
,
110
,
112
,
58
,
100
,
105
,
115
,
99
,
114
,
105
,
109
,
105
,
110
,
97
,
116
,
111
,
114
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
1
,
0
,
12
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
}
};
::
capnp
::
word
const
*
const
bp_cfa794e8d19a0162
=
b_cfa794e8d19a0162
.
words
;
#if !CAPNP_LITE
const
::
capnp
::
_
::
RawSchema
s_cfa794e8d19a0162
=
{
0xcfa794e8d19a0162
,
b_cfa794e8d19a0162
.
words
,
22
,
nullptr
,
nullptr
,
0
,
0
,
nullptr
,
nullptr
,
nullptr
,
{
&
s_cfa794e8d19a0162
,
nullptr
,
nullptr
,
0
,
0
,
nullptr
}
};
#endif // !CAPNP_LITE
}
// namespace schemas
...
...
@@ -296,31 +432,41 @@ const ::capnp::_::RawSchema s_9bbf84153dd4bb60 = {
// =======================================================================================
namespace
capnp
{
namespace
json
{
//
Json
Value
constexpr
uint16_t
Json
Value
::
_capnpPrivate
::
dataWordSize
;
constexpr
uint16_t
Json
Value
::
_capnpPrivate
::
pointerCount
;
// Value
constexpr
uint16_t
Value
::
_capnpPrivate
::
dataWordSize
;
constexpr
uint16_t
Value
::
_capnpPrivate
::
pointerCount
;
#if !CAPNP_LITE
constexpr
::
capnp
::
Kind
Json
Value
::
_capnpPrivate
::
kind
;
constexpr
::
capnp
::
_
::
RawSchema
const
*
Json
Value
::
_capnpPrivate
::
schema
;
constexpr
::
capnp
::
Kind
Value
::
_capnpPrivate
::
kind
;
constexpr
::
capnp
::
_
::
RawSchema
const
*
Value
::
_capnpPrivate
::
schema
;
#endif // !CAPNP_LITE
//
Json
Value::Field
constexpr
uint16_t
Json
Value
::
Field
::
_capnpPrivate
::
dataWordSize
;
constexpr
uint16_t
Json
Value
::
Field
::
_capnpPrivate
::
pointerCount
;
// Value::Field
constexpr
uint16_t
Value
::
Field
::
_capnpPrivate
::
dataWordSize
;
constexpr
uint16_t
Value
::
Field
::
_capnpPrivate
::
pointerCount
;
#if !CAPNP_LITE
constexpr
::
capnp
::
Kind
Json
Value
::
Field
::
_capnpPrivate
::
kind
;
constexpr
::
capnp
::
_
::
RawSchema
const
*
Json
Value
::
Field
::
_capnpPrivate
::
schema
;
constexpr
::
capnp
::
Kind
Value
::
Field
::
_capnpPrivate
::
kind
;
constexpr
::
capnp
::
_
::
RawSchema
const
*
Value
::
Field
::
_capnpPrivate
::
schema
;
#endif // !CAPNP_LITE
//
Json
Value::Call
constexpr
uint16_t
Json
Value
::
Call
::
_capnpPrivate
::
dataWordSize
;
constexpr
uint16_t
Json
Value
::
Call
::
_capnpPrivate
::
pointerCount
;
// Value::Call
constexpr
uint16_t
Value
::
Call
::
_capnpPrivate
::
dataWordSize
;
constexpr
uint16_t
Value
::
Call
::
_capnpPrivate
::
pointerCount
;
#if !CAPNP_LITE
constexpr
::
capnp
::
Kind
Json
Value
::
Call
::
_capnpPrivate
::
kind
;
constexpr
::
capnp
::
_
::
RawSchema
const
*
Json
Value
::
Call
::
_capnpPrivate
::
schema
;
constexpr
::
capnp
::
Kind
Value
::
Call
::
_capnpPrivate
::
kind
;
constexpr
::
capnp
::
_
::
RawSchema
const
*
Value
::
Call
::
_capnpPrivate
::
schema
;
#endif // !CAPNP_LITE
// FlattenOptions
constexpr
uint16_t
FlattenOptions
::
_capnpPrivate
::
dataWordSize
;
constexpr
uint16_t
FlattenOptions
::
_capnpPrivate
::
pointerCount
;
#if !CAPNP_LITE
constexpr
::
capnp
::
Kind
FlattenOptions
::
_capnpPrivate
::
kind
;
constexpr
::
capnp
::
_
::
RawSchema
const
*
FlattenOptions
::
_capnpPrivate
::
schema
;
#endif // !CAPNP_LITE
}
// namespace
}
// namespace
c++/src/capnp/compat/json.capnp.h
View file @
0aa08164
...
...
@@ -17,17 +17,22 @@
namespace
capnp
{
namespace
schemas
{
CAPNP_DECLARE_SCHEMA
(
8825
ffaa852cda72
);
CAPNP_DECLARE_SCHEMA
(
c27855d853a937cc
);
CAPNP_DECLARE_SCHEMA
(
9
bbf84153dd4bb60
);
CAPNP_DECLARE_SCHEMA
(
a3fa7845f919dd83
);
CAPNP_DECLARE_SCHEMA
(
e31026e735d69ddf
);
CAPNP_DECLARE_SCHEMA
(
a0d9f6eca1c93d48
);
CAPNP_DECLARE_SCHEMA
(
fa5b1fd61c2e7c3d
);
CAPNP_DECLARE_SCHEMA
(
82
d3e852af0336bf
);
CAPNP_DECLARE_SCHEMA
(
c4df13257bc2ea61
);
CAPNP_DECLARE_SCHEMA
(
cfa794e8d19a0162
);
}
// namespace schemas
}
// namespace capnp
namespace
capnp
{
namespace
json
{
struct
Json
Value
{
Json
Value
()
=
delete
;
struct
Value
{
Value
()
=
delete
;
class
Reader
;
class
Builder
;
...
...
@@ -45,14 +50,14 @@ struct JsonValue {
struct
Call
;
struct
_capnpPrivate
{
CAPNP_DECLARE_STRUCT_HEADER
(
8825
ffaa852cda72
,
2
,
1
)
CAPNP_DECLARE_STRUCT_HEADER
(
a3fa7845f919dd83
,
2
,
1
)
#if !CAPNP_LITE
static
constexpr
::
capnp
::
_
::
RawBrandedSchema
const
*
brand
()
{
return
&
schema
->
defaultBrand
;
}
#endif // !CAPNP_LITE
};
};
struct
Json
Value
::
Field
{
struct
Value
::
Field
{
Field
()
=
delete
;
class
Reader
;
...
...
@@ -60,14 +65,14 @@ struct JsonValue::Field {
class
Pipeline
;
struct
_capnpPrivate
{
CAPNP_DECLARE_STRUCT_HEADER
(
c27855d853a937cc
,
0
,
2
)
CAPNP_DECLARE_STRUCT_HEADER
(
e31026e735d69ddf
,
0
,
2
)
#if !CAPNP_LITE
static
constexpr
::
capnp
::
_
::
RawBrandedSchema
const
*
brand
()
{
return
&
schema
->
defaultBrand
;
}
#endif // !CAPNP_LITE
};
};
struct
Json
Value
::
Call
{
struct
Value
::
Call
{
Call
()
=
delete
;
class
Reader
;
...
...
@@ -75,7 +80,22 @@ struct JsonValue::Call {
class
Pipeline
;
struct
_capnpPrivate
{
CAPNP_DECLARE_STRUCT_HEADER
(
9
bbf84153dd4bb60
,
0
,
2
)
CAPNP_DECLARE_STRUCT_HEADER
(
a0d9f6eca1c93d48
,
0
,
2
)
#if !CAPNP_LITE
static
constexpr
::
capnp
::
_
::
RawBrandedSchema
const
*
brand
()
{
return
&
schema
->
defaultBrand
;
}
#endif // !CAPNP_LITE
};
};
struct
FlattenOptions
{
FlattenOptions
()
=
delete
;
class
Reader
;
class
Builder
;
class
Pipeline
;
struct
_capnpPrivate
{
CAPNP_DECLARE_STRUCT_HEADER
(
c4df13257bc2ea61
,
0
,
1
)
#if !CAPNP_LITE
static
constexpr
::
capnp
::
_
::
RawBrandedSchema
const
*
brand
()
{
return
&
schema
->
defaultBrand
;
}
#endif // !CAPNP_LITE
...
...
@@ -84,9 +104,9 @@ struct JsonValue::Call {
// =======================================================================================
class
Json
Value
::
Reader
{
class
Value
::
Reader
{
public
:
typedef
Json
Value
Reads
;
typedef
Value
Reads
;
Reader
()
=
default
;
inline
explicit
Reader
(
::
capnp
::
_
::
StructReader
base
)
:
_reader
(
base
)
{}
...
...
@@ -117,15 +137,15 @@ public:
inline
bool
isArray
()
const
;
inline
bool
hasArray
()
const
;
inline
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Reader
getArray
()
const
;
inline
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Reader
getArray
()
const
;
inline
bool
isObject
()
const
;
inline
bool
hasObject
()
const
;
inline
::
capnp
::
List
<
::
capnp
::
Json
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>::
Reader
getObject
()
const
;
inline
::
capnp
::
List
<
::
capnp
::
json
::
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>::
Reader
getObject
()
const
;
inline
bool
isCall
()
const
;
inline
bool
hasCall
()
const
;
inline
::
capnp
::
Json
Value
::
Call
::
Reader
getCall
()
const
;
inline
::
capnp
::
json
::
Value
::
Call
::
Reader
getCall
()
const
;
private
:
::
capnp
::
_
::
StructReader
_reader
;
...
...
@@ -139,9 +159,9 @@ private:
friend
class
::
capnp
::
Orphanage
;
};
class
Json
Value
::
Builder
{
class
Value
::
Builder
{
public
:
typedef
Json
Value
Builds
;
typedef
Value
Builds
;
Builder
()
=
delete
;
// Deleted to discourage incorrect usage.
// You can explicitly initialize to nullptr instead.
...
...
@@ -178,27 +198,27 @@ public:
inline
bool
isArray
();
inline
bool
hasArray
();
inline
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Builder
getArray
();
inline
void
setArray
(
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Reader
value
);
inline
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Builder
initArray
(
unsigned
int
size
);
inline
void
adoptArray
(
::
capnp
::
Orphan
<
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>>&&
value
);
inline
::
capnp
::
Orphan
<
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>>
disownArray
();
inline
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Builder
getArray
();
inline
void
setArray
(
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Reader
value
);
inline
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Builder
initArray
(
unsigned
int
size
);
inline
void
adoptArray
(
::
capnp
::
Orphan
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>>&&
value
);
inline
::
capnp
::
Orphan
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>>
disownArray
();
inline
bool
isObject
();
inline
bool
hasObject
();
inline
::
capnp
::
List
<
::
capnp
::
Json
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>::
Builder
getObject
();
inline
void
setObject
(
::
capnp
::
List
<
::
capnp
::
Json
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>::
Reader
value
);
inline
::
capnp
::
List
<
::
capnp
::
Json
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>::
Builder
initObject
(
unsigned
int
size
);
inline
void
adoptObject
(
::
capnp
::
Orphan
<
::
capnp
::
List
<
::
capnp
::
Json
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>>&&
value
);
inline
::
capnp
::
Orphan
<
::
capnp
::
List
<
::
capnp
::
Json
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>>
disownObject
();
inline
::
capnp
::
List
<
::
capnp
::
json
::
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>::
Builder
getObject
();
inline
void
setObject
(
::
capnp
::
List
<
::
capnp
::
json
::
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>::
Reader
value
);
inline
::
capnp
::
List
<
::
capnp
::
json
::
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>::
Builder
initObject
(
unsigned
int
size
);
inline
void
adoptObject
(
::
capnp
::
Orphan
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>>&&
value
);
inline
::
capnp
::
Orphan
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>>
disownObject
();
inline
bool
isCall
();
inline
bool
hasCall
();
inline
::
capnp
::
Json
Value
::
Call
::
Builder
getCall
();
inline
void
setCall
(
::
capnp
::
Json
Value
::
Call
::
Reader
value
);
inline
::
capnp
::
Json
Value
::
Call
::
Builder
initCall
();
inline
void
adoptCall
(
::
capnp
::
Orphan
<
::
capnp
::
Json
Value
::
Call
>&&
value
);
inline
::
capnp
::
Orphan
<
::
capnp
::
Json
Value
::
Call
>
disownCall
();
inline
::
capnp
::
json
::
Value
::
Call
::
Builder
getCall
();
inline
void
setCall
(
::
capnp
::
json
::
Value
::
Call
::
Reader
value
);
inline
::
capnp
::
json
::
Value
::
Call
::
Builder
initCall
();
inline
void
adoptCall
(
::
capnp
::
Orphan
<
::
capnp
::
json
::
Value
::
Call
>&&
value
);
inline
::
capnp
::
Orphan
<
::
capnp
::
json
::
Value
::
Call
>
disownCall
();
private
:
::
capnp
::
_
::
StructBuilder
_builder
;
...
...
@@ -210,9 +230,9 @@ private:
};
#if !CAPNP_LITE
class
Json
Value
::
Pipeline
{
class
Value
::
Pipeline
{
public
:
typedef
Json
Value
Pipelines
;
typedef
Value
Pipelines
;
inline
Pipeline
(
decltype
(
nullptr
))
:
_typeless
(
nullptr
)
{}
inline
explicit
Pipeline
(
::
capnp
::
AnyPointer
::
Pipeline
&&
typeless
)
...
...
@@ -226,7 +246,7 @@ private:
};
#endif // !CAPNP_LITE
class
Json
Value
::
Field
::
Reader
{
class
Value
::
Field
::
Reader
{
public
:
typedef
Field
Reads
;
...
...
@@ -247,7 +267,7 @@ public:
inline
::
capnp
::
Text
::
Reader
getName
()
const
;
inline
bool
hasValue
()
const
;
inline
::
capnp
::
Json
Value
::
Reader
getValue
()
const
;
inline
::
capnp
::
json
::
Value
::
Reader
getValue
()
const
;
private
:
::
capnp
::
_
::
StructReader
_reader
;
...
...
@@ -261,7 +281,7 @@ private:
friend
class
::
capnp
::
Orphanage
;
};
class
Json
Value
::
Field
::
Builder
{
class
Value
::
Field
::
Builder
{
public
:
typedef
Field
Builds
;
...
...
@@ -285,11 +305,11 @@ public:
inline
::
capnp
::
Orphan
<
::
capnp
::
Text
>
disownName
();
inline
bool
hasValue
();
inline
::
capnp
::
Json
Value
::
Builder
getValue
();
inline
void
setValue
(
::
capnp
::
Json
Value
::
Reader
value
);
inline
::
capnp
::
Json
Value
::
Builder
initValue
();
inline
void
adoptValue
(
::
capnp
::
Orphan
<
::
capnp
::
Json
Value
>&&
value
);
inline
::
capnp
::
Orphan
<
::
capnp
::
Json
Value
>
disownValue
();
inline
::
capnp
::
json
::
Value
::
Builder
getValue
();
inline
void
setValue
(
::
capnp
::
json
::
Value
::
Reader
value
);
inline
::
capnp
::
json
::
Value
::
Builder
initValue
();
inline
void
adoptValue
(
::
capnp
::
Orphan
<
::
capnp
::
json
::
Value
>&&
value
);
inline
::
capnp
::
Orphan
<
::
capnp
::
json
::
Value
>
disownValue
();
private
:
::
capnp
::
_
::
StructBuilder
_builder
;
...
...
@@ -301,7 +321,7 @@ private:
};
#if !CAPNP_LITE
class
Json
Value
::
Field
::
Pipeline
{
class
Value
::
Field
::
Pipeline
{
public
:
typedef
Field
Pipelines
;
...
...
@@ -309,7 +329,7 @@ public:
inline
explicit
Pipeline
(
::
capnp
::
AnyPointer
::
Pipeline
&&
typeless
)
:
_typeless
(
kj
::
mv
(
typeless
))
{}
inline
::
capnp
::
Json
Value
::
Pipeline
getValue
();
inline
::
capnp
::
json
::
Value
::
Pipeline
getValue
();
private
:
::
capnp
::
AnyPointer
::
Pipeline
_typeless
;
friend
class
::
capnp
::
PipelineHook
;
...
...
@@ -318,7 +338,7 @@ private:
};
#endif // !CAPNP_LITE
class
Json
Value
::
Call
::
Reader
{
class
Value
::
Call
::
Reader
{
public
:
typedef
Call
Reads
;
...
...
@@ -339,7 +359,7 @@ public:
inline
::
capnp
::
Text
::
Reader
getFunction
()
const
;
inline
bool
hasParams
()
const
;
inline
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Reader
getParams
()
const
;
inline
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Reader
getParams
()
const
;
private
:
::
capnp
::
_
::
StructReader
_reader
;
...
...
@@ -353,7 +373,7 @@ private:
friend
class
::
capnp
::
Orphanage
;
};
class
Json
Value
::
Call
::
Builder
{
class
Value
::
Call
::
Builder
{
public
:
typedef
Call
Builds
;
...
...
@@ -377,11 +397,11 @@ public:
inline
::
capnp
::
Orphan
<
::
capnp
::
Text
>
disownFunction
();
inline
bool
hasParams
();
inline
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Builder
getParams
();
inline
void
setParams
(
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Reader
value
);
inline
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Builder
initParams
(
unsigned
int
size
);
inline
void
adoptParams
(
::
capnp
::
Orphan
<
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>>&&
value
);
inline
::
capnp
::
Orphan
<
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>>
disownParams
();
inline
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Builder
getParams
();
inline
void
setParams
(
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Reader
value
);
inline
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Builder
initParams
(
unsigned
int
size
);
inline
void
adoptParams
(
::
capnp
::
Orphan
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>>&&
value
);
inline
::
capnp
::
Orphan
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>>
disownParams
();
private
:
::
capnp
::
_
::
StructBuilder
_builder
;
...
...
@@ -393,7 +413,7 @@ private:
};
#if !CAPNP_LITE
class
Json
Value
::
Call
::
Pipeline
{
class
Value
::
Call
::
Pipeline
{
public
:
typedef
Call
Pipelines
;
...
...
@@ -409,451 +429,569 @@ private:
};
#endif // !CAPNP_LITE
class
FlattenOptions
::
Reader
{
public
:
typedef
FlattenOptions
Reads
;
Reader
()
=
default
;
inline
explicit
Reader
(
::
capnp
::
_
::
StructReader
base
)
:
_reader
(
base
)
{}
inline
::
capnp
::
MessageSize
totalSize
()
const
{
return
_reader
.
totalSize
().
asPublic
();
}
#if !CAPNP_LITE
inline
::
kj
::
StringTree
toString
()
const
{
return
::
capnp
::
_
::
structString
(
_reader
,
*
_capnpPrivate
::
brand
());
}
#endif // !CAPNP_LITE
inline
bool
hasPrefix
()
const
;
inline
::
capnp
::
Text
::
Reader
getPrefix
()
const
;
private
:
::
capnp
::
_
::
StructReader
_reader
;
template
<
typename
,
::
capnp
::
Kind
>
friend
struct
::
capnp
::
ToDynamic_
;
template
<
typename
,
::
capnp
::
Kind
>
friend
struct
::
capnp
::
_
::
PointerHelpers
;
template
<
typename
,
::
capnp
::
Kind
>
friend
struct
::
capnp
::
List
;
friend
class
::
capnp
::
MessageBuilder
;
friend
class
::
capnp
::
Orphanage
;
};
class
FlattenOptions
::
Builder
{
public
:
typedef
FlattenOptions
Builds
;
Builder
()
=
delete
;
// Deleted to discourage incorrect usage.
// You can explicitly initialize to nullptr instead.
inline
Builder
(
decltype
(
nullptr
))
{}
inline
explicit
Builder
(
::
capnp
::
_
::
StructBuilder
base
)
:
_builder
(
base
)
{}
inline
operator
Reader
()
const
{
return
Reader
(
_builder
.
asReader
());
}
inline
Reader
asReader
()
const
{
return
*
this
;
}
inline
::
capnp
::
MessageSize
totalSize
()
const
{
return
asReader
().
totalSize
();
}
#if !CAPNP_LITE
inline
::
kj
::
StringTree
toString
()
const
{
return
asReader
().
toString
();
}
#endif // !CAPNP_LITE
inline
bool
hasPrefix
();
inline
::
capnp
::
Text
::
Builder
getPrefix
();
inline
void
setPrefix
(
::
capnp
::
Text
::
Reader
value
);
inline
::
capnp
::
Text
::
Builder
initPrefix
(
unsigned
int
size
);
inline
void
adoptPrefix
(
::
capnp
::
Orphan
<
::
capnp
::
Text
>&&
value
);
inline
::
capnp
::
Orphan
<
::
capnp
::
Text
>
disownPrefix
();
private
:
::
capnp
::
_
::
StructBuilder
_builder
;
template
<
typename
,
::
capnp
::
Kind
>
friend
struct
::
capnp
::
ToDynamic_
;
friend
class
::
capnp
::
Orphanage
;
template
<
typename
,
::
capnp
::
Kind
>
friend
struct
::
capnp
::
_
::
PointerHelpers
;
};
#if !CAPNP_LITE
class
FlattenOptions
::
Pipeline
{
public
:
typedef
FlattenOptions
Pipelines
;
inline
Pipeline
(
decltype
(
nullptr
))
:
_typeless
(
nullptr
)
{}
inline
explicit
Pipeline
(
::
capnp
::
AnyPointer
::
Pipeline
&&
typeless
)
:
_typeless
(
kj
::
mv
(
typeless
))
{}
private
:
::
capnp
::
AnyPointer
::
Pipeline
_typeless
;
friend
class
::
capnp
::
PipelineHook
;
template
<
typename
,
::
capnp
::
Kind
>
friend
struct
::
capnp
::
ToDynamic_
;
};
#endif // !CAPNP_LITE
// =======================================================================================
inline
::
capnp
::
JsonValue
::
Which
Json
Value
::
Reader
::
which
()
const
{
inline
::
capnp
::
json
::
Value
::
Which
Value
::
Reader
::
which
()
const
{
return
_reader
.
getDataField
<
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
);
}
inline
::
capnp
::
JsonValue
::
Which
Json
Value
::
Builder
::
which
()
{
inline
::
capnp
::
json
::
Value
::
Which
Value
::
Builder
::
which
()
{
return
_builder
.
getDataField
<
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
);
}
inline
bool
Json
Value
::
Reader
::
isNull
()
const
{
return
which
()
==
Json
Value
::
NULL_
;
inline
bool
Value
::
Reader
::
isNull
()
const
{
return
which
()
==
Value
::
NULL_
;
}
inline
bool
Json
Value
::
Builder
::
isNull
()
{
return
which
()
==
Json
Value
::
NULL_
;
inline
bool
Value
::
Builder
::
isNull
()
{
return
which
()
==
Value
::
NULL_
;
}
inline
::
capnp
::
Void
Json
Value
::
Reader
::
getNull
()
const
{
KJ_IREQUIRE
((
which
()
==
Json
Value
::
NULL_
),
inline
::
capnp
::
Void
Value
::
Reader
::
getNull
()
const
{
KJ_IREQUIRE
((
which
()
==
Value
::
NULL_
),
"Must check which() before get()ing a union member."
);
return
_reader
.
getDataField
<
::
capnp
::
Void
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
);
}
inline
::
capnp
::
Void
Json
Value
::
Builder
::
getNull
()
{
KJ_IREQUIRE
((
which
()
==
Json
Value
::
NULL_
),
inline
::
capnp
::
Void
Value
::
Builder
::
getNull
()
{
KJ_IREQUIRE
((
which
()
==
Value
::
NULL_
),
"Must check which() before get()ing a union member."
);
return
_builder
.
getDataField
<
::
capnp
::
Void
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
);
}
inline
void
Json
Value
::
Builder
::
setNull
(
::
capnp
::
Void
value
)
{
_builder
.
setDataField
<
Json
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Json
Value
::
NULL_
);
inline
void
Value
::
Builder
::
setNull
(
::
capnp
::
Void
value
)
{
_builder
.
setDataField
<
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Value
::
NULL_
);
_builder
.
setDataField
<
::
capnp
::
Void
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
value
);
}
inline
bool
Json
Value
::
Reader
::
isBoolean
()
const
{
return
which
()
==
Json
Value
::
BOOLEAN
;
inline
bool
Value
::
Reader
::
isBoolean
()
const
{
return
which
()
==
Value
::
BOOLEAN
;
}
inline
bool
Json
Value
::
Builder
::
isBoolean
()
{
return
which
()
==
Json
Value
::
BOOLEAN
;
inline
bool
Value
::
Builder
::
isBoolean
()
{
return
which
()
==
Value
::
BOOLEAN
;
}
inline
bool
Json
Value
::
Reader
::
getBoolean
()
const
{
KJ_IREQUIRE
((
which
()
==
Json
Value
::
BOOLEAN
),
inline
bool
Value
::
Reader
::
getBoolean
()
const
{
KJ_IREQUIRE
((
which
()
==
Value
::
BOOLEAN
),
"Must check which() before get()ing a union member."
);
return
_reader
.
getDataField
<
bool
>
(
::
capnp
::
bounded
<
16
>
()
*
::
capnp
::
ELEMENTS
);
}
inline
bool
Json
Value
::
Builder
::
getBoolean
()
{
KJ_IREQUIRE
((
which
()
==
Json
Value
::
BOOLEAN
),
inline
bool
Value
::
Builder
::
getBoolean
()
{
KJ_IREQUIRE
((
which
()
==
Value
::
BOOLEAN
),
"Must check which() before get()ing a union member."
);
return
_builder
.
getDataField
<
bool
>
(
::
capnp
::
bounded
<
16
>
()
*
::
capnp
::
ELEMENTS
);
}
inline
void
Json
Value
::
Builder
::
setBoolean
(
bool
value
)
{
_builder
.
setDataField
<
Json
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Json
Value
::
BOOLEAN
);
inline
void
Value
::
Builder
::
setBoolean
(
bool
value
)
{
_builder
.
setDataField
<
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Value
::
BOOLEAN
);
_builder
.
setDataField
<
bool
>
(
::
capnp
::
bounded
<
16
>
()
*
::
capnp
::
ELEMENTS
,
value
);
}
inline
bool
Json
Value
::
Reader
::
isNumber
()
const
{
return
which
()
==
Json
Value
::
NUMBER
;
inline
bool
Value
::
Reader
::
isNumber
()
const
{
return
which
()
==
Value
::
NUMBER
;
}
inline
bool
Json
Value
::
Builder
::
isNumber
()
{
return
which
()
==
Json
Value
::
NUMBER
;
inline
bool
Value
::
Builder
::
isNumber
()
{
return
which
()
==
Value
::
NUMBER
;
}
inline
double
Json
Value
::
Reader
::
getNumber
()
const
{
KJ_IREQUIRE
((
which
()
==
Json
Value
::
NUMBER
),
inline
double
Value
::
Reader
::
getNumber
()
const
{
KJ_IREQUIRE
((
which
()
==
Value
::
NUMBER
),
"Must check which() before get()ing a union member."
);
return
_reader
.
getDataField
<
double
>
(
::
capnp
::
bounded
<
1
>
()
*
::
capnp
::
ELEMENTS
);
}
inline
double
Json
Value
::
Builder
::
getNumber
()
{
KJ_IREQUIRE
((
which
()
==
Json
Value
::
NUMBER
),
inline
double
Value
::
Builder
::
getNumber
()
{
KJ_IREQUIRE
((
which
()
==
Value
::
NUMBER
),
"Must check which() before get()ing a union member."
);
return
_builder
.
getDataField
<
double
>
(
::
capnp
::
bounded
<
1
>
()
*
::
capnp
::
ELEMENTS
);
}
inline
void
Json
Value
::
Builder
::
setNumber
(
double
value
)
{
_builder
.
setDataField
<
Json
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Json
Value
::
NUMBER
);
inline
void
Value
::
Builder
::
setNumber
(
double
value
)
{
_builder
.
setDataField
<
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Value
::
NUMBER
);
_builder
.
setDataField
<
double
>
(
::
capnp
::
bounded
<
1
>
()
*
::
capnp
::
ELEMENTS
,
value
);
}
inline
bool
Json
Value
::
Reader
::
isString
()
const
{
return
which
()
==
Json
Value
::
STRING
;
inline
bool
Value
::
Reader
::
isString
()
const
{
return
which
()
==
Value
::
STRING
;
}
inline
bool
Json
Value
::
Builder
::
isString
()
{
return
which
()
==
Json
Value
::
STRING
;
inline
bool
Value
::
Builder
::
isString
()
{
return
which
()
==
Value
::
STRING
;
}
inline
bool
Json
Value
::
Reader
::
hasString
()
const
{
if
(
which
()
!=
Json
Value
::
STRING
)
return
false
;
inline
bool
Value
::
Reader
::
hasString
()
const
{
if
(
which
()
!=
Value
::
STRING
)
return
false
;
return
!
_reader
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
).
isNull
();
}
inline
bool
Json
Value
::
Builder
::
hasString
()
{
if
(
which
()
!=
Json
Value
::
STRING
)
return
false
;
inline
bool
Value
::
Builder
::
hasString
()
{
if
(
which
()
!=
Value
::
STRING
)
return
false
;
return
!
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
).
isNull
();
}
inline
::
capnp
::
Text
::
Reader
Json
Value
::
Reader
::
getString
()
const
{
KJ_IREQUIRE
((
which
()
==
Json
Value
::
STRING
),
inline
::
capnp
::
Text
::
Reader
Value
::
Reader
::
getString
()
const
{
KJ_IREQUIRE
((
which
()
==
Value
::
STRING
),
"Must check which() before get()ing a union member."
);
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Text
>::
get
(
_reader
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
));
}
inline
::
capnp
::
Text
::
Builder
Json
Value
::
Builder
::
getString
()
{
KJ_IREQUIRE
((
which
()
==
Json
Value
::
STRING
),
inline
::
capnp
::
Text
::
Builder
Value
::
Builder
::
getString
()
{
KJ_IREQUIRE
((
which
()
==
Value
::
STRING
),
"Must check which() before get()ing a union member."
);
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Text
>::
get
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
));
}
inline
void
Json
Value
::
Builder
::
setString
(
::
capnp
::
Text
::
Reader
value
)
{
_builder
.
setDataField
<
Json
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Json
Value
::
STRING
);
inline
void
Value
::
Builder
::
setString
(
::
capnp
::
Text
::
Reader
value
)
{
_builder
.
setDataField
<
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Value
::
STRING
);
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Text
>::
set
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
),
value
);
}
inline
::
capnp
::
Text
::
Builder
Json
Value
::
Builder
::
initString
(
unsigned
int
size
)
{
_builder
.
setDataField
<
Json
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Json
Value
::
STRING
);
inline
::
capnp
::
Text
::
Builder
Value
::
Builder
::
initString
(
unsigned
int
size
)
{
_builder
.
setDataField
<
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Value
::
STRING
);
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Text
>::
init
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
),
size
);
}
inline
void
Json
Value
::
Builder
::
adoptString
(
inline
void
Value
::
Builder
::
adoptString
(
::
capnp
::
Orphan
<
::
capnp
::
Text
>&&
value
)
{
_builder
.
setDataField
<
Json
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Json
Value
::
STRING
);
_builder
.
setDataField
<
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Value
::
STRING
);
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Text
>::
adopt
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
),
kj
::
mv
(
value
));
}
inline
::
capnp
::
Orphan
<
::
capnp
::
Text
>
Json
Value
::
Builder
::
disownString
()
{
KJ_IREQUIRE
((
which
()
==
Json
Value
::
STRING
),
inline
::
capnp
::
Orphan
<
::
capnp
::
Text
>
Value
::
Builder
::
disownString
()
{
KJ_IREQUIRE
((
which
()
==
Value
::
STRING
),
"Must check which() before get()ing a union member."
);
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Text
>::
disown
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
));
}
inline
bool
Json
Value
::
Reader
::
isArray
()
const
{
return
which
()
==
Json
Value
::
ARRAY
;
inline
bool
Value
::
Reader
::
isArray
()
const
{
return
which
()
==
Value
::
ARRAY
;
}
inline
bool
Json
Value
::
Builder
::
isArray
()
{
return
which
()
==
Json
Value
::
ARRAY
;
inline
bool
Value
::
Builder
::
isArray
()
{
return
which
()
==
Value
::
ARRAY
;
}
inline
bool
Json
Value
::
Reader
::
hasArray
()
const
{
if
(
which
()
!=
Json
Value
::
ARRAY
)
return
false
;
inline
bool
Value
::
Reader
::
hasArray
()
const
{
if
(
which
()
!=
Value
::
ARRAY
)
return
false
;
return
!
_reader
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
).
isNull
();
}
inline
bool
Json
Value
::
Builder
::
hasArray
()
{
if
(
which
()
!=
Json
Value
::
ARRAY
)
return
false
;
inline
bool
Value
::
Builder
::
hasArray
()
{
if
(
which
()
!=
Value
::
ARRAY
)
return
false
;
return
!
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
).
isNull
();
}
inline
::
capnp
::
List
<
::
capnp
::
JsonValue
,
::
capnp
::
Kind
::
STRUCT
>::
Reader
Json
Value
::
Reader
::
getArray
()
const
{
KJ_IREQUIRE
((
which
()
==
Json
Value
::
ARRAY
),
inline
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Reader
Value
::
Reader
::
getArray
()
const
{
KJ_IREQUIRE
((
which
()
==
Value
::
ARRAY
),
"Must check which() before get()ing a union member."
);
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>>::
get
(
_reader
.
getPointerField
(
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>>::
get
(
_reader
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
));
}
inline
::
capnp
::
List
<
::
capnp
::
JsonValue
,
::
capnp
::
Kind
::
STRUCT
>::
Builder
Json
Value
::
Builder
::
getArray
()
{
KJ_IREQUIRE
((
which
()
==
Json
Value
::
ARRAY
),
inline
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Builder
Value
::
Builder
::
getArray
()
{
KJ_IREQUIRE
((
which
()
==
Value
::
ARRAY
),
"Must check which() before get()ing a union member."
);
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>>::
get
(
_builder
.
getPointerField
(
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>>::
get
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
));
}
inline
void
JsonValue
::
Builder
::
setArray
(
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Reader
value
)
{
_builder
.
setDataField
<
Json
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Json
Value
::
ARRAY
);
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>>::
set
(
_builder
.
getPointerField
(
inline
void
Value
::
Builder
::
setArray
(
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Reader
value
)
{
_builder
.
setDataField
<
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Value
::
ARRAY
);
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>>::
set
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
),
value
);
}
inline
::
capnp
::
List
<
::
capnp
::
JsonValue
,
::
capnp
::
Kind
::
STRUCT
>::
Builder
Json
Value
::
Builder
::
initArray
(
unsigned
int
size
)
{
_builder
.
setDataField
<
Json
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Json
Value
::
ARRAY
);
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>>::
init
(
_builder
.
getPointerField
(
inline
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Builder
Value
::
Builder
::
initArray
(
unsigned
int
size
)
{
_builder
.
setDataField
<
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Value
::
ARRAY
);
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>>::
init
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
),
size
);
}
inline
void
Json
Value
::
Builder
::
adoptArray
(
::
capnp
::
Orphan
<
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>>&&
value
)
{
_builder
.
setDataField
<
Json
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Json
Value
::
ARRAY
);
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>>::
adopt
(
_builder
.
getPointerField
(
inline
void
Value
::
Builder
::
adoptArray
(
::
capnp
::
Orphan
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>>&&
value
)
{
_builder
.
setDataField
<
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Value
::
ARRAY
);
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>>::
adopt
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
),
kj
::
mv
(
value
));
}
inline
::
capnp
::
Orphan
<
::
capnp
::
List
<
::
capnp
::
JsonValue
,
::
capnp
::
Kind
::
STRUCT
>>
Json
Value
::
Builder
::
disownArray
()
{
KJ_IREQUIRE
((
which
()
==
Json
Value
::
ARRAY
),
inline
::
capnp
::
Orphan
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>>
Value
::
Builder
::
disownArray
()
{
KJ_IREQUIRE
((
which
()
==
Value
::
ARRAY
),
"Must check which() before get()ing a union member."
);
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>>::
disown
(
_builder
.
getPointerField
(
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>>::
disown
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
));
}
inline
bool
Json
Value
::
Reader
::
isObject
()
const
{
return
which
()
==
Json
Value
::
OBJECT
;
inline
bool
Value
::
Reader
::
isObject
()
const
{
return
which
()
==
Value
::
OBJECT
;
}
inline
bool
Json
Value
::
Builder
::
isObject
()
{
return
which
()
==
Json
Value
::
OBJECT
;
inline
bool
Value
::
Builder
::
isObject
()
{
return
which
()
==
Value
::
OBJECT
;
}
inline
bool
Json
Value
::
Reader
::
hasObject
()
const
{
if
(
which
()
!=
Json
Value
::
OBJECT
)
return
false
;
inline
bool
Value
::
Reader
::
hasObject
()
const
{
if
(
which
()
!=
Value
::
OBJECT
)
return
false
;
return
!
_reader
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
).
isNull
();
}
inline
bool
Json
Value
::
Builder
::
hasObject
()
{
if
(
which
()
!=
Json
Value
::
OBJECT
)
return
false
;
inline
bool
Value
::
Builder
::
hasObject
()
{
if
(
which
()
!=
Value
::
OBJECT
)
return
false
;
return
!
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
).
isNull
();
}
inline
::
capnp
::
List
<
::
capnp
::
JsonValue
::
Field
,
::
capnp
::
Kind
::
STRUCT
>::
Reader
Json
Value
::
Reader
::
getObject
()
const
{
KJ_IREQUIRE
((
which
()
==
Json
Value
::
OBJECT
),
inline
::
capnp
::
List
<
::
capnp
::
json
::
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>::
Reader
Value
::
Reader
::
getObject
()
const
{
KJ_IREQUIRE
((
which
()
==
Value
::
OBJECT
),
"Must check which() before get()ing a union member."
);
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
Json
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>>::
get
(
_reader
.
getPointerField
(
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>>::
get
(
_reader
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
));
}
inline
::
capnp
::
List
<
::
capnp
::
JsonValue
::
Field
,
::
capnp
::
Kind
::
STRUCT
>::
Builder
Json
Value
::
Builder
::
getObject
()
{
KJ_IREQUIRE
((
which
()
==
Json
Value
::
OBJECT
),
inline
::
capnp
::
List
<
::
capnp
::
json
::
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>::
Builder
Value
::
Builder
::
getObject
()
{
KJ_IREQUIRE
((
which
()
==
Value
::
OBJECT
),
"Must check which() before get()ing a union member."
);
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
Json
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>>::
get
(
_builder
.
getPointerField
(
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>>::
get
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
));
}
inline
void
JsonValue
::
Builder
::
setObject
(
::
capnp
::
List
<
::
capnp
::
Json
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>::
Reader
value
)
{
_builder
.
setDataField
<
Json
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Json
Value
::
OBJECT
);
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
Json
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>>::
set
(
_builder
.
getPointerField
(
inline
void
Value
::
Builder
::
setObject
(
::
capnp
::
List
<
::
capnp
::
json
::
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>::
Reader
value
)
{
_builder
.
setDataField
<
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Value
::
OBJECT
);
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>>::
set
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
),
value
);
}
inline
::
capnp
::
List
<
::
capnp
::
JsonValue
::
Field
,
::
capnp
::
Kind
::
STRUCT
>::
Builder
Json
Value
::
Builder
::
initObject
(
unsigned
int
size
)
{
_builder
.
setDataField
<
Json
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Json
Value
::
OBJECT
);
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
Json
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>>::
init
(
_builder
.
getPointerField
(
inline
::
capnp
::
List
<
::
capnp
::
json
::
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>::
Builder
Value
::
Builder
::
initObject
(
unsigned
int
size
)
{
_builder
.
setDataField
<
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Value
::
OBJECT
);
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>>::
init
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
),
size
);
}
inline
void
Json
Value
::
Builder
::
adoptObject
(
::
capnp
::
Orphan
<
::
capnp
::
List
<
::
capnp
::
Json
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>>&&
value
)
{
_builder
.
setDataField
<
Json
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Json
Value
::
OBJECT
);
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
Json
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>>::
adopt
(
_builder
.
getPointerField
(
inline
void
Value
::
Builder
::
adoptObject
(
::
capnp
::
Orphan
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>>&&
value
)
{
_builder
.
setDataField
<
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Value
::
OBJECT
);
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>>::
adopt
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
),
kj
::
mv
(
value
));
}
inline
::
capnp
::
Orphan
<
::
capnp
::
List
<
::
capnp
::
JsonValue
::
Field
,
::
capnp
::
Kind
::
STRUCT
>>
Json
Value
::
Builder
::
disownObject
()
{
KJ_IREQUIRE
((
which
()
==
Json
Value
::
OBJECT
),
inline
::
capnp
::
Orphan
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>>
Value
::
Builder
::
disownObject
()
{
KJ_IREQUIRE
((
which
()
==
Value
::
OBJECT
),
"Must check which() before get()ing a union member."
);
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
Json
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>>::
disown
(
_builder
.
getPointerField
(
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
::
Field
,
::
capnp
::
Kind
::
STRUCT
>>::
disown
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
));
}
inline
bool
Json
Value
::
Reader
::
isCall
()
const
{
return
which
()
==
Json
Value
::
CALL
;
inline
bool
Value
::
Reader
::
isCall
()
const
{
return
which
()
==
Value
::
CALL
;
}
inline
bool
Json
Value
::
Builder
::
isCall
()
{
return
which
()
==
Json
Value
::
CALL
;
inline
bool
Value
::
Builder
::
isCall
()
{
return
which
()
==
Value
::
CALL
;
}
inline
bool
Json
Value
::
Reader
::
hasCall
()
const
{
if
(
which
()
!=
Json
Value
::
CALL
)
return
false
;
inline
bool
Value
::
Reader
::
hasCall
()
const
{
if
(
which
()
!=
Value
::
CALL
)
return
false
;
return
!
_reader
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
).
isNull
();
}
inline
bool
Json
Value
::
Builder
::
hasCall
()
{
if
(
which
()
!=
Json
Value
::
CALL
)
return
false
;
inline
bool
Value
::
Builder
::
hasCall
()
{
if
(
which
()
!=
Value
::
CALL
)
return
false
;
return
!
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
).
isNull
();
}
inline
::
capnp
::
JsonValue
::
Call
::
Reader
Json
Value
::
Reader
::
getCall
()
const
{
KJ_IREQUIRE
((
which
()
==
Json
Value
::
CALL
),
inline
::
capnp
::
json
::
Value
::
Call
::
Reader
Value
::
Reader
::
getCall
()
const
{
KJ_IREQUIRE
((
which
()
==
Value
::
CALL
),
"Must check which() before get()ing a union member."
);
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Json
Value
::
Call
>::
get
(
_reader
.
getPointerField
(
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
json
::
Value
::
Call
>::
get
(
_reader
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
));
}
inline
::
capnp
::
JsonValue
::
Call
::
Builder
Json
Value
::
Builder
::
getCall
()
{
KJ_IREQUIRE
((
which
()
==
Json
Value
::
CALL
),
inline
::
capnp
::
json
::
Value
::
Call
::
Builder
Value
::
Builder
::
getCall
()
{
KJ_IREQUIRE
((
which
()
==
Value
::
CALL
),
"Must check which() before get()ing a union member."
);
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Json
Value
::
Call
>::
get
(
_builder
.
getPointerField
(
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
json
::
Value
::
Call
>::
get
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
));
}
inline
void
JsonValue
::
Builder
::
setCall
(
::
capnp
::
Json
Value
::
Call
::
Reader
value
)
{
_builder
.
setDataField
<
Json
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Json
Value
::
CALL
);
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Json
Value
::
Call
>::
set
(
_builder
.
getPointerField
(
inline
void
Value
::
Builder
::
setCall
(
::
capnp
::
json
::
Value
::
Call
::
Reader
value
)
{
_builder
.
setDataField
<
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Value
::
CALL
);
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
json
::
Value
::
Call
>::
set
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
),
value
);
}
inline
::
capnp
::
JsonValue
::
Call
::
Builder
Json
Value
::
Builder
::
initCall
()
{
_builder
.
setDataField
<
Json
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Json
Value
::
CALL
);
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Json
Value
::
Call
>::
init
(
_builder
.
getPointerField
(
inline
::
capnp
::
json
::
Value
::
Call
::
Builder
Value
::
Builder
::
initCall
()
{
_builder
.
setDataField
<
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Value
::
CALL
);
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
json
::
Value
::
Call
>::
init
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
));
}
inline
void
Json
Value
::
Builder
::
adoptCall
(
::
capnp
::
Orphan
<
::
capnp
::
Json
Value
::
Call
>&&
value
)
{
_builder
.
setDataField
<
Json
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Json
Value
::
CALL
);
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Json
Value
::
Call
>::
adopt
(
_builder
.
getPointerField
(
inline
void
Value
::
Builder
::
adoptCall
(
::
capnp
::
Orphan
<
::
capnp
::
json
::
Value
::
Call
>&&
value
)
{
_builder
.
setDataField
<
Value
::
Which
>
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
ELEMENTS
,
Value
::
CALL
);
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
json
::
Value
::
Call
>::
adopt
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
),
kj
::
mv
(
value
));
}
inline
::
capnp
::
Orphan
<
::
capnp
::
JsonValue
::
Call
>
Json
Value
::
Builder
::
disownCall
()
{
KJ_IREQUIRE
((
which
()
==
Json
Value
::
CALL
),
inline
::
capnp
::
Orphan
<
::
capnp
::
json
::
Value
::
Call
>
Value
::
Builder
::
disownCall
()
{
KJ_IREQUIRE
((
which
()
==
Value
::
CALL
),
"Must check which() before get()ing a union member."
);
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Json
Value
::
Call
>::
disown
(
_builder
.
getPointerField
(
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
json
::
Value
::
Call
>::
disown
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
));
}
inline
bool
Json
Value
::
Field
::
Reader
::
hasName
()
const
{
inline
bool
Value
::
Field
::
Reader
::
hasName
()
const
{
return
!
_reader
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
).
isNull
();
}
inline
bool
Json
Value
::
Field
::
Builder
::
hasName
()
{
inline
bool
Value
::
Field
::
Builder
::
hasName
()
{
return
!
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
).
isNull
();
}
inline
::
capnp
::
Text
::
Reader
Json
Value
::
Field
::
Reader
::
getName
()
const
{
inline
::
capnp
::
Text
::
Reader
Value
::
Field
::
Reader
::
getName
()
const
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Text
>::
get
(
_reader
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
));
}
inline
::
capnp
::
Text
::
Builder
Json
Value
::
Field
::
Builder
::
getName
()
{
inline
::
capnp
::
Text
::
Builder
Value
::
Field
::
Builder
::
getName
()
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Text
>::
get
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
));
}
inline
void
Json
Value
::
Field
::
Builder
::
setName
(
::
capnp
::
Text
::
Reader
value
)
{
inline
void
Value
::
Field
::
Builder
::
setName
(
::
capnp
::
Text
::
Reader
value
)
{
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Text
>::
set
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
),
value
);
}
inline
::
capnp
::
Text
::
Builder
Json
Value
::
Field
::
Builder
::
initName
(
unsigned
int
size
)
{
inline
::
capnp
::
Text
::
Builder
Value
::
Field
::
Builder
::
initName
(
unsigned
int
size
)
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Text
>::
init
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
),
size
);
}
inline
void
Json
Value
::
Field
::
Builder
::
adoptName
(
inline
void
Value
::
Field
::
Builder
::
adoptName
(
::
capnp
::
Orphan
<
::
capnp
::
Text
>&&
value
)
{
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Text
>::
adopt
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
),
kj
::
mv
(
value
));
}
inline
::
capnp
::
Orphan
<
::
capnp
::
Text
>
Json
Value
::
Field
::
Builder
::
disownName
()
{
inline
::
capnp
::
Orphan
<
::
capnp
::
Text
>
Value
::
Field
::
Builder
::
disownName
()
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Text
>::
disown
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
));
}
inline
bool
Json
Value
::
Field
::
Reader
::
hasValue
()
const
{
inline
bool
Value
::
Field
::
Reader
::
hasValue
()
const
{
return
!
_reader
.
getPointerField
(
::
capnp
::
bounded
<
1
>
()
*
::
capnp
::
POINTERS
).
isNull
();
}
inline
bool
Json
Value
::
Field
::
Builder
::
hasValue
()
{
inline
bool
Value
::
Field
::
Builder
::
hasValue
()
{
return
!
_builder
.
getPointerField
(
::
capnp
::
bounded
<
1
>
()
*
::
capnp
::
POINTERS
).
isNull
();
}
inline
::
capnp
::
JsonValue
::
Reader
Json
Value
::
Field
::
Reader
::
getValue
()
const
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Json
Value
>::
get
(
_reader
.
getPointerField
(
inline
::
capnp
::
json
::
Value
::
Reader
Value
::
Field
::
Reader
::
getValue
()
const
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
json
::
Value
>::
get
(
_reader
.
getPointerField
(
::
capnp
::
bounded
<
1
>
()
*
::
capnp
::
POINTERS
));
}
inline
::
capnp
::
JsonValue
::
Builder
Json
Value
::
Field
::
Builder
::
getValue
()
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Json
Value
>::
get
(
_builder
.
getPointerField
(
inline
::
capnp
::
json
::
Value
::
Builder
Value
::
Field
::
Builder
::
getValue
()
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
json
::
Value
>::
get
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
1
>
()
*
::
capnp
::
POINTERS
));
}
#if !CAPNP_LITE
inline
::
capnp
::
JsonValue
::
Pipeline
Json
Value
::
Field
::
Pipeline
::
getValue
()
{
return
::
capnp
::
Json
Value
::
Pipeline
(
_typeless
.
getPointerField
(
1
));
inline
::
capnp
::
json
::
Value
::
Pipeline
Value
::
Field
::
Pipeline
::
getValue
()
{
return
::
capnp
::
json
::
Value
::
Pipeline
(
_typeless
.
getPointerField
(
1
));
}
#endif // !CAPNP_LITE
inline
void
JsonValue
::
Field
::
Builder
::
setValue
(
::
capnp
::
Json
Value
::
Reader
value
)
{
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Json
Value
>::
set
(
_builder
.
getPointerField
(
inline
void
Value
::
Field
::
Builder
::
setValue
(
::
capnp
::
json
::
Value
::
Reader
value
)
{
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
json
::
Value
>::
set
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
1
>
()
*
::
capnp
::
POINTERS
),
value
);
}
inline
::
capnp
::
JsonValue
::
Builder
Json
Value
::
Field
::
Builder
::
initValue
()
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Json
Value
>::
init
(
_builder
.
getPointerField
(
inline
::
capnp
::
json
::
Value
::
Builder
Value
::
Field
::
Builder
::
initValue
()
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
json
::
Value
>::
init
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
1
>
()
*
::
capnp
::
POINTERS
));
}
inline
void
Json
Value
::
Field
::
Builder
::
adoptValue
(
::
capnp
::
Orphan
<
::
capnp
::
Json
Value
>&&
value
)
{
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Json
Value
>::
adopt
(
_builder
.
getPointerField
(
inline
void
Value
::
Field
::
Builder
::
adoptValue
(
::
capnp
::
Orphan
<
::
capnp
::
json
::
Value
>&&
value
)
{
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
json
::
Value
>::
adopt
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
1
>
()
*
::
capnp
::
POINTERS
),
kj
::
mv
(
value
));
}
inline
::
capnp
::
Orphan
<
::
capnp
::
JsonValue
>
Json
Value
::
Field
::
Builder
::
disownValue
()
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Json
Value
>::
disown
(
_builder
.
getPointerField
(
inline
::
capnp
::
Orphan
<
::
capnp
::
json
::
Value
>
Value
::
Field
::
Builder
::
disownValue
()
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
json
::
Value
>::
disown
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
1
>
()
*
::
capnp
::
POINTERS
));
}
inline
bool
Json
Value
::
Call
::
Reader
::
hasFunction
()
const
{
inline
bool
Value
::
Call
::
Reader
::
hasFunction
()
const
{
return
!
_reader
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
).
isNull
();
}
inline
bool
Json
Value
::
Call
::
Builder
::
hasFunction
()
{
inline
bool
Value
::
Call
::
Builder
::
hasFunction
()
{
return
!
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
).
isNull
();
}
inline
::
capnp
::
Text
::
Reader
Json
Value
::
Call
::
Reader
::
getFunction
()
const
{
inline
::
capnp
::
Text
::
Reader
Value
::
Call
::
Reader
::
getFunction
()
const
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Text
>::
get
(
_reader
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
));
}
inline
::
capnp
::
Text
::
Builder
Json
Value
::
Call
::
Builder
::
getFunction
()
{
inline
::
capnp
::
Text
::
Builder
Value
::
Call
::
Builder
::
getFunction
()
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Text
>::
get
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
));
}
inline
void
Json
Value
::
Call
::
Builder
::
setFunction
(
::
capnp
::
Text
::
Reader
value
)
{
inline
void
Value
::
Call
::
Builder
::
setFunction
(
::
capnp
::
Text
::
Reader
value
)
{
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Text
>::
set
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
),
value
);
}
inline
::
capnp
::
Text
::
Builder
Json
Value
::
Call
::
Builder
::
initFunction
(
unsigned
int
size
)
{
inline
::
capnp
::
Text
::
Builder
Value
::
Call
::
Builder
::
initFunction
(
unsigned
int
size
)
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Text
>::
init
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
),
size
);
}
inline
void
Json
Value
::
Call
::
Builder
::
adoptFunction
(
inline
void
Value
::
Call
::
Builder
::
adoptFunction
(
::
capnp
::
Orphan
<
::
capnp
::
Text
>&&
value
)
{
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Text
>::
adopt
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
),
kj
::
mv
(
value
));
}
inline
::
capnp
::
Orphan
<
::
capnp
::
Text
>
Json
Value
::
Call
::
Builder
::
disownFunction
()
{
inline
::
capnp
::
Orphan
<
::
capnp
::
Text
>
Value
::
Call
::
Builder
::
disownFunction
()
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Text
>::
disown
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
));
}
inline
bool
Json
Value
::
Call
::
Reader
::
hasParams
()
const
{
inline
bool
Value
::
Call
::
Reader
::
hasParams
()
const
{
return
!
_reader
.
getPointerField
(
::
capnp
::
bounded
<
1
>
()
*
::
capnp
::
POINTERS
).
isNull
();
}
inline
bool
Json
Value
::
Call
::
Builder
::
hasParams
()
{
inline
bool
Value
::
Call
::
Builder
::
hasParams
()
{
return
!
_builder
.
getPointerField
(
::
capnp
::
bounded
<
1
>
()
*
::
capnp
::
POINTERS
).
isNull
();
}
inline
::
capnp
::
List
<
::
capnp
::
JsonValue
,
::
capnp
::
Kind
::
STRUCT
>::
Reader
Json
Value
::
Call
::
Reader
::
getParams
()
const
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>>::
get
(
_reader
.
getPointerField
(
inline
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Reader
Value
::
Call
::
Reader
::
getParams
()
const
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>>::
get
(
_reader
.
getPointerField
(
::
capnp
::
bounded
<
1
>
()
*
::
capnp
::
POINTERS
));
}
inline
::
capnp
::
List
<
::
capnp
::
JsonValue
,
::
capnp
::
Kind
::
STRUCT
>::
Builder
Json
Value
::
Call
::
Builder
::
getParams
()
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>>::
get
(
_builder
.
getPointerField
(
inline
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Builder
Value
::
Call
::
Builder
::
getParams
()
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>>::
get
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
1
>
()
*
::
capnp
::
POINTERS
));
}
inline
void
JsonValue
::
Call
::
Builder
::
setParams
(
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Reader
value
)
{
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>>::
set
(
_builder
.
getPointerField
(
inline
void
Value
::
Call
::
Builder
::
setParams
(
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Reader
value
)
{
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>>::
set
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
1
>
()
*
::
capnp
::
POINTERS
),
value
);
}
inline
::
capnp
::
List
<
::
capnp
::
JsonValue
,
::
capnp
::
Kind
::
STRUCT
>::
Builder
Json
Value
::
Call
::
Builder
::
initParams
(
unsigned
int
size
)
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>>::
init
(
_builder
.
getPointerField
(
inline
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>::
Builder
Value
::
Call
::
Builder
::
initParams
(
unsigned
int
size
)
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>>::
init
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
1
>
()
*
::
capnp
::
POINTERS
),
size
);
}
inline
void
Json
Value
::
Call
::
Builder
::
adoptParams
(
::
capnp
::
Orphan
<
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>>&&
value
)
{
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>>::
adopt
(
_builder
.
getPointerField
(
inline
void
Value
::
Call
::
Builder
::
adoptParams
(
::
capnp
::
Orphan
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>>&&
value
)
{
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>>::
adopt
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
1
>
()
*
::
capnp
::
POINTERS
),
kj
::
mv
(
value
));
}
inline
::
capnp
::
Orphan
<
::
capnp
::
List
<
::
capnp
::
JsonValue
,
::
capnp
::
Kind
::
STRUCT
>>
Json
Value
::
Call
::
Builder
::
disownParams
()
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
Json
Value
,
::
capnp
::
Kind
::
STRUCT
>>::
disown
(
_builder
.
getPointerField
(
inline
::
capnp
::
Orphan
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>>
Value
::
Call
::
Builder
::
disownParams
()
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
List
<
::
capnp
::
json
::
Value
,
::
capnp
::
Kind
::
STRUCT
>>::
disown
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
1
>
()
*
::
capnp
::
POINTERS
));
}
inline
bool
FlattenOptions
::
Reader
::
hasPrefix
()
const
{
return
!
_reader
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
).
isNull
();
}
inline
bool
FlattenOptions
::
Builder
::
hasPrefix
()
{
return
!
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
).
isNull
();
}
inline
::
capnp
::
Text
::
Reader
FlattenOptions
::
Reader
::
getPrefix
()
const
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Text
>::
get
(
_reader
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
),
::
capnp
::
schemas
::
bp_c4df13257bc2ea61
+
34
);
}
inline
::
capnp
::
Text
::
Builder
FlattenOptions
::
Builder
::
getPrefix
()
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Text
>::
get
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
),
::
capnp
::
schemas
::
bp_c4df13257bc2ea61
+
34
);
}
inline
void
FlattenOptions
::
Builder
::
setPrefix
(
::
capnp
::
Text
::
Reader
value
)
{
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Text
>::
set
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
),
value
);
}
inline
::
capnp
::
Text
::
Builder
FlattenOptions
::
Builder
::
initPrefix
(
unsigned
int
size
)
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Text
>::
init
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
),
size
);
}
inline
void
FlattenOptions
::
Builder
::
adoptPrefix
(
::
capnp
::
Orphan
<
::
capnp
::
Text
>&&
value
)
{
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Text
>::
adopt
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
),
kj
::
mv
(
value
));
}
inline
::
capnp
::
Orphan
<
::
capnp
::
Text
>
FlattenOptions
::
Builder
::
disownPrefix
()
{
return
::
capnp
::
_
::
PointerHelpers
<
::
capnp
::
Text
>::
disown
(
_builder
.
getPointerField
(
::
capnp
::
bounded
<
0
>
()
*
::
capnp
::
POINTERS
));
}
}
// namespace
}
// namespace
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment