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

#include <pcbexpr_evaluator.h>

Inheritance diagram for PCBEXPR_UNIT_RESOLVER:
LIBEVAL::UNIT_RESOLVER

Public Member Functions

const std::vector< wxString > & GetSupportedUnits () const override
 
wxString GetSupportedUnitsMessage () const override
 
double Convert (const wxString &aString, int unitId) const override
 

Detailed Description

Definition at line 207 of file pcbexpr_evaluator.h.

Member Function Documentation

◆ Convert()

double PCBEXPR_UNIT_RESOLVER::Convert ( const wxString &  aString,
int  unitId 
) const
overridevirtual

Reimplemented from LIBEVAL::UNIT_RESOLVER.

Definition at line 522 of file pcbexpr_evaluator.cpp.

References EDA_UNIT_UTILS::UI::DoubleValueFromString(), and pcbIUScale.

◆ GetSupportedUnits()

const std::vector< wxString > & PCBEXPR_UNIT_RESOLVER::GetSupportedUnits ( ) const
overridevirtual

Reimplemented from LIBEVAL::UNIT_RESOLVER.

Definition at line 508 of file pcbexpr_evaluator.cpp.

◆ GetSupportedUnitsMessage()

wxString PCBEXPR_UNIT_RESOLVER::GetSupportedUnitsMessage ( ) const
overridevirtual

Reimplemented from LIBEVAL::UNIT_RESOLVER.

Definition at line 516 of file pcbexpr_evaluator.cpp.

References _.


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