KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PROPERTY_VALIDATORS Class Reference

A set of generic validators. More...

#include <property_validators.h>

Static Public Member Functions

template<int Min, int Max>
static VALIDATOR_RESULT RangeIntValidator (const wxAny &&aValue, EDA_ITEM *aItem)
 
static VALIDATOR_RESULT PositiveIntValidator (const wxAny &&aValue, EDA_ITEM *aItem)
 
static VALIDATOR_RESULT PositiveRatioValidator (const wxAny &&aValue, EDA_ITEM *aItem)
 

Detailed Description

A set of generic validators.

Definition at line 102 of file property_validators.h.

Member Function Documentation

◆ PositiveIntValidator()

static VALIDATOR_RESULT PROPERTY_VALIDATORS::PositiveIntValidator ( const wxAny &&  aValue,
EDA_ITEM aItem 
)
inlinestatic

Definition at line 121 of file property_validators.h.

Referenced by PAD_DESC::PAD_DESC(), and ZONE_DESC::ZONE_DESC().

◆ PositiveRatioValidator()

static VALIDATOR_RESULT PROPERTY_VALIDATORS::PositiveRatioValidator ( const wxAny &&  aValue,
EDA_ITEM aItem 
)
inlinestatic

◆ RangeIntValidator()

template<int Min, int Max>
static VALIDATOR_RESULT PROPERTY_VALIDATORS::RangeIntValidator ( const wxAny &&  aValue,
EDA_ITEM aItem 
)
inlinestatic

Definition at line 107 of file property_validators.h.

Referenced by ZONE_DESC::ZONE_DESC().


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