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

#include <property_validators.h>

Inheritance diagram for VALIDATION_ERROR_TOO_SMALL< T >:
VALIDATION_ERROR

Public Member Functions

 VALIDATION_ERROR_TOO_SMALL (T aActual, T aMinimum, EDA_DATA_TYPE aType=EDA_DATA_TYPE::DISTANCE)
 
wxString Format (UNITS_PROVIDER *aUnits) const override
 

Public Attributes

T Actual
 
T Minimum
 
EDA_DATA_TYPE DataType
 

Detailed Description

template<typename T>
class VALIDATION_ERROR_TOO_SMALL< T >

Definition at line 58 of file property_validators.h.

Constructor & Destructor Documentation

◆ VALIDATION_ERROR_TOO_SMALL()

template<typename T>
VALIDATION_ERROR_TOO_SMALL< T >::VALIDATION_ERROR_TOO_SMALL ( T aActual,
T aMinimum,
EDA_DATA_TYPE aType = EDA_DATA_TYPE::DISTANCE )
inline

Definition at line 65 of file property_validators.h.

References Actual, DataType, DISTANCE, Minimum, and T.

Member Function Documentation

◆ Format()

template<typename T>
wxString VALIDATION_ERROR_TOO_SMALL< T >::Format ( UNITS_PROVIDER * aUnits) const
inlineoverridevirtual

Implements VALIDATION_ERROR.

Definition at line 72 of file property_validators.h.

References DataType, Minimum, UNITS_PROVIDER::StringFromValue(), and UNITLESS.

Member Data Documentation

◆ Actual

template<typename T>
T VALIDATION_ERROR_TOO_SMALL< T >::Actual

Definition at line 61 of file property_validators.h.

Referenced by VALIDATION_ERROR_TOO_SMALL().

◆ DataType

template<typename T>
EDA_DATA_TYPE VALIDATION_ERROR_TOO_SMALL< T >::DataType

Definition at line 63 of file property_validators.h.

Referenced by Format(), and VALIDATION_ERROR_TOO_SMALL().

◆ Minimum

template<typename T>
T VALIDATION_ERROR_TOO_SMALL< T >::Minimum

Definition at line 62 of file property_validators.h.

Referenced by Format(), and VALIDATION_ERROR_TOO_SMALL().


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