preCICE v3.2.0
Loading...
Searching...
No Matches
precice::query::impl::VectorIndexable< Container > Class Template Reference

Makes a std::vector indexable and thus be usable in boost::geometry::rtree. More...

#include <RTreeAdapter.hpp>

Public Types

using result_type = cref

Public Member Functions

 VectorIndexable (Container const &c)
result_type operator() (size_type i) const

Private Types

using size_type = typename Container::size_type
using cref = const typename Container::value_type &

Private Attributes

Container const & container

Detailed Description

template<typename Container>
class precice::query::impl::VectorIndexable< Container >

Makes a std::vector indexable and thus be usable in boost::geometry::rtree.

Definition at line 277 of file RTreeAdapter.hpp.

Member Typedef Documentation

◆ cref

template<typename Container>
using precice::query::impl::VectorIndexable< Container >::cref = const typename Container::value_type &
private

Definition at line 279 of file RTreeAdapter.hpp.

◆ result_type

template<typename Container>
using precice::query::impl::VectorIndexable< Container >::result_type = cref

Definition at line 283 of file RTreeAdapter.hpp.

◆ size_type

template<typename Container>
using precice::query::impl::VectorIndexable< Container >::size_type = typename Container::size_type
private

Definition at line 278 of file RTreeAdapter.hpp.

Constructor & Destructor Documentation

◆ VectorIndexable()

template<typename Container>
precice::query::impl::VectorIndexable< Container >::VectorIndexable ( Container const & c)
inlineexplicit

Definition at line 285 of file RTreeAdapter.hpp.

Member Function Documentation

◆ operator()()

template<typename Container>
result_type precice::query::impl::VectorIndexable< Container >::operator() ( size_type i) const
inline

Definition at line 290 of file RTreeAdapter.hpp.

Member Data Documentation

◆ container

template<typename Container>
Container const& precice::query::impl::VectorIndexable< Container >::container
private

Definition at line 280 of file RTreeAdapter.hpp.


The documentation for this class was generated from the following file: