BornAgain  1.19.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 isLimitless () const
 
bool isLowerLimited () const
 
bool isUpperLimited () const
 
double lowerLimit () const
 
bool operator!= (const AttLimits &other) const
 
bool operator== (const AttLimits &other) const
 
void setFixed (bool isFixed)
 
std::string toString () const
 
double upperLimit () const
 

Static Public Member Functions

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

Friends

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

Detailed Description

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