BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
AttLimits Class Reference

Attributes and limits of a fit parameter, and coupling between these properties. More...

Public Member Functions

bool isFixed () const
 
bool isLimited () const
 
bool isUpperLimited () const
 
bool isLowerLimited () const
 
bool isLimitless () const
 
double lowerLimit () const
 
double upperLimit () const
 
void setFixed (bool isFixed)
 
bool operator== (const AttLimits &other) const
 
bool operator!= (const AttLimits &other) const
 
std::string toString () const
 

Static Public Member Functions

static AttLimits limitless ()
 
static AttLimits lowerLimited (double bound_value)
 
static AttLimits positive ()
 
static AttLimits nonnegative ()
 
static AttLimits upperLimited (double bound_value)
 
static AttLimits limited (double left_bound_value, double right_bound_value)
 
static AttLimits fixed ()
 

Friends

std::ostream & operator<< (std::ostream &ostr, const AttLimits &m)
 

Detailed Description

Attributes and limits of a fit parameter, and coupling between these properties.

Definition at line 25 of file AttLimits.h.


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