#include <vCore.h>
Public Member Functions | |
Set () | |
Constructor using std::auto_ptr. | |
Set (BasePtr &val) | |
Constructor using std::auto_ptr. | |
Set (BasePtr &val, BasePtr &min, BasePtr &max) | |
Constructor using std::auto_ptr. | |
Set (const Set &other) | |
Copy constructor. | |
~Set () | |
Destructor. | |
void | operator= (Set const &other) |
Overloaded assignment operator. | |
Expr::Core::Base const & | GetMin (void) const |
Returns a reference to the stored minimum value. | |
Expr::Core::Base const & | GetMax (void) const |
Returns a reference to the stored maximum value. | |
Expr::Core::Base const & | GetVal (void) const |
Returns a reference to the stored current value. | |
Private Attributes | |
BasePtr | m_min |
The minimum value. | |
BasePtr | m_max |
The maxumim value. | |
BasePtr | m_val |
The current value. |
Definition at line 126 of file vCore.h.
vValue::Type::Set::Set | ( | ) |
vValue::Type::Set::Set | ( | BasePtr & | val | ) |
vValue::Type::Set::Set | ( | const Set & | other | ) |
void vValue::Type::Set::operator= | ( | Set const & | other | ) |
Overloaded assignment operator.
Erases the current contents and copies the contents of another set into itself.
other | the object to be copied from |
Definition at line 170 of file vCore.cpp.
References vValue::Expr::Core::Base::copy(), GetMax(), GetMin(), GetVal(), m_max, m_min, and m_val.
00170 { 00171 if(this != &other) { 00172 m_min = BasePtr(other.GetMin().copy()); 00173 m_max = BasePtr(other.GetMax().copy()); 00174 m_val = BasePtr(other.GetVal().copy()); 00175 } 00176 }
Expr::Core:: Base const& vValue::Type::Set::GetMin | ( | void | ) | const [inline] |
Returns a reference to the stored minimum value.
Definition at line 144 of file vCore.h.
Referenced by operator=(), cWidget::Rectangle::Render(), and cWidget::BarGauge::Render().
Expr::Core:: Base const& vValue::Type::Set::GetMax | ( | void | ) | const [inline] |
Returns a reference to the stored maximum value.
Definition at line 146 of file vCore.h.
Referenced by operator=(), cWidget::Rectangle::Render(), and cWidget::BarGauge::Render().
Expr::Core:: Base const& vValue::Type::Set::GetVal | ( | void | ) | const [inline] |
Returns a reference to the stored current value.
Definition at line 148 of file vCore.h.
Referenced by operator=(), cWidget::Rectangle::Render(), and cWidget::BarGauge::Render().
BasePtr vValue::Type::Set::m_min [private] |
BasePtr vValue::Type::Set::m_max [private] |
BasePtr vValue::Type::Set::m_val [private] |