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

#include <spice_value.h>

Inheritance diagram for SPICE_VALIDATOR:

Public Member Functions

 SPICE_VALIDATOR (bool aEmptyAllowed=false)
 
wxObject * Clone () const override
 
bool Validate (wxWindow *aParent) override
 

Private Attributes

bool m_emptyAllowed
 < Is it valid to get an empty value?
 

Detailed Description

Definition at line 180 of file spice_value.h.

Constructor & Destructor Documentation

◆ SPICE_VALIDATOR()

SPICE_VALIDATOR::SPICE_VALIDATOR ( bool  aEmptyAllowed = false)
inline

Definition at line 183 of file spice_value.h.

Member Function Documentation

◆ Clone()

wxObject * SPICE_VALIDATOR::Clone ( ) const
inlineoverride

Definition at line 188 of file spice_value.h.

◆ Validate()

bool SPICE_VALIDATOR::Validate ( wxWindow *  aParent)
override

Definition at line 387 of file spice_value.cpp.

References _, DisplayError(), m_emptyAllowed, and text.

Member Data Documentation

◆ m_emptyAllowed

bool SPICE_VALIDATOR::m_emptyAllowed
private

< Is it valid to get an empty value?

Definition at line 197 of file spice_value.h.

Referenced by Validate().


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