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

Attributes for a fit parameter. More...

Public Member Functions

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 ()
 Creates a fixed value object.
 
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)
 

Detailed Description

Attributes for a fit parameter.

Currently, the only attribute is fixed/free.

Definition at line 23 of file Attributes.h.

Member Function Documentation

◆ print()

void Attributes::print ( std::ostream &  ostr) const
inlineprotected

parameter is fixed

Prints class.

Definition at line 53 of file Attributes.h.


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