Bond
 
Loading...
Searching...
No Matches
parser_extern.h
1// Copyright (c) Microsoft. All rights reserved.
2// Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
4#pragma once
5
6#include <bond/core/config.h>
7#include "extern_macro.h"
8
9
10namespace bond
11{
12
13#define BOND_DETAIL_StaticParser_ReadFields(Reader, Writer) \
14 bool StaticParser<Reader&>::ReadFields(const RuntimeSchema&, const Serializer<Writer>&);
15
16BOND_DETAIL_EXTERN(
17 BOND_DETAIL_StaticParser_ReadFields,
18 (BOND_DETAIL_BUILTIN_READER_SIMPLE_BINARY)
19 BOND_DETAIL_BUILTIN_WRITERS)
20
21
22#define BOND_DETAIL_StaticParser_ReadFields_Null(Reader) \
23 bool StaticParser<Reader&>::ReadFields(const RuntimeSchema&, const Null&);
24
25BOND_DETAIL_EXTERN(
26 BOND_DETAIL_StaticParser_ReadFields_Null,
27 (BOND_DETAIL_BUILTIN_READER_SIMPLE_BINARY))
28
29
30#define BOND_DETAIL_DynamicParser_ReadFields(Reader, Writer) \
31 bool DynamicParser<Reader&>::ReadFields(const RuntimeSchema&, const Serializer<Writer>&);
32
33BOND_DETAIL_EXTERN(
34 BOND_DETAIL_DynamicParser_ReadFields,
35 (BOND_DETAIL_BUILTIN_READER_COMPACT_BINARY BOND_DETAIL_BUILTIN_READER_FAST_BINARY)
36 BOND_DETAIL_BUILTIN_WRITERS)
37
38
39#define BOND_DETAIL_DynamicParser_ReadFields_Null(Reader) \
40 bool DynamicParser<Reader&>::ReadFields(const RuntimeSchema&, const Null&);
41
42BOND_DETAIL_EXTERN(
43 BOND_DETAIL_DynamicParser_ReadFields_Null,
44 (BOND_DETAIL_BUILTIN_READER_COMPACT_BINARY BOND_DETAIL_BUILTIN_READER_FAST_BINARY))
45
46
47} // namespace bond
namespace bond
Definition: apply.h:17