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

Description

Defines class UIntProperty.

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 UIntProperty.h.

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

Go to the source code of this file.

Classes

class  UIntProperty
 Class for representing a uint value, its attributes and its accessors. More...
 

Namespaces

 Serialize
 Functions to serialize various data types.
 

Macros

#define UINT_PROPERTY(nameLower, nameUpper)
 Add a member, a getter and a bunch of overloaded setters for a UIntProperty. More...
 

Functions

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

Macro Definition Documentation

◆ UINT_PROPERTY

#define UINT_PROPERTY (   nameLower,
  nameUpper 
)
Value:
private: \
UIntProperty m_##nameLower; \
\
public: \
UIntDescriptor nameLower() const { return m_##nameLower; } \
void set##nameUpper(int v) { m_##nameLower.set(v); } \
void set##nameUpper(uint v) { m_##nameLower.set(v); } \
void set##nameUpper(size_t v) { m_##nameLower.set((int)v); }

Add a member, a getter and a bunch of overloaded setters for a UIntProperty.

Definition at line 70 of file UIntProperty.h.