BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
DomPointF Class Reference

Public Member Functions

 DomPointF ()
 
 ~DomPointF ()
 
void clearElementX ()
 
void clearElementY ()
 
double elementX () const
 
double elementY () const
 
bool hasElementX () const
 
bool hasElementY () const
 
void read (QXmlStreamReader &reader)
 
void setElementX (double a)
 
void setElementY (double a)
 
void setText (const QString &s)
 
QString text () const
 
void write (QXmlStreamWriter &writer, const QString &tagName="") const
 

Private Types

enum  Child { X = 1 , Y = 2 }
 

Private Member Functions

 DomPointF (const DomPointF &other)
 
void clear (bool clear_all=true)
 
void operator= (const DomPointF &other)
 

Private Attributes

uint m_children
 
QString m_text
 
double m_x
 
double m_y
 

Detailed Description

Definition at line 3033 of file ui4_p.h.

Member Enumeration Documentation

◆ Child

enum DomPointF::Child
private
Enumerator

Definition at line 3064 of file ui4_p.h.

3064 { X = 1, Y = 2 };

Constructor & Destructor Documentation

◆ DomPointF() [1/2]

DomPointF::DomPointF ( )

◆ ~DomPointF()

DomPointF::~DomPointF ( )

◆ DomPointF() [2/2]

DomPointF::DomPointF ( const DomPointF other)
private

Member Function Documentation

◆ clear()

void DomPointF::clear ( bool  clear_all = true)
private

◆ clearElementX()

void DomPointF::clearElementX ( )

◆ clearElementY()

void DomPointF::clearElementY ( )

◆ elementX()

double DomPointF::elementX ( ) const
inline

Definition at line 3045 of file ui4_p.h.

3045 { return m_x; }
double m_x
Definition: ui4_p.h:3062

◆ elementY()

double DomPointF::elementY ( ) const
inline

Definition at line 3050 of file ui4_p.h.

3050 { return m_y; }
double m_y
Definition: ui4_p.h:3063

◆ hasElementX()

bool DomPointF::hasElementX ( ) const
inline

Definition at line 3047 of file ui4_p.h.

3047 { return m_children & X; }
uint m_children
Definition: ui4_p.h:3061

◆ hasElementY()

bool DomPointF::hasElementY ( ) const
inline

Definition at line 3052 of file ui4_p.h.

3052 { return m_children & Y; }

◆ operator=()

void DomPointF::operator= ( const DomPointF other)
private

◆ read()

void DomPointF::read ( QXmlStreamReader &  reader)

◆ setElementX()

void DomPointF::setElementX ( double  a)

◆ setElementY()

void DomPointF::setElementY ( double  a)

◆ setText()

void DomPointF::setText ( const QString &  s)
inline

Definition at line 3041 of file ui4_p.h.

3041 { m_text = s; }
QString m_text
Definition: ui4_p.h:3056

◆ text()

QString DomPointF::text ( ) const
inline

Definition at line 3040 of file ui4_p.h.

3040 { return m_text; }

◆ write()

void DomPointF::write ( QXmlStreamWriter &  writer,
const QString &  tagName = "" 
) const

Member Data Documentation

◆ m_children

uint DomPointF::m_children
private

Definition at line 3061 of file ui4_p.h.

◆ m_text

QString DomPointF::m_text
private

Definition at line 3056 of file ui4_p.h.

◆ m_x

double DomPointF::m_x
private

Definition at line 3062 of file ui4_p.h.

◆ m_y

double DomPointF::m_y
private

Definition at line 3063 of file ui4_p.h.


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