dune-typetree  2.5.0
Public Member Functions | Friends | List of all members
Dune::TypeTree::DynamicTreePath Class Reference

A TreePath that stores the path of a node as runtime information. More...

#include <dune/typetree/treepath.hh>

Public Member Functions

std::size_t size () const
 Get the size (length) of this path. More...
 
std::size_t element (std::size_t pos) const
 Get the index value at position pos. More...
 
std::size_t back () const
 Get the last index value. More...
 
std::size_t front () const
 Get the first index value. More...
 

Friends

std::ostream & operator<< (std::ostream &os, const DynamicTreePath &tp)
 

Detailed Description

A TreePath that stores the path of a node as runtime information.

Member Function Documentation

§ back()

std::size_t Dune::TypeTree::DynamicTreePath::back ( ) const
inline

Get the last index value.

§ element()

std::size_t Dune::TypeTree::DynamicTreePath::element ( std::size_t  pos) const
inline

Get the index value at position pos.

§ front()

std::size_t Dune::TypeTree::DynamicTreePath::front ( ) const
inline

Get the first index value.

§ size()

std::size_t Dune::TypeTree::DynamicTreePath::size ( ) const
inline

Get the size (length) of this path.

Friends And Related Function Documentation

§ operator<<

std::ostream& operator<< ( std::ostream &  os,
const DynamicTreePath tp 
)
friend

The documentation for this class was generated from the following file: