The component iterator.
More...
#include <WeightedComponent.h>
◆ Iterator()
| maquina::WeightedComponent::Iterator::Iterator |
( |
uint32_t |
index, |
|
|
const WeightedComponent * |
wc |
|
) |
| |
|
inline |
◆ index()
| uint32_t maquina::WeightedComponent::Iterator::index |
( |
| ) |
const |
|
inline |
Return the component element index.
◆ operator!=()
| bool maquina::WeightedComponent::Iterator::operator!= |
( |
const Iterator & |
o | ) |
const |
|
inline |
◆ operator*()
| std::pair<uint32_t, float> maquina::WeightedComponent::Iterator::operator* |
( |
| ) |
const |
|
inline |
◆ operator+()
| Iterator& maquina::WeightedComponent::Iterator::operator+ |
( |
uint32_t |
d | ) |
|
|
inline |
◆ operator++()
| Iterator& maquina::WeightedComponent::Iterator::operator++ |
( |
| ) |
|
|
inline |
◆ weight()
| float maquina::WeightedComponent::Iterator::weight |
( |
| ) |
const |
|
inline |
Return the component element weight, including the global weight.
The documentation for this class was generated from the following file: