BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Public Member Functions | |
Attributes () | |
void | setFixed (bool is_fixed) |
bool | isFixed () const |
bool | isFree () const |
bool | operator== (const Attributes &other) const |
bool | operator!= (const Attributes &other) const |
Static Public Member Functions | |
static Attributes | fixed () |
static Attributes | free () |
Protected Member Functions | |
Attributes (bool is_fixed) | |
void | print (std::ostream &ostr) const |
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 23 of file Attributes.h.
|
inline |
Definition at line 26 of file Attributes.h.
|
inlineprotected |
Definition at line 45 of file Attributes.h.
|
inlinestatic |
Creates a fixed value object.
Definition at line 28 of file Attributes.h.
References Attributes().
Referenced by AttLimits::fixed().
|
inlinestatic |
Definition at line 29 of file Attributes.h.
References Attributes().
Referenced by AttLimits::limited(), AttLimits::lowerLimited(), AttLimits::nonnegative(), AttLimits::positive(), and AttLimits::upperLimited().
|
inline |
Definition at line 31 of file Attributes.h.
References m_is_fixed.
Referenced by AttLimits::setFixed().
|
inline |
Definition at line 32 of file Attributes.h.
References m_is_fixed.
Referenced by AttLimits::isFixed(), isFree(), operator==(), print(), and RealParameter::setValue().
|
inline |
Definition at line 33 of file Attributes.h.
References isFixed().
Referenced by AttLimits::isLimited(), AttLimits::isLimitless(), AttLimits::isLowerLimited(), and AttLimits::isUpperLimited().
|
inline |
Definition at line 41 of file Attributes.h.
References isFixed().
|
inline |
Definition at line 42 of file Attributes.h.
|
inlineprotected |
parameter is fixed
Prints class.
Definition at line 53 of file Attributes.h.
References isFixed().
|
friend |
Definition at line 35 of file Attributes.h.
|
protected |
Definition at line 47 of file Attributes.h.
Referenced by isFixed(), and setFixed().