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

Public Member Functions

 DomPropertyData ()
 
 ~DomPropertyData ()
 
QString attributeType () const
 
void clearAttributeType ()
 
bool hasAttributeType () const
 
void read (QXmlStreamReader &reader)
 
void setAttributeType (const QString &a)
 
void setText (const QString &s)
 
QString text () const
 
void write (QXmlStreamWriter &writer, const QString &tagName="") const
 

Private Member Functions

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

Private Attributes

QString m_attr_type
 
uint m_children
 
bool m_has_attr_type
 
QString m_text
 

Detailed Description

Definition at line 1089 of file ui4_p.h.

Constructor & Destructor Documentation

◆ DomPropertyData() [1/2]

DomPropertyData::DomPropertyData ( )

◆ ~DomPropertyData()

DomPropertyData::~DomPropertyData ( )

◆ DomPropertyData() [2/2]

DomPropertyData::DomPropertyData ( const DomPropertyData other)
private

Member Function Documentation

◆ attributeType()

QString DomPropertyData::attributeType ( ) const
inline

Definition at line 1101 of file ui4_p.h.

1101 { return m_attr_type; }
QString m_attr_type
Definition: ui4_p.h:1115

◆ clear()

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

◆ clearAttributeType()

void DomPropertyData::clearAttributeType ( )
inline

Definition at line 1107 of file ui4_p.h.

1107 { m_has_attr_type = false; }
bool m_has_attr_type
Definition: ui4_p.h:1116

◆ hasAttributeType()

bool DomPropertyData::hasAttributeType ( ) const
inline

Definition at line 1100 of file ui4_p.h.

1100 { return m_has_attr_type; }

◆ operator=()

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

◆ read()

void DomPropertyData::read ( QXmlStreamReader &  reader)

◆ setAttributeType()

void DomPropertyData::setAttributeType ( const QString &  a)
inline

Definition at line 1102 of file ui4_p.h.

1103  {
1104  m_attr_type = a;
1105  m_has_attr_type = true;
1106  }

◆ setText()

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

Definition at line 1097 of file ui4_p.h.

1097 { m_text = s; }
QString m_text
Definition: ui4_p.h:1111

◆ text()

QString DomPropertyData::text ( ) const
inline

Definition at line 1096 of file ui4_p.h.

1096 { return m_text; }

◆ write()

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

Member Data Documentation

◆ m_attr_type

QString DomPropertyData::m_attr_type
private

Definition at line 1115 of file ui4_p.h.

◆ m_children

uint DomPropertyData::m_children
private

Definition at line 1119 of file ui4_p.h.

◆ m_has_attr_type

bool DomPropertyData::m_has_attr_type
private

Definition at line 1116 of file ui4_p.h.

◆ m_text

QString DomPropertyData::m_text
private

Definition at line 1111 of file ui4_p.h.


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