The main quantity register. Not deep copy-able!
More...
#include <quantity_wrappers.hpp>
The main quantity register. Not deep copy-able!
Definition at line 228 of file quantity_wrappers.hpp.
◆ quan_map
◆ ~quantitiy_register()
| virtual libviennashe::quantity::quantitiy_register::~quantitiy_register |
( |
| ) |
|
|
inlinevirtual |
◆ get()
| quantity_wrapper const & libviennashe::quantity::quantitiy_register::get |
( |
std::string const & |
name | ) |
const |
|
inline |
Returns a single const reference to a quantitiy wrapper.
- Parameters
-
| name | The name of the quantity to retrieve |
Definition at line 260 of file quantity_wrappers.hpp.
◆ get_names()
| std::vector< std::string > libviennashe::quantity::quantitiy_register::get_names |
( |
| ) |
const |
|
inline |
◆ has_quan()
| bool libviennashe::quantity::quantitiy_register::has_quan |
( |
std::string const & |
name | ) |
const |
|
inline |
Returns true if a quantity is registered.
- Parameters
-
| name | The name of the quantity |
- Returns
- true if the quantity exists (is registered)
Definition at line 267 of file quantity_wrappers.hpp.
◆ register_quan()
| void libviennashe::quantity::quantitiy_register::register_quan |
( |
quantity_wrapper const & |
quan | ) |
|
|
inline |
◆ size()
| std::size_t libviennashe::quantity::quantitiy_register::size |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: