KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PCBEXPR_LAYER_VALUE Class Reference
Inheritance diagram for PCBEXPR_LAYER_VALUE:
LIBEVAL::VALUE

Public Member Functions

 PCBEXPR_LAYER_VALUE (PCB_LAYER_ID aLayer)
 
virtual bool EqualTo (LIBEVAL::CONTEXT *aCtx, const VALUE *b) const override
 
virtual double AsDouble () const
 
virtual const wxString & AsString () const
 
virtual bool EqualTo (CONTEXT *aCtx, const VALUE *b) const
 
virtual bool NotEqualTo (CONTEXT *aCtx, const VALUE *b) const
 
VAR_TYPE_T GetType () const
 
void Set (double aValue)
 
void Set (const wxString &aValue)
 
void Set (const VALUE &val)
 
void SetDeferredEval (std::function< double()> aLambda)
 
void SetDeferredEval (std::function< wxString()> aLambda)
 

Protected Attributes

PCB_LAYER_ID m_layer
 

Private Attributes

VAR_TYPE_T m_type
 
double m_valueDbl
 
wxString m_valueStr
 
bool m_stringIsWildcard
 
bool m_isDeferredDbl
 
std::function< double()> m_lambdaDbl
 
bool m_isDeferredStr
 
std::function< wxString()> m_lambdaStr
 

Detailed Description

Definition at line 48 of file pcbexpr_evaluator.cpp.

Constructor & Destructor Documentation

◆ PCBEXPR_LAYER_VALUE()

PCBEXPR_LAYER_VALUE::PCBEXPR_LAYER_VALUE ( PCB_LAYER_ID  aLayer)
inline

Definition at line 51 of file pcbexpr_evaluator.cpp.

Member Function Documentation

◆ AsDouble()

virtual double LIBEVAL::VALUE::AsDouble ( ) const
inlinevirtualinherited

◆ AsString()

◆ EqualTo() [1/2]

◆ EqualTo() [2/2]

virtual bool PCBEXPR_LAYER_VALUE::EqualTo ( LIBEVAL::CONTEXT aCtx,
const VALUE b 
) const
inlineoverridevirtual

◆ GetType()

VAR_TYPE_T LIBEVAL::VALUE::GetType ( ) const
inlineinherited

◆ NotEqualTo()

◆ Set() [1/3]

void LIBEVAL::VALUE::Set ( const VALUE val)
inlineinherited

◆ Set() [2/3]

void LIBEVAL::VALUE::Set ( const wxString &  aValue)
inlineinherited

Definition at line 265 of file libeval_compiler.h.

References LIBEVAL::VT_STRING.

◆ Set() [3/3]

◆ SetDeferredEval() [1/2]

◆ SetDeferredEval() [2/2]

void LIBEVAL::VALUE::SetDeferredEval ( std::function< wxString()>  aLambda)
inlineinherited

Definition at line 258 of file libeval_compiler.h.

References LIBEVAL::VT_STRING.

Member Data Documentation

◆ m_isDeferredDbl

bool LIBEVAL::VALUE::m_isDeferredDbl
mutableprivateinherited

Definition at line 286 of file libeval_compiler.h.

◆ m_isDeferredStr

bool LIBEVAL::VALUE::m_isDeferredStr
mutableprivateinherited

Definition at line 289 of file libeval_compiler.h.

◆ m_lambdaDbl

std::function<double()> LIBEVAL::VALUE::m_lambdaDbl
privateinherited

Definition at line 287 of file libeval_compiler.h.

◆ m_lambdaStr

std::function<wxString()> LIBEVAL::VALUE::m_lambdaStr
privateinherited

Definition at line 290 of file libeval_compiler.h.

◆ m_layer

PCB_LAYER_ID PCBEXPR_LAYER_VALUE::m_layer
protected

Definition at line 94 of file pcbexpr_evaluator.cpp.

Referenced by EqualTo().

◆ m_stringIsWildcard

bool LIBEVAL::VALUE::m_stringIsWildcard
privateinherited

Definition at line 284 of file libeval_compiler.h.

Referenced by LIBEVAL::VALUE::EqualTo().

◆ m_type

VAR_TYPE_T LIBEVAL::VALUE::m_type
privateinherited

◆ m_valueDbl

double LIBEVAL::VALUE::m_valueDbl
mutableprivateinherited

Definition at line 282 of file libeval_compiler.h.

Referenced by LIBEVAL::VALUE::Set().

◆ m_valueStr

wxString LIBEVAL::VALUE::m_valueStr
mutableprivateinherited

Definition at line 283 of file libeval_compiler.h.

Referenced by LIBEVAL::VALUE::Set().


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