labplot  2.8.2
About: LabPlot is an application for plotting and analysis of 2D and 3D functions and data. It is a complete rewrite of LabPlot1 and lacks in the first release a lot of features available in the predecessor. On the other hand, the GUI and the usability is more superior.
  Fossies Dox: labplot-2.8.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

IntervalAttribute< T > Class Template Reference

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

#include <IntervalAttribute.h>

Public Member Functions

void setValue (const Interval< int > &i, T value)
 
void setValue (int row, T value)
 
value (int row) const
 
void insertRows (int before, int count)
 
void removeRows (int first, int count)
 
void clear ()
 
QVector< Interval< int > > intervals () const
 
QVector< T > values () const
 

Private Attributes

QVector< T > m_values
 
QVector< Interval< int > > m_intervals
 

Detailed Description

template<class T>
class IntervalAttribute< T >

A class representing an interval-based attribute.

File : IntervalAttribute.h

Project : LabPlot

Copyright : (C) 2007 by Knut Franke (knut..nosp@m.fran.nosp@m.ke@gm.nosp@m.x.de) Copyright : (C) 2007 by Tilman Benkert (thzs@.nosp@m.gmx..nosp@m.net) Description : A class representing an interval-based attribute

  • This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. *
  • This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. *
  • You should have received a copy of the GNU General Public License * along with m_intervals program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301 USA *

Definition at line 38 of file IntervalAttribute.h.

Member Function Documentation

◆ clear()

template<class T >
void IntervalAttribute< T >::clear ( )
inline

◆ insertRows()

template<class T >
void IntervalAttribute< T >::insertRows ( int  before,
int  count 
)
inline

◆ intervals()

template<class T >
QVector< Interval<int> > IntervalAttribute< T >::intervals ( ) const
inline

Definition at line 169 of file IntervalAttribute.h.

References IntervalAttribute< T >::m_intervals.

◆ removeRows()

template<class T >
void IntervalAttribute< T >::removeRows ( int  first,
int  count 
)
inline

◆ setValue() [1/2]

◆ setValue() [2/2]

template<class T >
void IntervalAttribute< T >::setValue ( int  row,
value 
)
inline

◆ value()

◆ values()

template<class T >
QVector<T> IntervalAttribute< T >::values ( ) const
inline

Definition at line 170 of file IntervalAttribute.h.

References IntervalAttribute< T >::m_values.

Member Data Documentation

◆ m_intervals

◆ m_values


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