|
dune-typetree 2.9.1
|
Loading...
Searching...
No Matches
Dune::TypeTree::Detail::TreeContainerVectorBackend< Container > Class Template Reference
#include <dune/typetree/treecontainer.hh>
Public Member Functions | |
| TreeContainerVectorBackend (Container &&container) | |
| Move the passed container into the internal storage. | |
| template<class Tree , TypeTreeConcept< Tree > = true> | |
| TreeContainerVectorBackend (const Tree &tree) | |
| Default construct the container and perform a resize depending on the tree-node degrees. | |
| template<class C = Container, std::enable_if_t< std::is_default_constructible_v< C >, bool > = true> | |
| TreeContainerVectorBackend () | |
| Default constructor. The stored container might need to be resized before usage. | |
| template<class... T> | |
| decltype(auto) | operator[] (const HybridTreePath< T... > &path) const |
| template<class... T> | |
| decltype(auto) | operator[] (const HybridTreePath< T... > &path) |
| template<class Tree , TypeTreeConcept< Tree > = true> | |
| void | resize (const Tree &tree) |
| Resize the (nested) container depending on the degree of the tree nodes. | |
| const Container & | data () const |
| Container & | data () |
Constructor & Destructor Documentation
◆ TreeContainerVectorBackend() [1/3]
template<class Container >
|
inline |
Move the passed container into the internal storage.
◆ TreeContainerVectorBackend() [2/3]
template<class Container >
template<class Tree , TypeTreeConcept< Tree > = true>
|
inline |
Default construct the container and perform a resize depending on the tree-node degrees.
◆ TreeContainerVectorBackend() [3/3]
template<class Container >
template<class C = Container, std::enable_if_t< std::is_default_constructible_v< C >, bool > = true>
|
inline |
Default constructor. The stored container might need to be resized before usage.
Member Function Documentation
◆ data() [1/2]
template<class Container >
|
inline |
◆ data() [2/2]
template<class Container >
|
inline |
◆ operator[]() [1/2]
template<class Container >
template<class... T>
|
inline |
◆ operator[]() [2/2]
template<class Container >
template<class... T>
|
inline |
◆ resize()
template<class Container >
template<class Tree , TypeTreeConcept< Tree > = true>
|
inline |
Resize the (nested) container depending on the degree of the tree nodes.
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8