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

Description

Defines class VectorProperty.

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

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

Go to the source code of this file.

Classes

class  VectorProperty
 Holds a 3D vector of type R3 as well as additional info like label, tooltip. More...
 

Namespaces

 Serialize
 Functions to serialize various data types.
 

Macros

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

Functions

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

Macro Definition Documentation

◆ VECTOR_PROPERTY

#define VECTOR_PROPERTY (   nameLower,
  nameUpper 
)
Value:
protected: \
VectorProperty m_##nameLower; \
\
public: \
VectorDescriptor nameLower() const { return m_##nameLower; } \
void set##nameUpper(const R3& v) { m_##nameLower.set(v); }

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

Definition at line 63 of file VectorProperty.h.