Common representation of any quantity associated with objects of a certain type. More...
#include <simulator_quantity.hpp>
Public Types | |
typedef const_quantity< AssociatedT, ValueT > | self_type |
typedef ValueT | value_type |
typedef AssociatedT | associated_type |
typedef associated_type | access_type |
Public Member Functions | |
const_quantity (std::string quan_name, std::size_t num_values, value_type default_value=value_type()) | |
const_quantity (std::string quan_name, std::vector< ValueT > const &values_array) | |
const_quantity (self_type const &o) | |
void | operator= (self_type const &o) |
ValueT | get_value (associated_type const &elem) const |
ValueT | at (associated_type const &elem) const |
ValueT | operator() (associated_type const &elem) const |
std::string | name () const |
Common representation of any quantity associated with objects of a certain type.
This is the minimum requirement one can have: Return value for a vertex/cell.
Definition at line 51 of file simulator_quantity.hpp.
typedef associated_type viennashe::const_quantity< AssociatedT, ValueT >::access_type |
Definition at line 58 of file simulator_quantity.hpp.
typedef AssociatedT viennashe::const_quantity< AssociatedT, ValueT >::associated_type |
Definition at line 57 of file simulator_quantity.hpp.
typedef const_quantity<AssociatedT, ValueT> viennashe::const_quantity< AssociatedT, ValueT >::self_type |
Definition at line 54 of file simulator_quantity.hpp.
typedef ValueT viennashe::const_quantity< AssociatedT, ValueT >::value_type |
Definition at line 56 of file simulator_quantity.hpp.
|
inline |
Definition at line 60 of file simulator_quantity.hpp.
|
inline |
Definition at line 66 of file simulator_quantity.hpp.
|
inline |
Definition at line 71 of file simulator_quantity.hpp.
|
inline |
Definition at line 75 of file simulator_quantity.hpp.
|
inline |
Definition at line 74 of file simulator_quantity.hpp.
|
inline |
Definition at line 78 of file simulator_quantity.hpp.
|
inline |
Definition at line 76 of file simulator_quantity.hpp.
|
inline |
Definition at line 72 of file simulator_quantity.hpp.