dune-istl  2.7.1
About: dune-istl - DUNE (Distributed and Unified Numerics Environment) is a modular toolbox for solving partial differential equations (PDEs) with grid-based methods: DUNE Iterative Solver Template Library.
  Fossies Dox: dune-istl-2.7.1.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

registry.hh File Reference
#include <cstddef>
#include <iostream>
#include <memory>
#include <string>
#include <utility>
#include "counter.hh"
#include <dune/common/typelist.hh>
#include <dune/common/hybridutilities.hh>
#include <dune/common/parameterizedobject.hh>
Include dependency graph for registry.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Dune
 

Macros

#define DUNE_REGISTRY_PUT(Tag, id, ...)
 

Macro Definition Documentation

◆ DUNE_REGISTRY_PUT

#define DUNE_REGISTRY_PUT (   Tag,
  id,
  ... 
)
Value:
namespace { \
template<> \
struct Registry<Tag, DUNE_GET_COUNTER(Tag)> \
{ \
static auto getCreator() \
{ \
return __VA_ARGS__; \
} \
static std::string name() { return id; } \
}; \
} \
DUNE_INC_COUNTER(Tag)
#define DUNE_GET_COUNTER(Tag)
Definition: counter.hh:15

Definition at line 16 of file registry.hh.