123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288 |
- #ifndef BOOST_INTRUSIVE_BS_SET_HOOK_HPP
- #define BOOST_INTRUSIVE_BS_SET_HOOK_HPP
- #include <boost/intrusive/detail/config_begin.hpp>
- #include <boost/intrusive/intrusive_fwd.hpp>
- #include <boost/intrusive/detail/tree_node.hpp>
- #include <boost/intrusive/bstree_algorithms.hpp>
- #include <boost/intrusive/options.hpp>
- #include <boost/intrusive/detail/generic_hook.hpp>
- #if defined(BOOST_HAS_PRAGMA_ONCE)
- # pragma once
- #endif
- namespace boost {
- namespace intrusive {
- #if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED) || defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
- template<class ...Options>
- #else
- template<class O1 = void, class O2 = void, class O3 = void>
- #endif
- struct make_bs_set_base_hook
- {
-
- typedef typename pack_options
- #if !defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
- < hook_defaults, O1, O2, O3>
- #else
- < hook_defaults, Options...>
- #endif
- ::type packed_options;
- typedef generic_hook
- < BsTreeAlgorithms
- , tree_node_traits<typename packed_options::void_pointer>
- , typename packed_options::tag
- , packed_options::link_mode
- , BsTreeBaseHookId
- > implementation_defined;
-
- typedef implementation_defined type;
- };
- #if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED) || defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
- template<class ...Options>
- #else
- template<class O1, class O2, class O3>
- #endif
- class bs_set_base_hook
- : public make_bs_set_base_hook
- #if !defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
- <O1, O2, O3>
- #else
- <Options...>
- #endif
- ::type
- {
- #if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
- public:
-
-
-
-
- bs_set_base_hook();
-
-
-
-
-
-
-
-
-
- bs_set_base_hook(const bs_set_base_hook& );
-
-
-
-
-
-
-
-
- bs_set_base_hook& operator=(const bs_set_base_hook& );
-
-
-
-
-
-
- ~bs_set_base_hook();
-
-
-
-
-
-
-
-
-
-
-
-
- void swap_nodes(bs_set_base_hook &other);
-
-
-
-
-
-
-
- bool is_linked() const;
-
-
-
-
- void unlink();
- #endif
- };
- #if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED) || defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
- template<class ...Options>
- #else
- template<class O1 = void, class O2 = void, class O3 = void>
- #endif
- struct make_bs_set_member_hook
- {
-
- typedef typename pack_options
- #if !defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
- < hook_defaults, O1, O2, O3>
- #else
- < hook_defaults, Options...>
- #endif
- ::type packed_options;
- typedef generic_hook
- < BsTreeAlgorithms
- , tree_node_traits<typename packed_options::void_pointer>
- , member_tag
- , packed_options::link_mode
- , NoBaseHookId
- > implementation_defined;
-
- typedef implementation_defined type;
- };
- #if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED) || defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
- template<class ...Options>
- #else
- template<class O1, class O2, class O3>
- #endif
- class bs_set_member_hook
- : public make_bs_set_member_hook
- #if !defined(BOOST_INTRUSIVE_VARIADIC_TEMPLATES)
- <O1, O2, O3>
- #else
- <Options...>
- #endif
- ::type
- {
- #if defined(BOOST_INTRUSIVE_DOXYGEN_INVOKED)
- public:
-
-
-
-
- bs_set_member_hook();
-
-
-
-
-
-
-
-
-
- bs_set_member_hook(const bs_set_member_hook& );
-
-
-
-
-
-
-
-
- bs_set_member_hook& operator=(const bs_set_member_hook& );
-
-
-
-
-
-
- ~bs_set_member_hook();
-
-
-
-
-
-
-
-
-
-
-
-
- void swap_nodes(bs_set_member_hook &other);
-
-
-
-
-
-
-
- bool is_linked() const;
-
-
-
-
- void unlink();
- #endif
- };
- }
- }
- #include <boost/intrusive/detail/config_end.hpp>
- #endif
|