Class documentation of Concepts

Loading...
Searching...
No Matches
sfc.hh
Go to the documentation of this file.
1
6#include "basics/typedefs.hh"
7
8#ifndef sfc_hh
9#define sfc_hh
10
11
12namespace parallel {
13
14 // ************************************************ SFC **
15
18 class SFC {
19 public:
20 virtual const ushort* const operator[](ushort ori) const = 0;
21 };
22
23
24 // ***************************************** HilbertSFC **
25
28 class HilbertSFC : public SFC {
29 public:
34 const ushort* const operator[](ushort ori) const {return data[ori];};
35 private:
36 static const ushort* const data[24];
37 };
38
39} // namespace parallel
40
41#endif // sfc_hh
const ushort *const operator[](ushort ori) const
Definition sfc.hh:34