Home
last modified time | relevance | path

Searched refs:multi_index (Results 1 – 25 of 200) sorted by relevance

12345678

/third_party/boost/boost/histogram/
Dmulti_index.hpp29 struct multi_index { struct
34 static multi_index create(std::size_t s) { in create() argument
37 return multi_index(priv_tag{}); in create()
41 multi_index(axis::index_type i, Is... is) in multi_index() function
42 : multi_index(std::initializer_list<axis::index_type>{ in multi_index()
46 multi_index(const std::tuple<axis::index_type, Is...>& is) in multi_index() function
47 : multi_index(is, mp11::make_index_sequence<(1 + sizeof...(Is))>{}) {} in multi_index()
50 multi_index(const Iterable& is) { in multi_index() function
67 multi_index(priv_tag) {} in multi_index() argument
70 multi_index(const T& is, mp11::index_sequence<Is...>) in multi_index() function
[all …]
/third_party/boost/libs/multi_index/test/
Demployee.hpp107 boost::multi_index::ordered_unique<
108 boost::multi_index::identity<employee> >,
109 boost::multi_index::hashed_non_unique<
110 boost::multi_index::tag<name,by_name>,
112 boost::multi_index::ranked_non_unique<
113 boost::multi_index::tag<age>,
115 boost::multi_index::sequenced<
116 boost::multi_index::tag<as_inserted> >,
117 boost::multi_index::hashed_unique<
118 boost::multi_index::tag<ssn>,
[all …]
Dtest_serialization_template.hpp29 if(!(boost::multi_index::get<N>(m1)==boost::multi_index::get<N>(m2))){ in compare()
99 BOOST_TEST(it==boost::multi_index::project<0>(m2,it4)); in test_serialization()
104 BOOST_TEST(it_end==boost::multi_index::project<0>(m2,it2)); in test_serialization()
Dpre_multi_index.hpp39 safe_mode_exception(boost::multi_index::safe_mode::error_code error_code_): in safe_mode_exception()
43 boost::multi_index::safe_mode::error_code error_code;
/third_party/boost/boost/geometry/algorithms/detail/
Dring_identifier.hpp31 , multi_index(-1) in ring_identifier()
39 , multi_index(mul) in ring_identifier()
46 : multi_index !=other.multi_index ? multi_index < other.multi_index in operator <()
55 && multi_index == other.multi_index in operator ==()
69 if (ring_id.multi_index >= 0) os << ", m:" << ring_id.multi_index; in operator <<()
77 signed_size_type multi_index; member
/third_party/boost/boost/geometry/algorithms/detail/overlay/
Dsegment_identifier.hpp39 , multi_index(-1) in segment_identifier()
50 , multi_index(mul) in segment_identifier()
59 : multi_index !=other.multi_index ? multi_index < other.multi_index in operator <()
72 && multi_index == other.multi_index in operator ==()
84 if (seg_id.multi_index >= 0) os << ", m:" << seg_id.multi_index; in operator <<()
91 signed_size_type multi_index; member
106 return ring_identifier(seg_id.source_index, seg_id.multi_index, seg_id.ring_index); in ring_id_by_seg_id()
Dget_ring.hpp49 return range::at(container, id.multi_index); in apply()
107 id.multi_index >= 0 in apply()
108 && id.multi_index < int(boost::size(multi_polygon)) in apply()
111 range::at(multi_polygon, id.multi_index)); in apply()
121 ring_identifier const rid(0, seg_id.multi_index, seg_id.ring_index); in segment_count_on_ring()
/third_party/boost/boost/numeric/ublas/tensor/
Dmulti_index.hpp45 class multi_index class
48 multi_index() = delete;
51 constexpr multi_index(index::index_type<I> const& i, indexes ... is ) in multi_index() function in boost::numeric::ublas::multi_index
61 multi_index(multi_index const& other) in multi_index() function in boost::numeric::ublas::multi_index
66 multi_index& operator=(multi_index const& other) in operator =()
72 ~multi_index() = default;
84 constexpr auto get(multi_index<N> const& m) { return std::get<K>(m.base()); } in get()
87 auto array_to_vector(multi_index<M> const& lhs, multi_index<N> const& rhs) in array_to_vector()
/third_party/boost/libs/multi_index/
DREADME.md5multi_index.svg?branch=develop)](https://travis-ci.com/boostorg/multi_index) | [![Build Status](ht…
6multi_index.svg?branch=master)](https://travis-ci.com/boostorg/multi_index) | [![Build Status](htt…
8 [Boost.MultiIndex](http://boost.org/libs/multi_index) provides a class template
/third_party/boost/boost/wave/util/
Dcpp_include_paths.hpp69 typedef boost::multi_index::multi_index_container<
71 boost::multi_index::indexed_by<
72 boost::multi_index::ordered_unique<
73 boost::multi_index::tag<from>,
74 boost::multi_index::member_offset<value_type, FromType, from_offset>
76 boost::multi_index::ordered_non_unique<
77 boost::multi_index::tag<to>,
78 boost::multi_index::member_offset<value_type, ToType, to_offset>
85 typedef boost::multi_index::multi_index_container<
87 boost::multi_index::indexed_by<
[all …]
/third_party/boost/boost/geometry/algorithms/detail/is_valid/
Dmultipolygon.hpp98 multi_indices.insert(tit->operations[0].seg_id.multi_index); in are_polygon_interiors_disjoint()
99 multi_indices.insert(tit->operations[1].seg_id.multi_index); in are_polygon_interiors_disjoint()
108 signed_size_type multi_index = 0; in are_polygon_interiors_disjoint() local
110 ++it, ++multi_index) in are_polygon_interiors_disjoint()
112 if (multi_indices.find(multi_index) == multi_indices.end()) in are_polygon_interiors_disjoint()
158 has_multi_index(signed_size_type multi_index) in has_multi_index() argument
159 : m_multi_index(multi_index) in has_multi_index()
165 return turn.operations[0].seg_id.multi_index == m_multi_index in operator ()()
166 && turn.operations[1].seg_id.multi_index == m_multi_index; in operator ()()
192 signed_size_type multi_index = 0; in apply() local
[all …]
/third_party/boost/boost/flyweight/detail/
Dserialization_helper.hpp48 typedef multi_index::multi_index_container<
50 multi_index::indexed_by<
51 multi_index::random_access<>,
52 multi_index::hashed_unique<flyweight_value_address<Flyweight> >
64 return multi_index::project<0>(t,multi_index::get<1>(t).find(&x.get())) in find()
/third_party/boost/boost/geometry/algorithms/
Dappend.hpp227 int ring_index, int multi_index) in apply()
234 >::apply(range::at(multigeometry, multi_index), range_or_point, ring_index); in apply()
293 int multi_index) in apply()
299 multi_index); in apply()
316 int multi_index): in visitor()
319 m_multi_index(multi_index) in visitor()
336 int multi_index) in apply()
342 multi_index in apply()
368 int ring_index = -1, int multi_index = 0) in append() argument
371 ::apply(geometry, range_or_point, ring_index, multi_index); in append()
/third_party/boost/boost/bimap/
Dbimap.hpp226 ::boost::multi_index::get< in bimap()
234 ::boost::multi_index::get< in bimap()
239 ::boost::multi_index::get< in bimap()
251 ::boost::multi_index::get< in bimap()
258 ::boost::multi_index::get< in bimap()
262 ::boost::multi_index::get< in bimap()
271 ::boost::multi_index::get< in bimap()
278 ::boost::multi_index::get< in bimap()
282 ::boost::multi_index::get< in bimap()
432 using ::boost::multi_index::unbounded;
/third_party/boost/boost/bimap/detail/
Dgenerate_index_binder.hpp37 multi_index::tag< Tag >, \
59 multi_index::tag< Tag >, \
83 multi_index::tag< Tag >, \
107 typedef MULTI_INDEX_TYPE< multi_index::tag< Tag > > type; \
/third_party/boost/libs/histogram/test/
Ddetail_misc_test.cpp30 std::ostream& operator<<(std::ostream& os, const multi_index<N>& mi) { in operator <<()
45 bool operator==(const multi_index<N>& a, const multi_index<M>& b) { in operator ==()
152 multi_index<static_cast<std::size_t>(-1)> mi{0, 1}; in main()
154 multi_index<2> mi2{0, 1}; in main()
161 multi_index<static_cast<std::size_t>(-1)> mi{0}; in main()
165 BOOST_TEST_THROWS(multi_index<1>::create(2), std::invalid_argument); in main()
/third_party/boost/boost/geometry/algorithms/detail/relate/
Dfollow_helpers.hpp114 signed_size_type multi_index = it->operations[OpId].seg_id.multi_index; in for_turns() local
115 BOOST_GEOMETRY_ASSERT(multi_index >= 0); in for_turns()
116 std::size_t const index = static_cast<std::size_t>(multi_index); in for_turns()
187 return sid.multi_index == sid_ptr->multi_index; in operator ()()
209 return sid.multi_index == sid_ptr->multi_index in operator ()()
351 if ( prev_seg_id.multi_index != curr_seg_id.multi_index in turn_on_the_same_ip()
Dlinear_areal.hpp347 || prev_seg_id_ptr->multi_index != it->operations[1].seg_id.multi_index ) in apply()
484 && left.operations[1].seg_id.multi_index == right.operations[1].seg_id.multi_index; in operator ()()
520 … return left.operations[1].seg_id.multi_index == right.operations[1].seg_id.multi_index ? in operator ()()
752 … && seg_id.multi_index == m_previous_turn_ptr->operations[op_id].seg_id.multi_index ) in apply()
778 …|| seg_id.multi_index != m_previous_turn_ptr->operations[op_id].seg_id.multi_index ) ) // or the n… in apply()
850 && m_first_interior_other_id_ptr->multi_index == other_id.multi_index ) in apply()
1386 return left.operations[1].seg_id.multi_index < right.operations[1].seg_id.multi_index in operator ()()
1387 || ( left.operations[1].seg_id.multi_index == right.operations[1].seg_id.multi_index in operator ()()
1416 signed_size_type const multi_index = first->operations[1].seg_id.multi_index; in find_next_ring() local
1424 if ( multi_index != first->operations[1].seg_id.multi_index in find_next_ring()
/third_party/boost/boost/multi_index/detail/
Dvartempl_support.hpp87 namespace boost{namespace multi_index{namespace detail{ namespace
96 boost::multi_index::detail::noarg() BOOST_PP_INTERCEPT)
118 boost::multi_index::detail::noarg() BOOST_PP_INTERCEPT) \
148 boost::multi_index::detail::noarg() BOOST_PP_INTERCEPT) \
161 namespace multi_index{ namespace
230 namespace multi_index{ namespace
Dindex_node_base.hpp28 namespace multi_index{ namespace
111 namespace multi_index{
117 Archive&,boost::multi_index::detail::index_node_base<Value,Allocator>*, in load_construct_data()
Dis_function.hpp33 namespace boost{namespace multi_index{namespace detail{ namespace
44 namespace boost{namespace multi_index{namespace detail{ namespace
/third_party/boost/boost/geometry/algorithms/detail/turns/
Dcompare_turns.hpp69 if ( left_other_seg_id.multi_index != right_other_seg_id.multi_index ) in use_other_id()
71 return left_other_seg_id.multi_index < right_other_seg_id.multi_index; in use_other_id()
/third_party/boost/boost/geometry/algorithms/detail/buffer/
Dget_piece_turns.hpp132 if (piece1.first_seg_id.multi_index != piece2.first_seg_id.multi_index) in is_adjacent()
144 if (piece1.first_seg_id.multi_index != piece2.first_seg_id.multi_index) in is_on_same_convex_ring()
149 return ! m_rings[piece1.first_seg_id.multi_index].has_concave; in is_on_same_convex_ring()
214 ring_type const& ring1 = m_rings[piece1.first_seg_id.multi_index]; in calculate_turns()
218 ring_type const& ring2 = m_rings[piece2.first_seg_id.multi_index]; in calculate_turns()
/third_party/boost/libs/assign/test/
Dmulti_index_container.cpp33 using namespace boost::multi_index;
103 typedef boost::multi_index::index<
105 typedef boost::multi_index::index<
133 employee_set_by_name& name_index = boost::multi_index::get<name>(eset); in test_multi_index_container()
/third_party/boost/boost/flyweight/
Dhashed_factory.hpp45 multi_index::hashed_unique<
46 multi_index::identity<Entry>,
61 typedef multi_index::multi_index_container<

12345678