indexable.qbk 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. [/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically]
  2. [/ Generated from xml/structboost_1_1geometry_1_1index_1_1indexable.xml]
  3. [#structboost_1_1geometry_1_1index_1_1indexable]
  4. [section boost::geometry::index::indexable]
  5. '''<indexterm><primary>boost</primary></indexterm><indexterm><primary>geometry</primary></indexterm><indexterm><primary>index</primary></indexterm><indexterm><primary>indexable</primary></indexterm>'''
  6. The function object extracting Indexable from Value.
  7. [heading Description]
  8. It translates Value object to Indexable object. By default, it can handle Values which are Indexables, std::pair<Indexable, T2>, boost::tuple<Indexable, ...> and std::tuple<Indexable, ...> if STD tuples and variadic templates are supported.
  9. [heading Header]
  10. `#include <boost/geometry/index/indexable.hpp>`
  11. [heading Synopsis]
  12. [pre
  13. `template<``typename Value``>`
  14. `struct indexable`
  15. `{`
  16. ` // ...`
  17. `};`
  18. ]
  19. [heading Template parameter(s)]
  20. [table
  21. [[Parameter] [Description]]
  22. [[`Value`][The Value type which may be translated directly to the Indexable. ]]
  23. ]
  24. [heading Typedef(s)]
  25. [table
  26. [[Type] [Description]]
  27. [[[#structboost_1_1geometry_1_1index_1_1indexable_1af6f21324f6484330b9deb0ee0629f4b4] `result_type`][The type of result returned by function object. It should be const Indexable reference. ]]
  28. ]
  29. [heading Member(s)]
  30. [table
  31. [[Modifier][Function][Description]]
  32. [[ `const`][[link structboost_1_1geometry_1_1index_1_1indexable_1a0bbe640be9ae0475e1b56f5b2e08877e `operator()(Value const &)`]][Return indexable extracted from the value. ]]
  33. [[ `const`][[link structboost_1_1geometry_1_1index_1_1indexable_1a4aa66ffe2975f655bada9e6b5a65317b `operator()(V const &)`]][Return indexable extracted from the value. Overload for types compatible with Value but different yet holding referencable Indexable, e.g. tuple containing a reference. ]]
  34. ]
  35. [#structboost_1_1geometry_1_1index_1_1indexable_1a0bbe640be9ae0475e1b56f5b2e08877e]
  36. [section operator()(Value const &)]
  37. '''<indexterm><primary>operator()</primary></indexterm>'''
  38. Return indexable extracted from the value.
  39. [heading Synopsis]
  40. [pre
  41. [^[link structboost_1_1geometry_1_1index_1_1indexable_1af6f21324f6484330b9deb0ee0629f4b4 result_type]] `operator()``(``Value const &` `v``)`
  42. ]
  43. [heading Modifier(s)]
  44. ``const ``[heading Parameter(s)]
  45. [table
  46. [[Type][Name][Description]]
  47. [[`Value const &`][ `v` ][The value. ]]
  48. ]
  49. [heading Returns]
  50. The indexable.
  51. [endsect]
  52. [#structboost_1_1geometry_1_1index_1_1indexable_1a4aa66ffe2975f655bada9e6b5a65317b]
  53. [section operator()(V const &)]
  54. '''<indexterm><primary>operator()</primary></indexterm>'''
  55. Return indexable extracted from the value. Overload for types compatible with Value but different yet holding referencable Indexable, e.g. tuple containing a reference.
  56. [heading Synopsis]
  57. [pre
  58. `template<``typename V``>`
  59. [^[link structboost_1_1geometry_1_1index_1_1indexable_1af6f21324f6484330b9deb0ee0629f4b4 result_type]] `operator()``(``V const &` `v``)`
  60. ]
  61. [heading Modifier(s)]
  62. ``const ``[heading Parameter(s)]
  63. [table
  64. [[Type][Name][Description]]
  65. [[`V const &`][ `v` ][The value. ]]
  66. ]
  67. [heading Returns]
  68. The indexable.
  69. [endsect]
  70. [endsect]