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

#include <property_validators.h>

Inheritance diagram for VALIDATION_ERROR_TOO_LARGE< T >:
VALIDATION_ERROR

Public Member Functions

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

Public Attributes

T Actual
 
T Maximum
 
EDA_DATA_TYPE DataType
 

Detailed Description

template<typename T>
class VALIDATION_ERROR_TOO_LARGE< T >

Definition at line 34 of file property_validators.h.

Constructor & Destructor Documentation

◆ VALIDATION_ERROR_TOO_LARGE()

template<typename T>
VALIDATION_ERROR_TOO_LARGE< T >::VALIDATION_ERROR_TOO_LARGE ( T aActual,
T aMaximum,
EDA_DATA_TYPE aType = EDA_DATA_TYPE::DISTANCE )
inline

Definition at line 41 of file property_validators.h.

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

Member Function Documentation

◆ Format()

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

Implements VALIDATION_ERROR.

Definition at line 48 of file property_validators.h.

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

Member Data Documentation

◆ Actual

template<typename T>
T VALIDATION_ERROR_TOO_LARGE< T >::Actual

Definition at line 37 of file property_validators.h.

Referenced by VALIDATION_ERROR_TOO_LARGE().

◆ DataType

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

Definition at line 39 of file property_validators.h.

Referenced by Format(), and VALIDATION_ERROR_TOO_LARGE().

◆ Maximum

template<typename T>
T VALIDATION_ERROR_TOO_LARGE< T >::Maximum

Definition at line 38 of file property_validators.h.

Referenced by Format(), and VALIDATION_ERROR_TOO_LARGE().


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