![]() |
SG++-Doxygen-Documentation
|
Interface class for TreeStorage-nodes. More...
#include <AbstractTreeStorageNode.hpp>
Public Member Functions | |
| virtual bool | containsIndex (MultiIndex const &index, size_t depth=0) const =0 |
| virtual T & | get (MultiIndex const &index, size_t depth=0)=0 |
| virtual bool | isLeaf () const =0 |
| virtual size_t | numChildren () const =0 |
| virtual void | set (MultiIndex const &index, T const &value, size_t depth=0)=0 |
| Stores the given value at the given multi-index. More... | |
| virtual | ~AbstractTreeStorageNode () |
Interface class for TreeStorage-nodes.
|
inlinevirtual |
|
pure virtual |
| index | Multi-index indicating the storage position. |
| depth | Level of the node in the tree, starting from zero. |
Implemented in sgpp::combigrid::InternalTreeStorageNode< T >, and sgpp::combigrid::LowestTreeStorageNode< T >.
|
pure virtual |
| depth | Level of the node in the tree, starting from zero. |
| index | Index of the node to get. |
Implemented in sgpp::combigrid::InternalTreeStorageNode< T >, and sgpp::combigrid::LowestTreeStorageNode< T >.
|
pure virtual |
Implemented in sgpp::combigrid::InternalTreeStorageNode< T >, and sgpp::combigrid::LowestTreeStorageNode< T >.
|
pure virtual |
Implemented in sgpp::combigrid::InternalTreeStorageNode< T >, and sgpp::combigrid::LowestTreeStorageNode< T >.
|
pure virtual |
Stores the given value at the given multi-index.
If the storage entry does not exist, it is created. The default-value-function is not called.
| depth | Level of the node in the tree, starting from zero. |
| index | Index of the node to set. |
| value | Value to set. |
Implemented in sgpp::combigrid::InternalTreeStorageNode< T >, and sgpp::combigrid::LowestTreeStorageNode< T >.