Public Member Functions | Protected Attributes
MaxEntry Class Reference

#include <MaxEntry.h>

Inheritance diagram for MaxEntry:
CurveMaxEntry FKMaxEntry SPACMaxEntry TFAMaxEntry

List of all members.

Public Member Functions

bool isSelected () const
 MaxEntry ()
virtual bool operator< (const MaxEntry &o) const
virtual bool readLine (QTextStream &s)=0
void setSelected (bool s)
double time () const
virtual double value () const =0
virtual void writeHeader (QTextStream &s) const =0
virtual void writeLine (QTextStream &s) const =0
double x () const
virtual ~MaxEntry ()

Protected Attributes

bool _selected
double _time
double _x

Constructor & Destructor Documentation

MaxEntry::MaxEntry ( ) [inline]

References _selected.

{_selected=true;}
virtual MaxEntry::~MaxEntry ( ) [inline, virtual]
{}

Member Function Documentation

bool MaxEntry::isSelected ( ) const [inline]
bool MaxEntry::operator< ( const MaxEntry o) const [virtual]

Reimplemented in CurveMaxEntry, and TFAMaxEntry.

References _time, _x, TRACE, and value().

{
  TRACE;
  if(_x<o._x) return true;
  else if(_x>o._x) return false;
  if(_time<o._time) return true;
  else if(_time>o._time) return false;
  if(value()<o.value()) return true;
  else return false;
}
virtual bool MaxEntry::readLine ( QTextStream &  s) [pure virtual]

Implemented in FKMaxEntry, CurveMaxEntry, SPACMaxEntry, and TFAMaxEntry.

Referenced by MaxEntryList::load().

void MaxEntry::setSelected ( bool  s) [inline]
double MaxEntry::time ( ) const [inline]

References _time.

{return _time;}
virtual double MaxEntry::value ( ) const [pure virtual]
virtual void MaxEntry::writeHeader ( QTextStream &  s) const [pure virtual]
virtual void MaxEntry::writeLine ( QTextStream &  s) const [pure virtual]
double MaxEntry::x ( ) const [inline]

Member Data Documentation

bool MaxEntry::_selected [protected]
double MaxEntry::_time [protected]
double MaxEntry::_x [protected]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines