KiCad PCB EDA Suite
|
Functions | |
PARSE_RESULT | Parse (const std::string &aString, NOTATION aNotation=NOTATION::SI, SIM_VALUE::TYPE aValueType=SIM_VALUE::TYPE_FLOAT) |
int | UnitPrefixToExponent (std::string aPrefix, NOTATION aNotation=NOTATION::SI) |
std::string | ExponentToUnitPrefix (double aExponent, int &aExponentReduction, NOTATION aNotation=NOTATION::SI) |
std::string SIM_VALUE_PARSER::ExponentToUnitPrefix | ( | double | aExponent, |
int & | aExponentReduction, | ||
NOTATION | aNotation = NOTATION::SI |
||
) |
Definition at line 296 of file sim_value.cpp.
Referenced by SIM_VALUE::ConvertNotation(), and SIM_VALUE::Normalize().
SIM_VALUE_PARSER::PARSE_RESULT SIM_VALUE_PARSER::Parse | ( | const std::string & | aString, |
NOTATION | aNotation = NOTATION::SI , |
||
SIM_VALUE::TYPE | aValueType = SIM_VALUE::TYPE_FLOAT |
||
) |
Definition at line 197 of file sim_value.cpp.
References CALL_INSTANCE, doParse(), handleNodeForParse(), and SIM_VALUE_PARSER::PARSE_RESULT::isOk.
Referenced by SIM_VALUE::ConvertNotation(), SIM_VALUE::ToDouble(), and SIM_VALUE::ToInt().
int SIM_VALUE_PARSER::UnitPrefixToExponent | ( | std::string | aPrefix, |
NOTATION | aNotation = NOTATION::SI |
||
) |
Definition at line 236 of file sim_value.cpp.
Referenced by handleNodeForParse().