svcore  1.9
TimeValuePoint Struct Reference

Time/value point type for use in a SparseModel or SparseValueModel. More...

#include <SparseTimeValueModel.h>

List of all members.

Classes

struct  Comparator
struct  OrderComparator

Public Member Functions

 TimeValuePoint (long _frame)
 TimeValuePoint (long _frame, float _value, QString _label)
int getDimensions () const
QString getLabel () const
void toXml (QTextStream &stream, QString indent="", QString extraAttributes="") const
QString toDelimitedDataString (QString delimiter, int sampleRate) const

Public Attributes

long frame
float value
QString label

Detailed Description

Time/value point type for use in a SparseModel or SparseValueModel.

With this point type, the model basically represents a wiggly-line plot with points at arbitrary intervals of the model resolution.

Definition at line 29 of file SparseTimeValueModel.h.


Constructor & Destructor Documentation

TimeValuePoint::TimeValuePoint ( long  _frame) [inline]

Definition at line 32 of file SparseTimeValueModel.h.

TimeValuePoint::TimeValuePoint ( long  _frame,
float  _value,
QString  _label 
) [inline]

Definition at line 33 of file SparseTimeValueModel.h.


Member Function Documentation

int TimeValuePoint::getDimensions ( ) const [inline]

Definition at line 36 of file SparseTimeValueModel.h.

QString TimeValuePoint::getLabel ( ) const [inline]

Definition at line 42 of file SparseTimeValueModel.h.

References label.

void TimeValuePoint::toXml ( QTextStream &  stream,
QString  indent = "",
QString  extraAttributes = "" 
) const [inline]

Definition at line 44 of file SparseTimeValueModel.h.

References XmlExportable::encodeEntities(), frame, label, and value.

QString TimeValuePoint::toDelimitedDataString ( QString  delimiter,
int  sampleRate 
) const [inline]

Member Data Documentation


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