Gromacs  2019-beta2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions
gmx::AnalysisDataFrameLocalDataHandle< ValueType > Class Template Reference

#include <gromacs/analysisdata/framelocaldata.h>


template<typename ValueType>
class gmx::AnalysisDataFrameLocalDataHandle< ValueType >

Handle to a single frame data within frame-local data array.

Methods in this class do not throw.

See Also

Public Types

typedef std::vector< ValueType > ValueArray
 Shorthand for the internal array of values.
< ValueType > 
 Shorthand for a handle to a single data set.

Public Member Functions

 AnalysisDataFrameLocalDataHandle (const std::vector< int > *dataSetIndices, ValueArray *values)
 Constructs a handle from specified frame data.
int dataSetCount () const
 Returns the number of data sets in the array.
void clear ()
 Clears all values in the frame.
DataSetHandle dataSet (int dataSet)
 Returns a handle for a single data set.
ValueType & value (int dataSet, int column)
 Accesses a single value in the frame.

The documentation for this class was generated from the following file: