KiCad PCB EDA Suite
Loading...
Searching...
No Matches
RANGED_NUM< T > Class Template Reference

#include <ranged_num.h>

Public Member Functions

 RANGED_NUM (T aValue=0, T aTolerancePlus=0, T aToleranceMinus=0)
 
 operator T ()
 
RANGED_NUMoperator= (const T aValue)
 
bool Matches (const T &aOther) const
 

Private Attributes

m_value
 
m_tolerancePlus
 
m_toleranceMinus
 

Detailed Description

template<class T>
class RANGED_NUM< T >

Definition at line 24 of file ranged_num.h.

Constructor & Destructor Documentation

◆ RANGED_NUM()

template<class T >
RANGED_NUM< T >::RANGED_NUM ( aValue = 0,
aTolerancePlus = 0,
aToleranceMinus = 0 
)
inline

Definition at line 26 of file ranged_num.h.

Member Function Documentation

◆ Matches()

template<class T >
bool RANGED_NUM< T >::Matches ( const T &  aOther) const
inline

◆ operator T()

template<class T >
RANGED_NUM< T >::operator T ( )
inline

Definition at line 32 of file ranged_num.h.

◆ operator=()

template<class T >
RANGED_NUM & RANGED_NUM< T >::operator= ( const T  aValue)
inline

Definition at line 37 of file ranged_num.h.

References RANGED_NUM< T >::m_value.

Member Data Documentation

◆ m_toleranceMinus

template<class T >
T RANGED_NUM< T >::m_toleranceMinus
private

Definition at line 49 of file ranged_num.h.

Referenced by RANGED_NUM< T >::Matches().

◆ m_tolerancePlus

template<class T >
T RANGED_NUM< T >::m_tolerancePlus
private

Definition at line 49 of file ranged_num.h.

Referenced by RANGED_NUM< T >::Matches().

◆ m_value

template<class T >
T RANGED_NUM< T >::m_value
private

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