Home
last modified time | relevance | path

Searched refs:bimap (Results 1 – 25 of 86) sorted by relevance

1234

/third_party/boost/libs/bimap/doc/
Dreference.qbk23 * "boost/bimap.hpp" ['(includes "boost/bimap/bimap.hpp" and imports the bimap class to boost namesp…
27 * "boost/bimap/bimap.hpp" ['(includes "boost/bimap/set_of.hpp" and "boost/bimap/unconstrained_set_o…
31 * "boost/bimap/set_of.hpp"
32 * "boost/bimap/multiset_of.hpp"
33 * "boost/bimap/unordered_set_of.hpp"
34 * "boost/bimap/unordered_multiset_of.hpp"
35 * "boost/bimap/list_of.hpp"
36 * "boost/bimap/vector_of.hpp"
37 * "boost/bimap/unconstrained_set_of.hpp"
41 * "boost/bimap/support/lambda.hpp"
[all …]
Dtutorial.qbk22 firm grasp of the bimap framework. The first section
23 ([link boost_bimap.the_tutorial.discovering_the_bimap_framework Discovering the bimap framework])
28 of the relationship that the bimap represents, giving one-to-many
32 explains how to instantiate a bimap with different collection constraints.
38 … with standard maps] we will learn about the subtle differences between a bimap map view and a sta…
41 about functions of a bimap that are not found in the STL.
43 # The types of a bimap can be tagged so that each side is accessible
49 # The bimap mapping framework allows to disable a view of a bimap, including the standard
54 explains how to attach information to each relation of a bimap.
58 summarizes bimap instantiation and explains how change the allocator type to be used.
[all …]
Djamfile.v215 xml bimap
17 bimap.qbk
24 bimap
32 … <format>pdf:<xsl:param>boost.url.prefix=http://www.boost.org/doc/libs/release/libs/bimap/doc/html
38 # This generate the doxydocs and write "bimap.hdt".
41 # html-doxydocs bimap.hdt : bimap.hdf ;
Dbimap.qbk6 [id bimap]
7 [dirname bimap]
23 [def __BOOST_BIMAP_LOGO__ [$images/bimap/boost.bimap.logo.png]]
28 [def __MI_FRAMEWORK__ [$images/bimap/miBimapFramework.png]]
29 [def __SIMPLE_BIMAP__ [$images/bimap/simple.bimap.png]]
30 [def __STANDARD_MAPPING_FRAMEWORK__ [$images/bimap/standard.mapping.framework.png]]
31 [def __EXTENDED_MAPPING_FRAMEWORK__ [$images/bimap/extended.mapping.framework.png]]
32 [def __RELATION__ [$images/bimap/relation.png]]
33 [def __STD_PAIR__ [$images/bimap/std_pair.png]]
34 [def __COLLECTION_TYPE_OF_RELATION__ [$images/bimap/collection.type.of.relation.png]]
[all …]
Dquick_tutorial.qbk17 [heading What is a bimap?]
20bimap between a collection `X` and a collection `Y` can be viewed as a map from `X` to `Y` (this v…
22 The following code creates an empty bimap container:
24 typedef bimap<X,Y> bm_type;
27 Given this code, the following is the complete description of the resulting bimap.
39 You can see how a bimap container offers three views over the same collection of bidirectional rela…
55 bimap< int, std::string > bm;
71 [heading Layout of the relation and the pairs of a bimap]
75 The bimap pair classes are signature-compatible with `std::pairs`.
85 #include <boost/bimap.hpp>
[all …]
Dbimap_and_boost.qbk55 Boost.MultiIndex is, in fact, the core of the bimap container.
101 [Serialization support for bimap containers and iterators]]
106 [Help to fill a bimap or views of it]]
137 [Help to fill a bimap from a string]]
149 A bimap can be archived and retrieved by means of the Boost.Serialization Library.
174 Retrieving an archived bimap restores not only the elements, but also the order
182 Iterators of a bimap can also be serialized. Serialization of an
200 Boost.Assign can be used with bimap containers.
201 The views of a bimap are signature-compatible with their standard
234 the functions in a bimap view.
[all …]
Drationale.qbk94 Suppose that our bimap supports only one-to-one relations. (Other
97 concepts of the STL. Given a `bimap<A,B> bm`:
179 performance of the bimap a little. The only drawback here is that, while
193 The core of bimap will be obviously a `multi_index_container`. The basic
194 idea to tackle the implementation of the bimap class is to use
238 The constraints of the bimap set view are another very important
265 bimap so that it is not necessary to maintain another map. The
273 compile time. ['boost/bimap/tagged] is the implementation of a non-invasive
293 [table folders in boost/bimap
297 [[relation/ ][the bimap data ]]
[all …]
Dbimap.hdf28 STRIP_FROM_PATH = ../../../boost/bimap
85 INPUT = ../../../boost/bimap
88 EXCLUDE = ../../../boost/bimap/detail/test/check_metadata.hpp \
89 ../../../boost/bimap/detail/test/check_size_of_pair.hpp
/third_party/boost/libs/bimap/doc/reference/
Dbimap.qbk19 `bimap` instantiations comprise two side views and an view of the relation
24 own; rather they are an integral part of a `bimap`. The name of the view
29 appropriate interface of any of the three views of the `bimap`; these
49 ordering) elements of a `bimap` are not mutable. To overcome this
62 depends on all views of a given `bimap`, not just the currently used view.
96 Set type specifiers are passed as instantiation arguments to `bimap` and
100 bimap. The ['collection type of relation] specifier defines the main set view
107 [[`set_of` ][`set_of_relation` ][`boost/bimap/set_of.hpp` …
108 [[`multiset_of` ][`multiset_of_relation` ][`boost/bimap/multiset_of.hpp` …
109 [[`unordered_set_of` ][`unordered_set_of_relation` ][`boost/bimap/unordered_set_of.hpp` …
[all …]
Dunconstrained_set_of.qbk17 [section Header "boost/bimap/unconstrained_set_of.hpp" synopsis]
29 } // namespace bimap
37 of these kind of view boost the bimap performance but the view can not
51 } // namespace bimap
56 In the case of a `bimap< unconstrained_set_of<Left>, ... >`
86 formulas to find the order of an operation for a bimap hold with
102 `bimap` into which they are embedded. In describing the additional
105 `bimap` serialization section.
107 [blurb [*Operation:] saving of a `bimap` b to an output archive
112 [blurb [*Operation:] loading of a `bimap` b' from an input archive
Dunordered_set_of.qbk17 [section Header "boost/bimap/unordered_set_of.hpp" synopsis]
40 } // namespace bimap
46 [section Header "boost/bimap/unordered_multiset_of.hpp" synopsis]
69 } // namespace bimap
87 interface to the underlying heap of elements contained in a `bimap`.
102 If you look the bimap by a side, you will use a map view and if you looked
115 namespace bimap {
287 } // namespace bimap
292 In the case of a `bimap< unordered_{multi}set_of<Left>, ... >`
338 `unordered_[multi]set_of` views are instantiated internally to `bimap`
[all …]
Dset_of.qbk17 [section Header "boost/bimap/set_of.hpp" synopsis]
38 } // namespace bimap
44 [section Header "boost/bimap/multiset_of.hpp" synopsis]
66 } // namespace bimap
85 interface to the underlying heap of elements contained in a `bimap`.
93 If you look the bimap from a side, you will use a map view, and if you
288 } // namespace bimap
337 In the case of a `bimap< {multi}set_of<Left>, ... >`
381 Set views are instantiated internally to a `bimap`.
385 * `Allocator` from `bimap`,
[all …]
Dlist_of.qbk17 [section Header "boost/bimap/list_of.hpp" synopsis]
29 } // namespace bimap
37 interface to the underlying heap of elements contained in a `bimap`.
39 If you look the bimap by a side, you will use a map view and if you looked
44 different view of the `bimap` are appended to the end of the
222 } // namespace bimap
225 In the case of a `bimap< list_of<Left>, ... >`
267 `list_of` views are instantiated internally to `bimap` and specified
268 by means of the collection type specifiers and the bimap itself.
272 * `Allocator` from `bimap`,
[all …]
Dvector_of.qbk17 [section Header "boost/bimap/vector_of.hpp" synopsis]
29 } // namespace bimap
40 inserted through a different view of the `bimap` are appended to
232 } // namespace bimap
237 In the case of a `bimap< vector_of<Left>, ... >`
290 `vector_of` views are instantiated internally to `bimap` and specified
291 by means of the collection type specifiers and the bimap itself.
295 * `Allocator` from `bimap`,
308 where a and b are the `bimap` objects to which `*this` and
320 not iterators into any view of the `bimap` to which this
[all …]
/third_party/boost/libs/bimap/test/
Dtest_bimap_unconstrained.cpp32 typedef bimap<int,double,unconstrained_set_of_relation> bm; in test_bimap_unconstrained()
39 typedef bimap<int,unconstrained_set_of<double> > bm; in test_bimap_unconstrained()
46 typedef bimap<unconstrained_set_of<int>, double > bm; in test_bimap_unconstrained()
53 typedef bimap<unconstrained_set_of<int>, double, right_based > bm; in test_bimap_unconstrained()
60 typedef bimap in test_bimap_unconstrained()
74 typedef bimap in test_bimap_unconstrained()
88 typedef bimap in test_bimap_unconstrained()
Dtest_bimap_assign.cpp44 typedef bimap< list_of<int>, double > bm_type; in test_bimap_assign()
53 typedef bimap< unordered_multiset_of<int>, vector_of<double>, in test_bimap_assign()
63 typedef bimap< int, vector_of<double>, right_based > bm_type; in test_bimap_assign()
72 typedef bimap< int, vector_of<double>, set_of_relation<> > bm_type; in test_bimap_assign()
Dtest_bimap_operator_bracket.cpp38 typedef bimap< int, std::string > bm; in test_bimap_operator_bracket()
69 typedef bimap<int, list_of<std::string> > bm; in test_bimap_operator_bracket()
123 typedef bimap< vector_of<int>, unordered_set_of<std::string> > bm; in test_bimap_operator_bracket()
174 typedef bimap< unconstrained_set_of<int>, in test_bimap_operator_bracket()
Dtest_bimap_unordered.cpp65 typedef bimap< in test_bimap()
87 typedef bimap< in test_bimap()
111 typedef bimap in test_bimap()
136 typedef bimap in test_bimap()
Dtest_bimap_ordered.cpp63 typedef bimap< int, double > bm_type; in test_bimap()
79 typedef bimap in test_bimap()
103 typedef bimap<int,double,right_based> bm_type; in test_bimap()
120 typedef bimap in test_bimap()
Dtest_bimap_mutable.cpp103 test_bimap_mutable< bimap< int, list_of<double> > >(); in main()
104 test_bimap_mutable< bimap< int, vector_of<double> > >(); in main()
105 test_bimap_mutable< bimap< int, unconstrained_set_of<double> > >(); in main()
/third_party/boost/boost/bimap/
Dbimap.hpp133 class bimap class
223 bimap(const allocator_type& al = allocator_type()) : in bimap() function in boost::bimaps::bimap
247 bimap(InputIterator first,InputIterator last, in bimap() function in boost::bimaps::bimap
268 bimap(const bimap& x) : in bimap() function in boost::bimaps::bimap
288 bimap& operator=(const bimap& x) in operator =()
344 iterator_type_by<Tag,bimap>::type
352 const_iterator_type_by<Tag,bimap>::type
360 public ::boost::bimaps::support::map_type_by<Tag,bimap>::type
363 map_type_by<Tag,bimap>::type type;
370 map_type_by<Tag,bimap>::type &by() in by()
[all …]
/third_party/boost/libs/bimap/example/
Dtutorial_info_hook.cpp36 typedef bimap< in tutorial_about_info_hook()
92 typedef bimap< in tutorial_about_tagged_info_hook()
134 typedef bimap< in bimap_without_an_info_hook()
Dat_function_examples.cpp38 typedef bimap< set_of< std::string >, list_of< int > > bm_type; in first_bimap()
59 typedef bimap< multiset_of<std::string>, unordered_set_of<int> > bm_type; in second_bimap()
Dtutorial_range.cpp35 typedef bimap<int,std::string> bm_type; in using_upper_and_lower_bound()
62 typedef bimap<int,std::string> bm_type; in using_range()
Dtutorial_modify_and_replace.cpp35 typedef bimap< int, std::string > bm_type; in test_replace()
70 typedef bimap< int, std::string > bm_type; in test_modify()

1234