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

Makes a utils::PtrVector indexable and thus be usable in boost::geometry::rtree. More...

#include <RTreeAdapter.hpp>

Public Types

using result_type = cref

Public Member Functions

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

Private Types

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

Private Attributes

Container const & container

Detailed Description

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

Makes a utils::PtrVector indexable and thus be usable in boost::geometry::rtree.

Definition at line 256 of file RTreeAdapter.hpp.

Member Typedef Documentation

◆ cref

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

Definition at line 258 of file RTreeAdapter.hpp.

◆ result_type

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

Definition at line 262 of file RTreeAdapter.hpp.

◆ size_type

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

Definition at line 257 of file RTreeAdapter.hpp.

Constructor & Destructor Documentation

◆ PtrVectorIndexable()

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

Definition at line 264 of file RTreeAdapter.hpp.

Member Function Documentation

◆ operator()()

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

Definition at line 269 of file RTreeAdapter.hpp.

Member Data Documentation

◆ container

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

Definition at line 259 of file RTreeAdapter.hpp.


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