73 bool parseUnitFromString(std::string str,
double &out, std::vector<UnitInfo> unit);
Unit information struct, that must be provided in a vector with all possible options and their corres...
Definition unit_parser.h:19
const std::vector< UnitInfo > UNIT_METER
Unit declaration (to be used in parseUnitFromString) for Meters.
Definition unit_parser.h:28
const std::vector< UnitInfo > UNIT_HERTZ
Unit declaration (to be used in parseUnitFromString) for Hertz.
Definition unit_parser.h:48