KiCad PCB EDA Suite
Loading...
Searching...
No Matches
SIM_VALUE_GRAMMAR Namespace Reference

Classes

struct  digits
 
struct  exponent
 
struct  exponentPrefix
 
struct  exponentWithPrefix
 
struct  fracPart
 
struct  garbageSuffix
 
struct  garbageSuffix< NOTATION::SI >
 
struct  garbageSuffix< NOTATION::SPICE >
 
struct  intPart
 
struct  number
 
struct  numberGrammar
 
struct  sign
 
struct  significand
 
struct  significand< SIM_VALUE::TYPE_FLOAT >
 
struct  significand< SIM_VALUE::TYPE_INT >
 
struct  unitPrefix
 
struct  unitPrefix< SIM_VALUE::TYPE_FLOAT, NOTATION::SI >
 
struct  unitPrefix< SIM_VALUE::TYPE_FLOAT, NOTATION::SPICE >
 
struct  unitPrefix< SIM_VALUE::TYPE_INT, NOTATION::SI >
 
struct  unitPrefix< SIM_VALUE::TYPE_INT, NOTATION::SPICE >
 

Enumerations

enum class  NOTATION { SI , SPICE }
 

Functions

bool IsValid (const std::string &aString, SIM_VALUE::TYPE aValueType=SIM_VALUE::TYPE_FLOAT, NOTATION aNotation=NOTATION::SI)
 

Variables

template<NOTATION Notation>
std::string allowedIntChars
 

Enumeration Type Documentation

◆ NOTATION

enum class SIM_VALUE_GRAMMAR::NOTATION
strong
Enumerator
SI 
SPICE 

Definition at line 50 of file sim_value.h.

Function Documentation

◆ IsValid()

bool SIM_VALUE_GRAMMAR::IsValid ( const std::string &  aString,
SIM_VALUE::TYPE  aValueType = SIM_VALUE::TYPE_FLOAT,
NOTATION  aNotation = NOTATION::SI 
)

Definition at line 128 of file sim_value.cpp.

References CALL_INSTANCE, and doIsValid().

Variable Documentation

◆ allowedIntChars

template<NOTATION Notation>
std::string SIM_VALUE_GRAMMAR::allowedIntChars

Definition at line 100 of file sim_value.h.