walker::ctr::HydroProductions class

HydroProductions options: outsource searches to base templated on enum type.

Base classes

template<typename Enum>
class tk::Toggle
Toggle is the base for an Option, doing generic searches.

Public types

using keywords = brigand::list<kw::prod_A005H, kw::prod_A005S, kw::prod_A005L, kw::prod_A05H, kw::prod_A05S, kw::prod_A05L, kw::prod_A075H, kw::prod_A075S, kw::prod_A075L>
Valid expected choices to make them also available at compile-time.

Constructors, destructors, conversion operators

HydroProductions() explicit
Options constructor.

Public functions

auto table(HydroProductionsType t) const -> tk::Table<1>
Return table based on Enum.

Function documentation

walker::ctr::HydroProductions::HydroProductions() explicit

Options constructor.

Simply initialize in-line and pass associations to base, which will handle client interactions

tk::Table<1> walker::ctr::HydroProductions::table(HydroProductionsType t) const

Return table based on Enum.

Parameters
in Enum value of the option requested
Returns tk::Table associated to the option