![]() |
ECOGEN 6.0
Evolutive, Compressible, Open, Genuine, Easy, N-phase
|
#include <key.hpp>
Classes | |
| struct | hash_functor |
Public Types | |
| using | value_type = unsigned long long int |
| using | scalar_coordinate_type = int |
| using | float_type = double |
| template<typename U> | |
| using | vector_type = math::vector<U, Dim> |
| using | coordinate_type = vector_type<scalar_coordinate_type> |
| using | real_coordinate_type = vector_type<float_type> |
Public Member Functions | |
| Key () noexcept | |
| Key (value_type idx) noexcept | |
| Key (int x, int y, int z) noexcept | |
| Key (coordinate_type x) noexcept | |
| Key (const Key &)=default | |
| Key (Key &&)=default | |
| Key & | operator= (const Key &) &=default |
| Key & | operator= (Key &&) &=default |
| coordinate_type | coordinate () const noexcept |
| const value_type & | index () const noexcept |
| value_type & | index () noexcept |
| const value_type & | getIndex () const noexcept |
| value_type & | getIndex () noexcept |
| Key | neighbor (const coordinate_type &_offset) const noexcept |
| Key | child (int i) const noexcept |
| Key & | operator++ () noexcept |
| Key & | operator-- () noexcept |
| Key & | operator+= (int) noexcept |
| Key & | operator-= (int) noexcept |
Static Public Member Functions | |
| static value_type | compute_index (const coordinate_type &_c) noexcept |
| static coordinate_type | coordinate (const value_type &code) noexcept |
Static Private Member Functions | |
| template<int nDim = Dim> | |
| static value_type | split_bits (value_type w) |
| template<int nDim = Dim> | |
| static value_type | compress_bits (value_type w) |
| static value_type | split_bits_impl (value_type w, std::integral_constant< int, 3 > *) noexcept |
| static scalar_coordinate_type | compress_bits_impl (value_type w, std::integral_constant< int, 3 > *) noexcept |
| static value_type | split_bits_impl (value_type x, std::integral_constant< int, 2 > *) noexcept |
| static scalar_coordinate_type | compress_bits_impl (value_type w, std::integral_constant< int, 2 > *) noexcept |
Private Attributes | |
| value_type | index_ |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Key &_k) |
| using decomposition::Key< Dim >::coordinate_type = vector_type<scalar_coordinate_type> |
| using decomposition::Key< Dim >::float_type = double |
| using decomposition::Key< Dim >::real_coordinate_type = vector_type<float_type> |
| using decomposition::Key< Dim >::scalar_coordinate_type = int |
| using decomposition::Key< Dim >::value_type = unsigned long long int |
| using decomposition::Key< Dim >::vector_type = math::vector<U, Dim> |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
default |
|
default |
|
inlinenoexcept |
|
inlinestaticprivate |
|
inlinestaticprivatenoexcept |
|
inlinestaticprivatenoexcept |
|
inlinestaticnoexcept |
|
inlinenoexcept |
|
inlinestaticnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
default |
|
default |
|
inlinestaticprivate |
|
inlinestaticprivatenoexcept |
|
inlinestaticprivatenoexcept |
|
friend |
|
private |