Empirical
Public Member Functions | List of all members
emp::DataNode< VAL_TYPE, MODS > Class Template Reference

#include <DataNode.h>

Inheritance diagram for emp::DataNode< VAL_TYPE, MODS >:
emp::DataNode_Interface< VAL_TYPE, FormatDataMods< MODS... >::sorted >

Public Member Functions

void Add ()
 
template<typename... Ts>
void Add (const VAL_TYPE &val, const Ts &...extras)
 Methods to provide new data. More...
 
void PullData ()
 Method to retrieve new data. More...
 
void Reset ()
 Methods to reset data. More...
 
void PrintCurrent (std::ostream &os=std::cout) const
 Methods to Print the templated values that a DataNode can produce. More...
 
void PrintLog (std::ostream &os=std::cout, const std::string &spacer=", ", const std::string &eol="\n") const
 
void PrintDebug (std::ostream &os=std::cout)
 Print debug information (useful for figuring out which modifiers you included) More...
 

Member Function Documentation

template<typename VAL_TYPE, emp::data... MODS>
void emp::DataNode< VAL_TYPE, MODS >::Add ( )
inline
template<typename VAL_TYPE, emp::data... MODS>
template<typename... Ts>
void emp::DataNode< VAL_TYPE, MODS >::Add ( const VAL_TYPE &  val,
const Ts &...  extras 
)
inline

Methods to provide new data.

template<typename VAL_TYPE, emp::data... MODS>
void emp::DataNode< VAL_TYPE, MODS >::PrintCurrent ( std::ostream &  os = std::cout) const
inline

Methods to Print the templated values that a DataNode can produce.

template<typename VAL_TYPE, emp::data... MODS>
void emp::DataNode< VAL_TYPE, MODS >::PrintDebug ( std::ostream &  os = std::cout)
inline

Print debug information (useful for figuring out which modifiers you included)

template<typename VAL_TYPE, emp::data... MODS>
void emp::DataNode< VAL_TYPE, MODS >::PrintLog ( std::ostream &  os = std::cout,
const std::string &  spacer = ", ",
const std::string &  eol = "\n" 
) const
inline
template<typename VAL_TYPE, emp::data... MODS>
void emp::DataNode< VAL_TYPE, MODS >::PullData ( )
inline

Method to retrieve new data.

template<typename VAL_TYPE, emp::data... MODS>
void emp::DataNode< VAL_TYPE, MODS >::Reset ( )
inline

Methods to reset data.


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