WaveBlocksND
|
#include <shape_extension_cache.hpp>
Public Member Functions | |
ShapeEnumSharedPtr< D, MultiIndex > | get_extended_shape (std::shared_ptr< ShapeEnum< D, MultiIndex > > shape) const |
shape reference to shape to check actuality of cache More... | |
void | set_extended_shape (std::shared_ptr< ShapeEnum< D, MultiIndex > > shape, std::shared_ptr< ShapeEnum< D, MultiIndex > > extension) |
Manually sets extended shape. More... | |
void | update_extended_shape (std::shared_ptr< ShapeEnum< D, MultiIndex > > shape) const |
Recomputes extended shape if source shape changed. More... | |
Private Attributes | |
ShapeEnumSharedPtr< D, MultiIndex > | cached_extended_shape_ |
ShapeEnum< D, MultiIndex > * | cached_extended_shape_source_ |
|
inline |
shape reference to shape to check actuality of cache
|
inline |
Manually sets extended shape.
shape | source of new extended shape |
extension | new extended shape |
|
inline |
Recomputes extended shape if source shape changed.
shape | new source shape |
|
mutableprivate |
|
mutableprivate |