16 #error no need to expose this header to Swig 
   20 #ifndef BORNAGAIN_CORE_EXPORT_PYFMT2_H 
   21 #define BORNAGAIN_CORE_EXPORT_PYFMT2_H 
   39                              std::function<std::string(
double)> printValueFunc);
 
   49                                        const std::string& distVarName,
 
   50                                        const std::string& units = 
"");
 
Interface for one-dimensional axes.
 
Interface for one-dimensional distributions.
 
Manages a local parameter pool, and a tree of child pools.
 
Interface for one-dimensional ranged distributions.
 
Basic class for all shapes in 2D.
 
A parametric distribution function, for use with any model parameter.
 
Wraps a parameter of type double.
 
Utility functions for writing Python code snippets.
 
std::string printParameterDistribution(const ParameterDistribution &par_distr, const std::string &distVarName, const std::string &units)
 
std::string printAxis(const IAxis *axis, const std::string &unit)
Prints an axis.
 
std::string printDistribution(const IDistribution1D &par_distr, const std::string &units)
Prints distribution with constructor parameters in given units.
 
std::string valueTimesUnit(const RealParameter *par)
Returns parameter value, followed by its unit multiplicator (like "* nm").
 
std::string argumentList(const IParametricComponent *ip)
Returns comma-separated list of parameter values, including unit multiplicator (like "* nm").
 
std::string representShape2D(const std::string &indent, const IShape2D *ishape, bool mask_value, std::function< std::string(double)> printValueFunc)
Returns fixed Python code snippet that defines the function "runSimulation".
 
std::string printRangedDistribution(const IRangedDistribution &distr)
 
std::string indent(size_t width)
Returns a string of blanks with given width.