Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
ogdf::fast_multipole_embedder::if_then_else_functor< CondType, ThenType, ElseType > Struct Template Reference

Functor for conditional usage of a functor. More...

#include <ogdf/energybased/fast_multipole_embedder/FMEFunctional.h>

Public Member Functions

 if_then_else_functor (const CondType &c, const ThenType &f1)
 
 if_then_else_functor (const CondType &c, const ThenType &f1, const ElseType &f2)
 
template<typename A >
void operator() (A a)
 
template<typename A , typename B >
void operator() (A a, B b)
 

Public Attributes

CondType condFunc
 
ElseType elseFunc
 
ThenType thenFunc
 

Detailed Description

template<typename CondType, typename ThenType, typename ElseType = do_nothing>
struct ogdf::fast_multipole_embedder::if_then_else_functor< CondType, ThenType, ElseType >

Functor for conditional usage of a functor.

Definition at line 92 of file FMEFunctional.h.

Constructor & Destructor Documentation

◆ if_then_else_functor() [1/2]

Definition at line 97 of file FMEFunctional.h.

◆ if_then_else_functor() [2/2]

Definition at line 99 of file FMEFunctional.h.

Member Function Documentation

◆ operator()() [1/2]

◆ operator()() [2/2]

Definition at line 112 of file FMEFunctional.h.

Member Data Documentation

◆ condFunc

◆ elseFunc

◆ thenFunc


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