26#ifndef NIDAS_CORE_VARIABLEINDEX_H
27#define NIDAS_CORE_VARIABLEINDEX_H
29namespace nidas {
namespace core {
114 get(
float* fdata,
float dflt)
126 set(
float* fdata,
float value)
A VariableIndex associates a Variable pointer with it's index into it's SampleTag.
Definition VariableIndex.h:52
VariableIndex & operator=(const VariableIndex &rhs)
Assign the pointer and index of the given VariableIndex to this instance.
Definition VariableIndex.h:85
int _index
Definition VariableIndex.h:147
bool operator!() const
Definition VariableIndex.h:133
VariableIndex(const VariableIndex &rhs)
The copy constructor copies the pointer and index of the given VariableIndex.
Definition VariableIndex.h:76
bool operator==(const VariableIndex &rhs) const
Definition VariableIndex.h:92
float get(float *fdata, float dflt)
Return the data value at this variable's index into fdata.
Definition VariableIndex.h:114
int index()
Definition VariableIndex.h:104
VariableIndex()
Default constructor creates an invalid VariableIndex: the Variable pointer is null and the index is -...
Definition VariableIndex.h:59
Variable * variable()
Definition VariableIndex.h:98
VariableIndex(Variable *var, int index)
Construct a VariableIndex with the given Variable and index.
Definition VariableIndex.h:67
bool valid() const
Definition VariableIndex.h:139
void set(float *fdata, float value)
Set value at this variable's index into fdata.
Definition VariableIndex.h:126
Variable * _variable
Definition VariableIndex.h:146
Class describing a sampled variable.
Definition Variable.h:47
Sample * getSample(sampleType type, unsigned int len)
A convienence method for getting a sample of an enumerated type from a pool.
Definition Sample.cc:70
Root namespace for the NCAR In-Situ Data Acquisition Software.
Definition A2DConverter.h:31