|
dune-common 2.8.0
|
Loading...
Searching...
No Matches
parameterizedobject.hh
Go to the documentation of this file.
Utilities for type computations, constraining overloads, ...
A few common exception classes.
Default exception if a function was called while the object is not in a valid state for that function...
Definition exceptions.hh:279
A factory class for parameterized objects.
Definition parameterizedobject.hh:34
static constexpr auto has_proper_signature(Dune::PriorityTag< 1 >) -> decltype(std::declval< F >()(std::declval< Args >()...), std::true_type())
Definition parameterizedobject.hh:54
TypeT Type
The type of objects created by the factory.
Definition parameterizedobject.hh:47
void define(Key const &key, Impl &&t)
Registers a new type with a key.
Definition parameterizedobject.hh:143
KeyT Key
The typ of the keys.
Definition parameterizedobject.hh:44
Type create(Key const &key, Args ... args) const
Creates an object identified by a key from given parameters.
Definition parameterizedobject.hh:75
void define(Key const &key)
Registers a new type with a key.
Definition parameterizedobject.hh:99
void define(Key const &key, F &&f)
Registers a new creator with a key.
Definition parameterizedobject.hh:119
static constexpr std::false_type has_proper_signature(Dune::PriorityTag< 0 >)
Definition parameterizedobject.hh:61
bool contains(Key const &key) const
Definition parameterizedobject.hh:148
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8