#include <SnapValue.h>

Public Member Functions

 CSnapValue ()
 
 CSnapValue (const CSnapValue &src)
 
 CSnapValue (double val)
 
 CSnapValue (float val)
 
 CSnapValue (int val)
 
 operator double () const
 
CSnapValueoperator= (const CSnapValue &rhs)
 
CSnapValueoperator*= (const CSnapValue &rhs)
 
const CSnapValue operator* (const CSnapValue &rhs) const
 
CSnapValueoperator/= (const CSnapValue &rhs)
 
const CSnapValue operator/ (const CSnapValue &rhs) const
 
CSnapValueoperator+= (const CSnapValue &rhs)
 
const CSnapValue operator+ (const CSnapValue &rhs) const
 
const CSnapValue operator+ () const
 
CSnapValueoperator-= (const CSnapValue &rhs)
 
const CSnapValue operator- (const CSnapValue &rhs) const
 
const CSnapValue operator- () const
 
CSnapValueoperator++ ()
 
CSnapValueoperator-- ()
 
const CSnapValue operator++ (int)
 
const CSnapValue operator-- (int)
 
const double & GetValue () const
 
bool operator< (const CSnapValue &rhs) const
 
bool operator== (const CSnapValue &rhs) const
 
bool operator!= (const CSnapValue &rhs) const
 
bool operator> (const CSnapValue &rhs) const
 
bool operator<= (const CSnapValue &rhs) const
 
bool operator>= (const CSnapValue &rhs) const
 
bool operator< (const double &rhs) const
 
bool operator== (const double &rhs) const
 
bool operator!= (const double &rhs) const
 
bool operator> (const double &rhs) const
 
bool operator<= (const double &rhs) const
 
bool operator>= (const double &rhs) const
 
bool operator< (const int &rhs) const
 
bool operator== (const int &rhs) const
 
bool operator!= (const int &rhs) const
 
bool operator> (const int &rhs) const
 
bool operator<= (const int &rhs) const
 
bool operator>= (const int &rhs) const
 

Protected Member Functions

void Snap ()
 

Private Member Functions

 CSnapValue (const CSnapValue &src, bool dummyflag)
 

Private Attributes

double m_dVal
 

Constructor & Destructor Documentation

CSnapValue::CSnapValue ( const CSnapValue src,
bool  dummyflag 
)
inlineprivate
CSnapValue::CSnapValue ( )
inline
CSnapValue::CSnapValue ( const CSnapValue src)
inline
CSnapValue::CSnapValue ( double  val)
inline
CSnapValue::CSnapValue ( float  val)
inline
CSnapValue::CSnapValue ( int  val)
inline

Member Function Documentation

const double& CSnapValue::GetValue ( ) const
inline
CSnapValue::operator double ( ) const
inline
bool CSnapValue::operator!= ( const CSnapValue rhs) const
inline
bool CSnapValue::operator!= ( const double &  rhs) const
inline
bool CSnapValue::operator!= ( const int &  rhs) const
inline
const CSnapValue CSnapValue::operator* ( const CSnapValue rhs) const
inline
CSnapValue& CSnapValue::operator*= ( const CSnapValue rhs)
inline
const CSnapValue CSnapValue::operator+ ( const CSnapValue rhs) const
inline
const CSnapValue CSnapValue::operator+ ( ) const
inline
CSnapValue& CSnapValue::operator++ ( )
inline
const CSnapValue CSnapValue::operator++ ( int  )
inline
CSnapValue& CSnapValue::operator+= ( const CSnapValue rhs)
inline
const CSnapValue CSnapValue::operator- ( const CSnapValue rhs) const
inline
const CSnapValue CSnapValue::operator- ( ) const
inline
CSnapValue& CSnapValue::operator-- ( )
inline
const CSnapValue CSnapValue::operator-- ( int  )
inline
CSnapValue& CSnapValue::operator-= ( const CSnapValue rhs)
inline
const CSnapValue CSnapValue::operator/ ( const CSnapValue rhs) const
inline
CSnapValue& CSnapValue::operator/= ( const CSnapValue rhs)
inline
bool CSnapValue::operator< ( const CSnapValue rhs) const
inline
bool CSnapValue::operator< ( const double &  rhs) const
inline
bool CSnapValue::operator< ( const int &  rhs) const
inline
bool CSnapValue::operator<= ( const CSnapValue rhs) const
inline
bool CSnapValue::operator<= ( const double &  rhs) const
inline
bool CSnapValue::operator<= ( const int &  rhs) const
inline
CSnapValue& CSnapValue::operator= ( const CSnapValue rhs)
inline
bool CSnapValue::operator== ( const CSnapValue rhs) const
inline
bool CSnapValue::operator== ( const double &  rhs) const
inline
bool CSnapValue::operator== ( const int &  rhs) const
inline
bool CSnapValue::operator> ( const CSnapValue rhs) const
inline
bool CSnapValue::operator> ( const double &  rhs) const
inline
bool CSnapValue::operator> ( const int &  rhs) const
inline
bool CSnapValue::operator>= ( const CSnapValue rhs) const
inline
bool CSnapValue::operator>= ( const double &  rhs) const
inline
bool CSnapValue::operator>= ( const int &  rhs) const
inline
void CSnapValue::Snap ( )
inlineprotected

Member Data Documentation

double CSnapValue::m_dVal
private