BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Attributes for a fit parameter. More...
Public Member Functions | |
Attributes () | |
bool | isFixed () const |
bool | isFree () const |
bool | operator!= (const Attributes &other) const |
bool | operator== (const Attributes &other) const |
void | setFixed (bool is_fixed) |
Static Public Member Functions | |
static Attributes | fixed () |
Creates a fixed value object. More... | |
static Attributes | free () |
Protected Member Functions | |
Attributes (bool is_fixed) | |
void | print (std::ostream &ostr) const |
parameter is fixed More... | |
Protected Attributes | |
bool | m_is_fixed |
Friends | |
std::ostream & | operator<< (std::ostream &ostr, const Attributes &m) |
Attributes for a fit parameter.
Currently, the only attribute is fixed/free.
Definition at line 26 of file Attributes.h.
|
inline |
Definition at line 28 of file Attributes.h.
|
inlineprotected |
Definition at line 47 of file Attributes.h.
|
inlinestatic |
Creates a fixed value object.
Definition at line 30 of file Attributes.h.
References Attributes().
Referenced by AttLimits::fixed().
|
inlinestatic |
Definition at line 31 of file Attributes.h.
References Attributes().
Referenced by AttLimits::limited(), AttLimits::lowerLimited(), AttLimits::nonnegative(), AttLimits::positive(), and AttLimits::upperLimited().
|
inline |
Definition at line 34 of file Attributes.h.
References m_is_fixed.
Referenced by AttLimits::isFixed(), isFree(), operator==(), print(), and RealParameter::setValue().
|
inline |
Definition at line 35 of file Attributes.h.
References isFixed().
Referenced by AttLimits::isLimited(), AttLimits::isLimitless(), AttLimits::isLowerLimited(), and AttLimits::isUpperLimited().
|
inline |
Definition at line 44 of file Attributes.h.
|
inline |
Definition at line 43 of file Attributes.h.
References isFixed().
|
inlineprotected |
parameter is fixed
Prints class.
Definition at line 55 of file Attributes.h.
References isFixed().
|
inline |
Definition at line 33 of file Attributes.h.
References m_is_fixed.
Referenced by AttLimits::setFixed().
|
friend |
Definition at line 37 of file Attributes.h.
|
protected |
Definition at line 49 of file Attributes.h.
Referenced by isFixed(), and setFixed().