WaveBlocksND
leadingLevelOwner.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include "../../types.hpp"
4 #include "../../utilities/evaluations.hpp"
5 
6 
7 namespace waveblocks
8 {
9  namespace potentials
10  {
11  namespace modules
12  {
13  namespace leadingLevelOwner {
14 
15  template <class Owned>
16  struct Standard {
17  private:
18  Owned owned;
19  public:
20  Owned& get_leading_level() {
21  return owned;
22  }
23  const Owned& get_leading_level() const {
24  return owned;
25  }
26 
27  template<class... T>
28  Standard(T... args) :owned(args...){}
29  };
30 
31 
32  }
33  }
34  }
35  template<class Owned>
37 }
Definition: coefficients_file_parser.cpp:10
const Owned & get_leading_level() const
Definition: leadingLevelOwner.hpp:23
Owned owned
Definition: leadingLevelOwner.hpp:18
Standard(T...args)
Definition: leadingLevelOwner.hpp:28
Owned & get_leading_level()
Definition: leadingLevelOwner.hpp:20