BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
sliced_lists.hxx
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019 Contributors.
3  *
4  * The MIT License
5  *
6  * Permission is hereby granted, free of charge, to any person obtaining a copy
7  * of this software and associated documentation files (the "Software"), to deal
8  * in the Software without restriction, including without limitation the rights
9  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10  * copies of the Software, and to permit persons to whom the Software is
11  * furnished to do so, subject to the following conditions:
12  *
13  * The above copyright notice and this permission notice shall be included in
14  * all copies or substantial portions of the Software.
15  *
16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22  * THE SOFTWARE.
23  */
24 
26 
27 #include <fc/reflect/typelist.hpp>
28 
29 namespace graphene { namespace protocol {
30 namespace typelist = fc::typelist;
31 
32 // To make the build gentler on RAM, break the operation list into several pieces to build over several files
44  ::add<asset_claim_fees_operation> // 43
45  ::add<bid_collateral_operation> // 45
46  ::add_list<typelist::slice<operation::list, 47, 51>>
47  ::add<htlc_extend_operation> // 52
48  ::finalize>;
56  >;
57 
70 
71 } } // namespace graphene::protocol
Defines a template for manipulating and storing compile-time lists of types.
Definition: api.cpp:56
result_type get_restriction_predicate_list_1(size_t idx, vector< restriction > rs)
Definition: list_1.cpp:31
result_type get_restriction_predicate_list_5(size_t idx, vector< restriction > rs)
Definition: list_5.cpp:32
result_type get_restriction_predicate_list_9(size_t idx, vector< restriction > rs)
Definition: list_9.cpp:32
result_type get_restriction_predicate_list_8(size_t idx, vector< restriction > rs)
Definition: list_8.cpp:32
This namespace contains the list type, and all of the operations and queries which can be performed u...
Definition: typelist.hpp:14
result_type get_restriction_predicate_list_3(size_t idx, vector< restriction > rs)
Definition: list_3.cpp:32
result_type get_restriction_predicate_list_6(size_t idx, vector< restriction > rs)
Definition: list_6.cpp:32
std::function< predicate_result(const Field &)> object_restriction_predicate
result_type get_restriction_predicate_list_7(size_t idx, vector< restriction > rs)
Definition: list_7.cpp:32
result_type get_restriction_predicate_list_2(size_t idx, vector< restriction > rs)
Definition: list_2.cpp:32
result_type get_restriction_predicate_list_4(size_t idx, vector< restriction > rs)
Definition: list_4.cpp:32
result_type get_restriction_predicate_list_11(size_t idx, vector< restriction > rs)
Definition: list_11.cpp:31
result_type get_restriction_predicate_list_10(size_t idx, vector< restriction > rs)
Definition: list_10.cpp:31
result_type get_restriction_predicate_list_12(size_t idx, vector< restriction > rs)
Definition: list_12.cpp:31