preCICE v3.1.1
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
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 284 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 286 of file RTreeAdapter.hpp.

◆ result_type

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

Definition at line 290 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 285 of file RTreeAdapter.hpp.

Constructor & Destructor Documentation

◆ VectorIndexable()

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

Definition at line 292 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 297 of file RTreeAdapter.hpp.

Member Data Documentation

◆ container

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

Definition at line 287 of file RTreeAdapter.hpp.


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