#include <PrimitiveVariables.h>
A proxy object providing access to the name, group and values of a "primitive", i.e. single-channel, variable pointed to by a PrimitiveVariablesIterator.
- See also
- PrimitiveVariables for an example of its use.
- Warning
- Never use a PrimitiveVariable object obtained by dereferencing a PrimitiveVariablesIterator after incrementing this iterator or when the iterator has gone out of scope.
Definition at line 37 of file src/ufo/utils/PrimitiveVariables.h.
◆ PrimitiveVariable()
ufo::PrimitiveVariable::PrimitiveVariable |
( |
const Variable & |
variable, |
|
|
size_t |
channelIndex, |
|
|
const std::vector< float > & |
values |
|
) |
| |
|
inline |
◆ group()
const std::string& ufo::PrimitiveVariable::group |
( |
| ) |
const |
|
inline |
◆ name()
std::string ufo::PrimitiveVariable::name |
( |
| ) |
const |
|
inline |
◆ values()
const std::vector<float>& ufo::PrimitiveVariable::values |
( |
| ) |
const |
|
inline |
◆ variable()
Variable ufo::PrimitiveVariable::variable |
( |
| ) |
const |
|
inline |
◆ channelIndex_
size_t ufo::PrimitiveVariable::channelIndex_ |
|
private |
◆ values_
const std::vector<float>& ufo::PrimitiveVariable::values_ |
|
private |
◆ variable_
const Variable& ufo::PrimitiveVariable::variable_ |
|
private |
The documentation for this class was generated from the following file: