KiCad PCB EDA Suite
LIBEVAL::UNIT_RESOLVER Class Reference

#include <libeval_compiler.h>

Inheritance diagram for LIBEVAL::UNIT_RESOLVER:
PCB_UNIT_RESOLVER

Public Member Functions

 UNIT_RESOLVER ()
 
virtual ~UNIT_RESOLVER ()
 
virtual const std::vector< wxString > & GetSupportedUnits () const
 
virtual wxString GetSupportedUnitsMessage () const
 
virtual double Convert (const wxString &aString, int unitType) const
 

Detailed Description

Definition at line 154 of file libeval_compiler.h.

Constructor & Destructor Documentation

◆ UNIT_RESOLVER()

LIBEVAL::UNIT_RESOLVER::UNIT_RESOLVER ( )
inline

Definition at line 157 of file libeval_compiler.h.

158  {
159  }

◆ ~UNIT_RESOLVER()

virtual LIBEVAL::UNIT_RESOLVER::~UNIT_RESOLVER ( )
inlinevirtual

Definition at line 161 of file libeval_compiler.h.

162  {
163  }

Member Function Documentation

◆ Convert()

virtual double LIBEVAL::UNIT_RESOLVER::Convert ( const wxString &  aString,
int  unitType 
) const
inlinevirtual

Reimplemented in PCB_UNIT_RESOLVER.

Definition at line 177 of file libeval_compiler.h.

178  {
179  return 0.0;
180  };

◆ GetSupportedUnits()

virtual const std::vector<wxString>& LIBEVAL::UNIT_RESOLVER::GetSupportedUnits ( ) const
inlinevirtual

Reimplemented in PCB_UNIT_RESOLVER.

Definition at line 165 of file libeval_compiler.h.

166  {
167  static const std::vector<wxString> nullUnits;
168 
169  return nullUnits;
170  }

◆ GetSupportedUnitsMessage()

virtual wxString LIBEVAL::UNIT_RESOLVER::GetSupportedUnitsMessage ( ) const
inlinevirtual

Reimplemented in PCB_UNIT_RESOLVER.

Definition at line 172 of file libeval_compiler.h.

173  {
174  return wxEmptyString;
175  }

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