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

A validator for use when you just need to return an error string rather than also packaging some other data (for example, a limit number) More...

#include <property_validators.h>

Inheritance diagram for VALIDATION_ERROR_MSG:
VALIDATION_ERROR

Public Member Functions

 VALIDATION_ERROR_MSG (const wxString &aMessage)
 
wxString Format (UNITS_PROVIDER *aUnits) const override
 

Public Attributes

wxString Message
 

Detailed Description

A validator for use when you just need to return an error string rather than also packaging some other data (for example, a limit number)

Definition at line 85 of file property_validators.h.

Constructor & Destructor Documentation

◆ VALIDATION_ERROR_MSG()

VALIDATION_ERROR_MSG::VALIDATION_ERROR_MSG ( const wxString &  aMessage)
inline

Definition at line 90 of file property_validators.h.

Member Function Documentation

◆ Format()

wxString VALIDATION_ERROR_MSG::Format ( UNITS_PROVIDER aUnits) const
inlineoverridevirtual

Implements VALIDATION_ERROR.

Definition at line 92 of file property_validators.h.

References Message.

Member Data Documentation

◆ Message

wxString VALIDATION_ERROR_MSG::Message

Definition at line 88 of file property_validators.h.

Referenced by Format().


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