SciDAVis  1.D4
Public Member Functions | Private Attributes
IntervalAttribute< T > Class Template Reference

A class representing an interval-based attribute. More...

#include <IntervalAttribute.h>

List of all members.

Public Member Functions

void clear ()
void insertRows (int before, int count)
QList< Interval< int > > intervals () const
IntervalAttribute< T > & operator= (const IntervalAttribute< T > &other)
void removeRows (int first, int count)
void setValue (Interval< int > i, T value)
void setValue (int row, T value)
value (int row) const
QList< T > values () const

Private Attributes

QList< Interval< int > > d_intervals
QList< T > d_values

Detailed Description

template<class T>
class IntervalAttribute< T >

A class representing an interval-based attribute.


Member Function Documentation

template<class T>
void IntervalAttribute< T >::clear ( )
inline
template<class T>
void IntervalAttribute< T >::insertRows ( int  before,
int  count 
)
inline
template<class T>
QList< Interval<int> > IntervalAttribute< T >::intervals ( ) const
inline
template<class T>
IntervalAttribute<T>& IntervalAttribute< T >::operator= ( const IntervalAttribute< T > &  other)
inline
template<class T>
void IntervalAttribute< T >::removeRows ( int  first,
int  count 
)
inline
template<class T>
void IntervalAttribute< T >::setValue ( Interval< int >  i,
value 
)
inline
template<class T>
void IntervalAttribute< T >::setValue ( int  row,
value 
)
inline
template<class T>
T IntervalAttribute< T >::value ( int  row) const
inline
template<class T>
QList<T> IntervalAttribute< T >::values ( ) const
inline

Member Data Documentation

template<class T>
QList< Interval<int> > IntervalAttribute< T >::d_intervals
private
template<class T>
QList<T> IntervalAttribute< T >::d_values
private

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