Fishnet 2.0.1
Framework for Graph-Based Analysis of GIS Vector Data
Loading...
Searching...
No Matches
FunctionalConcepts.hpp File Reference
#include <functional>
#include <concepts>
#include <ranges>
Include dependency graph for FunctionalConcepts.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fishnet::util::TruePredicate
 
struct  fishnet::util::FalsePredicate
 
struct  fishnet::util::TrueBiPredicate
 
struct  fishnet::util::FalseBiPredicate
 
struct  fishnet::util::Identity
 
struct  fishnet::util::NOOP
 
class  fishnet::util::LimitPredicate
 

Namespaces

namespace  fishnet
 
namespace  fishnet::util
 

Concepts

concept  fishnet::util::UnaryFunction
 
concept  fishnet::util::BiFunction
 
concept  fishnet::util::UnaryOperator
 
concept  fishnet::util::BiOperator
 
concept  fishnet::util::Predicate
 
concept  fishnet::util::BiPredicate
 
concept  fishnet::util::Producer
 
concept  fishnet::util::Consumer
 
concept  fishnet::util::Runnable
 
concept  fishnet::util::HashFunction
 
concept  fishnet::util::ReduceFunction
 

Typedefs

template<typename T , typename R >
using fishnet::util::UnaryFunction_t = std::function< R(const T &)>
 
template<typename T , typename U , typename R >
using fishnet::util::BiFunction_t = std::function< R(const T &, const U &)>
 
template<typename T >
using fishnet::util::UnaryOperator_t = std::function< T(const T &)>
 
template<typename T >
using fishnet::util::BiOperator_t = std::function< T(const T &, const T &)>
 
template<typename T >
using fishnet::util::Predicate_t = std::function< bool(const T &)>
 
template<typename T , typename R = T>
using fishnet::util::BiPredicate_t = std::function< bool(const T &, const R &)>
 
template<typename T >
using fishnet::util::Producer_t = std::function< T()>
 
template<typename T >
using fishnet::util::Consumer_t = UnaryFunction_t< T, void >
 
template<typename RangeType , typename ResultType = std::ranges::range_value_t<RangeType>>
using fishnet::util::ReduceFunction_t = std::function< ResultType(const RangeType &)>