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
 
const std::vector< EDA_UNITS > & GetSupportedUnitsTypes () const override
 
wxString GetSupportedUnitsMessage () const override
 
double Convert (const wxString &aString, int unitId) const override
 

Detailed Description

Definition at line 212 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 694 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 669 of file pcbexpr_evaluator.cpp.

◆ GetSupportedUnitsMessage()

wxString PCBEXPR_UNIT_RESOLVER::GetSupportedUnitsMessage ( ) const
overridevirtual

Reimplemented from LIBEVAL::UNIT_RESOLVER.

Definition at line 679 of file pcbexpr_evaluator.cpp.

References _.

◆ GetSupportedUnitsTypes()

const std::vector< EDA_UNITS > & PCBEXPR_UNIT_RESOLVER::GetSupportedUnitsTypes ( ) const
overridevirtual

Reimplemented from LIBEVAL::UNIT_RESOLVER.

Definition at line 685 of file pcbexpr_evaluator.cpp.


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