xmol::utils namespace

Namespaces

namespace functional_objects

Classes

class DeadObserverAccessError
template<typename Observer>
class DeadObserverAccessErrorT
template<typename Observer>
class Observable
Implements base primitives for observable entity.
template<int WIDTH, int PRECISION, SpaceStrip STRIP>
struct parse_fixed_precision_fn
struct functional_objects::parse_fixed_precision_fn___
template<int MAX_LENGTH, bool ALLOW_CONSTRUCT_TRUNCATION = false, typename = void>
class ShortAsciiString

Enums

enum class ObserverState { ANY, ACTIVE, INVALID }
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
static auto ltrim(std::string& s) -> std::string&
static auto rtrim(std::string& s) -> std::string&
static auto trim(std::string& s) -> std::string&
static auto ltrim(std::string&& s) -> std::string
static auto rtrim(std::string&& s) -> std::string
static auto trim(std::string&& s) -> std::string
template<typename I>
auto int2hex(I w, size_t hex_len = sizeof(I)<<1) -> std::string

Variables

static static int powers_of_10 constexpr
parse_fixed_precision_fn___ parse_fixed_precision constexpr