Seamly2D
Code documentation
VInternalVariable Class Reference

#include <vinternalvariable.h>

Inheritance diagram for VInternalVariable:
Collaboration diagram for VInternalVariable:

Public Member Functions

 VInternalVariable ()
 
 VInternalVariable (const VInternalVariable &var)
 
virtual ~VInternalVariable ()
 
VInternalVariableoperator= (const VInternalVariable &var)
 
void Swap (VInternalVariable &var) Q_DECL_NOTHROW
 
virtual qreal GetValue () const
 
virtual qreal * GetValue ()
 
QString GetName () const
 
void SetName (const QString &name)
 
VarType GetType () const
 
void SetType (const VarType &type)
 
virtual bool Filter (quint32 id)
 
virtual bool isNotUsed () const
 

Protected Member Functions

void SetValue (const qreal &value)
 

Private Attributes

QSharedDataPointer< VInternalVariableDatad
 

Detailed Description

Definition at line 64 of file vinternalvariable.h.

Constructor & Destructor Documentation

◆ VInternalVariable() [1/2]

VInternalVariable::VInternalVariable ( )

Definition at line 63 of file vinternalvariable.cpp.

◆ VInternalVariable() [2/2]

VInternalVariable::VInternalVariable ( const VInternalVariable var)

Definition at line 68 of file vinternalvariable.cpp.

◆ ~VInternalVariable()

VInternalVariable::~VInternalVariable ( )
virtual

Definition at line 84 of file vinternalvariable.cpp.

Member Function Documentation

◆ Filter()

bool VInternalVariable::Filter ( quint32  id)
virtual

Reimplemented in VLengthLine, VLineAngle, and VCurveVariable.

Definition at line 88 of file vinternalvariable.cpp.

◆ GetName()

QString VInternalVariable::GetName ( ) const

◆ GetType()

VarType VInternalVariable::GetType ( ) const

Definition at line 131 of file vinternalvariable.cpp.

References d.

◆ GetValue() [1/2]

qreal * VInternalVariable::GetValue ( )
virtual

Reimplemented in VMeasurement.

Definition at line 107 of file vinternalvariable.cpp.

References d.

◆ GetValue() [2/2]

qreal VInternalVariable::GetValue ( ) const
virtual

Reimplemented in VMeasurement.

Definition at line 101 of file vinternalvariable.cpp.

References d.

Referenced by VMeasurement::CalcValue(), VMeasurement::GetValue(), and EditFormulaDialog::valueChanged().

◆ isNotUsed()

bool VInternalVariable::isNotUsed ( ) const
virtual

Reimplemented in VMeasurement.

Definition at line 95 of file vinternalvariable.cpp.

◆ operator=()

VInternalVariable & VInternalVariable::operator= ( const VInternalVariable var)

◆ SetName()

◆ SetType()

◆ SetValue()

◆ Swap()

void VInternalVariable::Swap ( VInternalVariable var)

Member Data Documentation

◆ d

QSharedDataPointer<VInternalVariableData> VInternalVariable::d
private

Definition at line 94 of file vinternalvariable.h.

Referenced by GetName(), GetType(), GetValue(), operator=(), SetName(), SetType(), and SetValue().


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