Dune Core Modules (2.8.0)

Dune::TypeTree::TreeInfo< Tree, Tag > Struct Template Reference

Struct for obtaining some basic structural information about a TypeTree. More...

#include <dune/typetree/utility.hh>

Static Public Attributes

static const std::size_t depth = NodeInfo::depth
 The depth of the TypeTree.
 
static const std::size_t nodeCount = NodeInfo::nodeCount
 The total number of nodes in the TypeTree.
 
static const std::size_t leafCount = NodeInfo::leafCount
 The number of leaf nodes in the TypeTree.
 

Detailed Description

template<typename Tree, typename Tag = StartTag>
struct Dune::TypeTree::TreeInfo< Tree, Tag >

Struct for obtaining some basic structural information about a TypeTree.

This struct extracts basic information about the passed TypeTree and presents them in a static way suitable for use as compile-time constants.

Template Parameters
TreeThe TypeTree to examine.
TagInternal parameter, leave at default value.

The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 22, 23:30, 2024)