Empirical
Public Member Functions | Public Attributes | Protected Attributes | List of all members
D3::JSONDataset Class Reference

#include <dataset.h>

Inheritance diagram for D3::JSONDataset:
D3::Dataset D3::D3_Base

Public Member Functions

 JSONDataset (int i)
 
 JSONDataset ()
 
void LoadDataFromFile (std::string filename)
 
template<typename DATA_TYPE >
void LoadDataFromFile (std::string filename, std::function< void(DATA_TYPE)> fun)
 
void LoadDataFromFile (std::string filename, std::function< void(void)> fun)
 
void Append (std::string json)
 
void AppendNested (std::string json)
 
int AppendNestedFromList (std::string json, JSObject &options)
 
void CaptureIncoming ()
 
template<typename T >
emp::sfinae_decoy< double, decltype(&T::operator())> Min (T comp)
 
template<typename T >
emp::sfinae_decoy< double, decltype(&T::operator())> Max (T comp)
 
int GetID () const
 
void Log () const
 

Public Attributes

JSFunction FindInHierarchy
 

Protected Attributes

int id
 

Constructor & Destructor Documentation

D3::JSONDataset::JSONDataset ( int  i)
inline
D3::JSONDataset::JSONDataset ( )
inline

Member Function Documentation

void D3::JSONDataset::Append ( std::string  json)
inline
void D3::JSONDataset::AppendNested ( std::string  json)
inline
int D3::JSONDataset::AppendNestedFromList ( std::string  json,
JSObject options 
)
inline
void D3::Dataset::CaptureIncoming ( )
inlineinherited
int D3::D3_Base::GetID ( ) const
inlineinherited
void D3::JSONDataset::LoadDataFromFile ( std::string  filename)
inline
template<typename DATA_TYPE >
void D3::JSONDataset::LoadDataFromFile ( std::string  filename,
std::function< void(DATA_TYPE)>  fun 
)
inline
void D3::JSONDataset::LoadDataFromFile ( std::string  filename,
std::function< void(void)>  fun 
)
inline
void D3::D3_Base::Log ( ) const
inlineinherited
template<typename T >
emp::sfinae_decoy<double, decltype(&T::operator())> D3::Dataset::Max ( comp)
inlineinherited
template<typename T >
emp::sfinae_decoy<double, decltype(&T::operator())> D3::Dataset::Min ( comp)
inlineinherited

Member Data Documentation

JSFunction D3::JSONDataset::FindInHierarchy
int D3::D3_Base::id
protectedinherited

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