Aria 2.0.0
C++23 MVVM framework (C++20 minimum) — reactive, coroutine-first, ABI-layered
Loading...
Searching...
No Matches
converter.hpp File Reference
#include "aria/inplace_function.hpp"
#include <cstdio>
#include <functional>
#include <optional>
#include <stdexcept>
#include <string>
#include <utility>
Include dependency graph for converter.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  aria::binding::ConversionError
 Thrown by built-in Converter::to_model when the user-provided string cannot be parsed into the target Model type. More...
struct  aria::binding::Converter< T, U >
 Bidirectional converter between Model type T and View type U. More...

Namespaces

namespace  aria
namespace  aria::binding
namespace  aria::binding::converters

Functions

Converter< std::string, std::string > aria::binding::converters::identity_string ()
Converter< int, std::string > aria::binding::converters::int_to_string ()
Converter< double, std::string > aria::binding::converters::double_to_string (int precision=2)
Converter< bool, std::string > aria::binding::converters::bool_to_yes_no ()