cppDataPipeline 0.3.0
C++ Implementation of the FAIR Data Pipeline API
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Friends | List of all members
FairDataPipeline::Distribution Class Reference

Class for API objects. More...

#include <fdp/objects/distribution.hxx>

Public Member Functions

 Distribution (const std::string &name, double mu, double sigma)
 
 Distribution (const std::string &name, double mu, double sigma, const std::string &component)
 
 Distribution (const std::string &file_name)
 
 Distribution (const std::string &file_name, const std::string &component)
 
std::string get_name () const
 
double get_mu () const
 
double get_sigma () const
 
std::string get_component () const
 
std::string write_to_toml (std::string &file_name)
 
std::string write_to_toml (std::string &component, std::string &file_name)
 

Protected Member Functions

void read_from_toml (const ghc::filesystem::path &file_path, const std::string &component)
 
virtual bool isEqual (const Distribution &dist) const
 

Friends

bool operator== (const Distribution &lhs, const Distribution &rhs)
 

Detailed Description

Class for API objects.


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