file
parsing.h
Contents
- Reference
Namespaces
- namespace xmol
- Reworked original xmol.
- namespace xmol::utils
- namespace xmol::utils::functional_objects
Classes
-
template<int WIDTH, int PRECISION, SpaceStrip STRIP>struct xmol::utils::parse_fixed_precision_fn
- struct xmol::utils::functional_objects::parse_fixed_precision_fn___
Enums
- enum class SpaceStrip { NONE, LEFT, RIGHT, LEFT_AND_RIGHT }
Functions
-
template<int LEN>auto parse_uint_fixed_length(const std::string& line, int pos) -> std::pair<bool, int> noexcept
- auto parse_uint(const std::string& line, int pos, int LEN) -> std::pair<bool, int> noexcept
-
template<SpaceStrip stripping = SpaceStrip::NONE>auto parse_int(const std::string& line, int pos, int LEN) -> std::pair<bool, int> noexcept
- auto parse_fixed_precision_rt(const std::string& line, int pos, int width) -> std::pair<bool, double> noexcept
Variables
- static static int powers_of_10 constexpr
- parse_fixed_precision_fn___ parse_fixed_precision constexpr