Public Member Functions | Static Public Attributes | List of all members
tuw::LeafAccessTreeBaseCRTP< Derived, LeafType, FixContainer, ContSize > Class Template Reference

#include <leaf_access_tree.hpp>

Inheritance diagram for tuw::LeafAccessTreeBaseCRTP< Derived, LeafType, FixContainer, ContSize >:
Inheritance graph
[legend]

Public Member Functions

 LeafAccessTreeBaseCRTP ()
 
template<bool IsLeaf = isLeaf, typename std::enable_if<(IsLeaf)>::type * = nullptr>
LeafType & val (const size_t &_i)
 
template<bool IsLeaf = isLeaf, typename std::enable_if<(IsLeaf)>::type * = nullptr>
const LeafType & val (const size_t &_i) const
 
template<bool IsLeaf = isLeaf, typename std::enable_if<(!IsLeaf)>::type * = nullptr>
constexpr LeafType & val (const size_t &_i)
 
template<bool IsLeaf = isLeaf, typename std::enable_if<(!IsLeaf)>::type * = nullptr>
constexpr const LeafType & val (const size_t &_i)
 

Static Public Attributes

static constexpr const bool isLeaf = std::is_same<LeafType, FixContainer>::value
 
static constexpr const bool subDynamic = ContSize == -1
 

Detailed Description

template<class Derived, typename LeafType, typename FixContainer, int ContSize = 0>
class tuw::LeafAccessTreeBaseCRTP< Derived, LeafType, FixContainer, ContSize >

Definition at line 85 of file leaf_access_tree.hpp.

Constructor & Destructor Documentation

template<class Derived, typename LeafType, typename FixContainer, int ContSize = 0>
tuw::LeafAccessTreeBaseCRTP< Derived, LeafType, FixContainer, ContSize >::LeafAccessTreeBaseCRTP ( )
inline

Definition at line 95 of file leaf_access_tree.hpp.

Member Function Documentation

template<class Derived, typename LeafType, typename FixContainer, int ContSize = 0>
template<bool IsLeaf = isLeaf, typename std::enable_if<(IsLeaf)>::type * = nullptr>
LeafType& tuw::LeafAccessTreeBaseCRTP< Derived, LeafType, FixContainer, ContSize >::val ( const size_t &  _i)
inline

Definition at line 108 of file leaf_access_tree.hpp.

template<class Derived, typename LeafType, typename FixContainer, int ContSize = 0>
template<bool IsLeaf = isLeaf, typename std::enable_if<(IsLeaf)>::type * = nullptr>
const LeafType& tuw::LeafAccessTreeBaseCRTP< Derived, LeafType, FixContainer, ContSize >::val ( const size_t &  _i) const
inline

Definition at line 113 of file leaf_access_tree.hpp.

template<class Derived, typename LeafType, typename FixContainer, int ContSize = 0>
template<bool IsLeaf = isLeaf, typename std::enable_if<(!IsLeaf)>::type * = nullptr>
constexpr LeafType& tuw::LeafAccessTreeBaseCRTP< Derived, LeafType, FixContainer, ContSize >::val ( const size_t &  _i)
inline

Definition at line 120 of file leaf_access_tree.hpp.

template<class Derived, typename LeafType, typename FixContainer, int ContSize = 0>
template<bool IsLeaf = isLeaf, typename std::enable_if<(!IsLeaf)>::type * = nullptr>
constexpr const LeafType& tuw::LeafAccessTreeBaseCRTP< Derived, LeafType, FixContainer, ContSize >::val ( const size_t &  _i)
inline

Definition at line 125 of file leaf_access_tree.hpp.

Member Data Documentation

template<class Derived, typename LeafType, typename FixContainer, int ContSize = 0>
constexpr const bool tuw::LeafAccessTreeBaseCRTP< Derived, LeafType, FixContainer, ContSize >::isLeaf = std::is_same<LeafType, FixContainer>::value
static

Definition at line 100 of file leaf_access_tree.hpp.

template<class Derived, typename LeafType, typename FixContainer, int ContSize = 0>
constexpr const bool tuw::LeafAccessTreeBaseCRTP< Derived, LeafType, FixContainer, ContSize >::subDynamic = ContSize == -1
static

Definition at line 101 of file leaf_access_tree.hpp.


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


tuw_control
Author(s): George Todoran
autogenerated on Mon Jun 10 2019 15:27:23