preCICE v3.1.2
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
precice::utils::RangePreview< InputIter > Struct Template Reference

The RangePreview object used as a lazy proxy struct for proviewing the content of a Range. More...

#include <algorithm.hpp>

Collaboration diagram for precice::utils::RangePreview< InputIter >:
[legend]

Public Types

using Size = typename std::iterator_traits<InputIter>::difference_type
 

Public Member Functions

 RangePreview (Size n, InputIter begin, InputIter end)
 
void print (std::ostream &out) const
 

Public Attributes

Size n
 
InputIter begin
 
InputIter end
 

Detailed Description

template<typename InputIter>
struct precice::utils::RangePreview< InputIter >

The RangePreview object used as a lazy proxy struct for proviewing the content of a Range.

Definition at line 119 of file algorithm.hpp.

Member Typedef Documentation

◆ Size

template<typename InputIter >
using precice::utils::RangePreview< InputIter >::Size = typename std::iterator_traits<InputIter>::difference_type

Definition at line 120 of file algorithm.hpp.

Constructor & Destructor Documentation

◆ RangePreview()

template<typename InputIter >
precice::utils::RangePreview< InputIter >::RangePreview ( Size n,
InputIter begin,
InputIter end )
inline

Definition at line 125 of file algorithm.hpp.

Member Function Documentation

◆ print()

template<typename InputIter >
void precice::utils::RangePreview< InputIter >::print ( std::ostream & out) const
inline

Definition at line 128 of file algorithm.hpp.

Here is the call graph for this function:

Member Data Documentation

◆ begin

template<typename InputIter >
InputIter precice::utils::RangePreview< InputIter >::begin

Definition at line 122 of file algorithm.hpp.

◆ end

template<typename InputIter >
InputIter precice::utils::RangePreview< InputIter >::end

Definition at line 123 of file algorithm.hpp.

◆ n

template<typename InputIter >
Size precice::utils::RangePreview< InputIter >::n

Definition at line 121 of file algorithm.hpp.


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