supereight
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | List of all members
se::NodeData< DataT, ResT > Struct Template Reference

Contains se::Data stored in se::Node and appropriate methods. More...

#include <node.hpp>

Inheritance diagram for se::NodeData< DataT, ResT >:
Inheritance graph
[legend]

Public Member Functions

const DataTdata () const
 Always returns the default data.
 

Protected Member Functions

 NodeData (const DataT &)
 

Detailed Description

template<typename DataT, Res ResT>
struct se::NodeData< DataT, ResT >

Contains se::Data stored in se::Node and appropriate methods.

Partial template specilization is used so that se::Node doesn't contain unnecessary data. This non-specialized version contains no data.

Constructor & Destructor Documentation

◆ NodeData()

template<typename DataT , Res ResT>
se::NodeData< DataT, ResT >::NodeData ( const DataT )
inlineprotected

Member Function Documentation

◆ data()

template<typename DataT , Res ResT>
const DataT & se::NodeData< DataT, ResT >::data ( ) const
inline

Always returns the default data.

This method allows simplifying the implementation of certain algorithms.


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