| 
    KiCad PCB EDA Suite
    
   | 
 
#include <fast_float/fast_float.h>#include <sim/sim_value.h>#include <wx/translation.h>#include <ki_exception.h>#include <locale_io.h>#include <pegtl/contrib/parse_tree.hpp>#include <fmt/core.h>#include <math/util.h>#include <wx/regex.h>Go to the source code of this file.
Namespaces | |
| namespace | SIM_VALUE_PARSER | 
Macros | |
| #define | CALL_INSTANCE(ValueType, Notation, func, ...) | 
Functions | |
| PARSE_RESULT | SIM_VALUE_PARSER::Parse (const std::string &aString, NOTATION aNotation=NOTATION::SI, SIM_VALUE::TYPE aValueType=SIM_VALUE::TYPE_FLOAT) | 
| int | SIM_VALUE_PARSER::UnitPrefixToExponent (std::string aPrefix, NOTATION aNotation=NOTATION::SI) | 
| std::string | SIM_VALUE_PARSER::ExponentToUnitPrefix (double aExponent, int &aExponentReduction, NOTATION aNotation=NOTATION::SI) | 
| template<SIM_VALUE::TYPE ValueType, SIM_VALUE_PARSER::NOTATION Notation> | |
| static void | doIsValid (tao::pegtl::string_input<> &aIn) | 
| template<SIM_VALUE::TYPE ValueType, SIM_VALUE_PARSER::NOTATION Notation> | |
| static std::unique_ptr< tao::pegtl::parse_tree::node > | doParse (tao::pegtl::string_input<> &aIn) | 
| template<SIM_VALUE::TYPE ValueType, SIM_VALUE_PARSER::NOTATION Notation> | |
| static void | handleNodeForParse (tao::pegtl::parse_tree::node &aNode, SIM_VALUE_PARSER::PARSE_RESULT &aParseResult) | 
| #define CALL_INSTANCE | ( | ValueType, | |
| Notation, | |||
| func, | |||
| ... ) | 
Definition at line 36 of file sim_value.cpp.
Referenced by SIM_VALUE_GRAMMAR::IsValid(), and SIM_VALUE_PARSER::Parse().
      
  | 
  inlinestatic | 
Definition at line 124 of file sim_value.cpp.
Referenced by SIM_VALUE_GRAMMAR::IsValid().
      
  | 
  inlinestatic | 
Definition at line 149 of file sim_value.cpp.
Referenced by SIM_VALUE_PARSER::Parse().
      
  | 
  inlinestatic | 
Definition at line 159 of file sim_value.cpp.
References SIM_VALUE_PARSER::PARSE_RESULT::exponent, SIM_VALUE_PARSER::PARSE_RESULT::fracPart, SIM_VALUE_PARSER::PARSE_RESULT::intPart, SIM_VALUE_PARSER::PARSE_RESULT::isEmpty, SIM_VALUE_PARSER::PARSE_RESULT::isOk, SIM_VALUE_PARSER::PARSE_RESULT::significand, SIM_VALUE_PARSER::PARSE_RESULT::unitPrefixExponent, and SIM_VALUE_PARSER::UnitPrefixToExponent().
Referenced by SIM_VALUE_PARSER::Parse().