All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines
Public Member Functions | Static Public Attributes
QGpCoreTools::ComplexStatisticalPoint Class Reference

#include <StatisticalPoint.h>

Inheritance diagram for QGpCoreTools::ComplexStatisticalPoint:
QGpCoreTools::StatisticalPoint< Complex > QGpCoreTools::StatisticalValue< Complex > QGpCoreTools::XMLClass QGpCoreWave::MagnetoTelluricPoint

List of all members.

Public Member Functions

 ComplexStatisticalPoint ()
 ComplexStatisticalPoint (double x, const Complex &y)
void operator= (const ComplexStatisticalPoint &o)
void operator= (const ComplexStatisticalValue &o)
void setY (double v, const CurvePointOptions *options)
virtual const QString & xml_tagName () const
double y (const CurvePointOptions *options) const

Static Public Attributes

static const QString xmlComplexStatisticalPointTag = "ComplexStatisticalPoint"

Constructor & Destructor Documentation

{}
: StatisticalPoint<Complex>(x, y) {}

Member Function Documentation

void QGpCoreTools::ComplexStatisticalPoint::operator= ( const ComplexStatisticalPoint o) [inline]
void QGpCoreTools::ComplexStatisticalPoint::operator= ( const ComplexStatisticalValue o) [inline]
void QGpCoreTools::ComplexStatisticalPoint::setY ( double  v,
const CurvePointOptions options 
)

References QGpCoreTools::AbstractComplexPointOptions::fromDouble(), QGpCoreTools::ComplexPointOptions::fromDouble(), QGpCoreTools::StatisticalValue< Complex >::mean(), QGpCoreTools::StatisticalValue< Complex >::setMean(), and QGpCoreTools::StatisticalPoint< Complex >::x().

{
  const AbstractComplexPointOptions * co=static_cast<const AbstractComplexPointOptions *>(options);
  Complex c=StatisticalPoint<Complex>::mean();
  if(co) {
    co->fromDouble(x(), c, v);
  } else {
    ComplexPointOptions co;
    co.fromDouble(x(), c, v);
  }
  setMean(c);
}
virtual const QString& QGpCoreTools::ComplexStatisticalPoint::xml_tagName ( ) const [inline, virtual]

References QGpCoreTools::AbstractComplexPointOptions::toDouble(), QGpCoreTools::ComplexPointOptions::toDouble(), and QGpCoreTools::StatisticalPoint< Complex >::x().

{
  const AbstractComplexPointOptions * co=static_cast<const AbstractComplexPointOptions *>(options);
  if(co) {
    return co->toDouble(x(), StatisticalPoint<Complex>::mean());
  } else {
    ComplexPointOptions co;
    return co.toDouble(x(), StatisticalPoint<Complex>::mean());
  }
}

Member Data Documentation

const QString QGpCoreTools::ComplexStatisticalPoint::xmlComplexStatisticalPointTag = "ComplexStatisticalPoint" [static]

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