I/O functionality.
More...
|
|
using | properties = std::unordered_map< string, detail::any_type > |
| | Property container.
|
| |
|
using | property = std::pair< string, detail::any_type > |
| | Property type.
|
| |
|
|
template<typename T > |
| void | insert (properties &ps, string const &name, std::remove_reference_t< T > value) |
| | Inserts a property with name and value into the property container properties.
|
| |
| template<typename T > |
| T & | read (properties &ps, string const &name) |
| | Reads property of type T with name from container properties. More...
|
| |
|
template<typename T > |
| void | read (properties const &ps, string const &name, T &value) |
| | Reads property with name from property container properties into the value.
|
| |
template<typename T >
| T& hm3::io::read |
( |
properties & |
ps, |
|
|
string const & |
name |
|
) |
| |
Reads property of type T with name from container properties.
- Returns
- the property value