#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)
 

Private Attributes

double m_dVal
 

Constructor & Destructor Documentation

◆ CSnapValue() [1/6]

CSnapValue::CSnapValue ( const CSnapValue src,
bool   
)
inlineprivate

◆ CSnapValue() [2/6]

CSnapValue::CSnapValue ( )
inline

◆ CSnapValue() [3/6]

CSnapValue::CSnapValue ( const CSnapValue src)
inline

◆ CSnapValue() [4/6]

CSnapValue::CSnapValue ( double  val)
inline

◆ CSnapValue() [5/6]

CSnapValue::CSnapValue ( float  val)
inline

◆ CSnapValue() [6/6]

CSnapValue::CSnapValue ( int  val)
inline

Member Function Documentation

◆ GetValue()

const double & CSnapValue::GetValue ( ) const
inline

◆ operator double()

CSnapValue::operator double ( ) const
inline

◆ operator!=() [1/3]

bool CSnapValue::operator!= ( const CSnapValue rhs) const
inline

◆ operator!=() [2/3]

bool CSnapValue::operator!= ( const double &  rhs) const
inline

◆ operator!=() [3/3]

bool CSnapValue::operator!= ( const int &  rhs) const
inline

◆ operator*()

const CSnapValue CSnapValue::operator* ( const CSnapValue rhs) const
inline

◆ operator*=()

CSnapValue & CSnapValue::operator*= ( const CSnapValue rhs)
inline

◆ operator+() [1/2]

const CSnapValue CSnapValue::operator+ ( ) const
inline

◆ operator+() [2/2]

const CSnapValue CSnapValue::operator+ ( const CSnapValue rhs) const
inline

◆ operator++() [1/2]

CSnapValue & CSnapValue::operator++ ( )
inline

◆ operator++() [2/2]

const CSnapValue CSnapValue::operator++ ( int  )
inline

◆ operator+=()

CSnapValue & CSnapValue::operator+= ( const CSnapValue rhs)
inline

◆ operator-() [1/2]

const CSnapValue CSnapValue::operator- ( ) const
inline

◆ operator-() [2/2]

const CSnapValue CSnapValue::operator- ( const CSnapValue rhs) const
inline

◆ operator--() [1/2]

CSnapValue & CSnapValue::operator-- ( )
inline

◆ operator--() [2/2]

const CSnapValue CSnapValue::operator-- ( int  )
inline

◆ operator-=()

CSnapValue & CSnapValue::operator-= ( const CSnapValue rhs)
inline

◆ operator/()

const CSnapValue CSnapValue::operator/ ( const CSnapValue rhs) const
inline

◆ operator/=()

CSnapValue & CSnapValue::operator/= ( const CSnapValue rhs)
inline

◆ operator<() [1/3]

bool CSnapValue::operator< ( const CSnapValue rhs) const
inline

◆ operator<() [2/3]

bool CSnapValue::operator< ( const double &  rhs) const
inline

◆ operator<() [3/3]

bool CSnapValue::operator< ( const int &  rhs) const
inline

◆ operator<=() [1/3]

bool CSnapValue::operator<= ( const CSnapValue rhs) const
inline

◆ operator<=() [2/3]

bool CSnapValue::operator<= ( const double &  rhs) const
inline

◆ operator<=() [3/3]

bool CSnapValue::operator<= ( const int &  rhs) const
inline

◆ operator=()

CSnapValue & CSnapValue::operator= ( const CSnapValue rhs)
inline

◆ operator==() [1/3]

bool CSnapValue::operator== ( const CSnapValue rhs) const
inline

◆ operator==() [2/3]

bool CSnapValue::operator== ( const double &  rhs) const
inline

◆ operator==() [3/3]

bool CSnapValue::operator== ( const int &  rhs) const
inline

◆ operator>() [1/3]

bool CSnapValue::operator> ( const CSnapValue rhs) const
inline

◆ operator>() [2/3]

bool CSnapValue::operator> ( const double &  rhs) const
inline

◆ operator>() [3/3]

bool CSnapValue::operator> ( const int &  rhs) const
inline

◆ operator>=() [1/3]

bool CSnapValue::operator>= ( const CSnapValue rhs) const
inline

◆ operator>=() [2/3]

bool CSnapValue::operator>= ( const double &  rhs) const
inline

◆ operator>=() [3/3]

bool CSnapValue::operator>= ( const int &  rhs) const
inline

◆ Snap()

void CSnapValue::Snap ( )
inlineprotected

Member Data Documentation

◆ m_dVal

double CSnapValue::m_dVal
private

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.