BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
DoubleProperty.h File Reference

Description

Defines class DoubleProperty.

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file DoubleProperty.h.

Include dependency graph for DoubleProperty.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DoubleProperty
 Class for representing a double value, its attributes and its accessors. More...
 

Namespaces

 Serialize
 Functions to serialize various data types.
 

Macros

#define DOUBLE_PROPERTY(nameLower, nameUpper)
 Add a member, a getter and a setter for a DoubleProperty. More...
 

Functions

void Serialize::rwProperty (Streamer &s, DoubleProperty &d)
 

Macro Definition Documentation

◆ DOUBLE_PROPERTY

#define DOUBLE_PROPERTY (   nameLower,
  nameUpper 
)
Value:
protected: \
DoubleProperty m_##nameLower; \
\
public: \
DoubleDescriptor nameLower() const { return m_##nameLower; } \
void set##nameUpper(double v) { m_##nameLower.set(v); }

Add a member, a getter and a setter for a DoubleProperty.

Definition at line 107 of file DoubleProperty.h.