Flow< Source, Target > Struct Template Reference

CPP API: mio::Flow< Source, Target > Struct Template Reference
mio::Flow< Source, Target > Struct Template Reference

A Flow defines a possible transition between two Compartments in a FlowModel. More...

#include <flow.h>

Public Types

using Type = decltype(Source)
 

Static Public Attributes

static const Type source = Source
 
static const Type target = Target
 

Detailed Description

template<auto Source, auto Target>
struct mio::Flow< Source, Target >

A Flow defines a possible transition between two Compartments in a FlowModel.

Use in a TypeList to define the "Flows" parameter of a FlowModel.

Member Typedef Documentation

◆ Type

template<auto Source, auto Target>
using mio::Flow< Source, Target >::Type = decltype(Source)

Member Data Documentation

◆ source

template<auto Source, auto Target>
const Type mio::Flow< Source, Target >::source = Source
static

◆ target

template<auto Source, auto Target>
const Type mio::Flow< Source, Target >::target = Target
static