Abstract class for any geophysical model. More...
#include <GeophysicalModel.h>
Classes | |
class | GeophysicalContext |
Public Member Functions | |
virtual GeophysicalModel * | clone () const =0 |
virtual GeophysicalContext * | expressionContext () const =0 |
virtual bool | fromStream (QTextStream &s, QString *comments=0)=0 |
GeophysicalModel () | |
virtual bool | isEmpty () const =0 |
virtual bool | isValid () |
virtual void | toStream (QTextStream &s) const =0 |
virtual QString | toString () const =0 |
virtual | ~GeophysicalModel () |
Static Public Member Functions | |
static QString | allFormatHelp () |
Abstract class for any geophysical model.
Provide a common interface for geophysical models
QGpCoreWave::GeophysicalModel::GeophysicalModel | ( | ) | [inline] |
{}
virtual QGpCoreWave::GeophysicalModel::~GeophysicalModel | ( | ) | [inline, virtual] |
{}
QString QGpCoreWave::GeophysicalModel::allFormatHelp | ( | ) | [static] |
References QGpCoreWave::Resistivity1DModel::formatHelp(), QGpCoreWave::RefractionDippingModel::formatHelp(), and QGpCoreWave::Seismic1DModel::formatHelp().
{ return "Format for seismic 1D layered models:\n" + Seismic1DModel::formatHelp() + "\n\n" "Format for refraction dipping layered models:\n" + RefractionDippingModel::formatHelp() + "\n\n" "Format for resistivity 1D layered models:\n" + Resistivity1DModel::formatHelp() + "\n\n"; }
virtual GeophysicalModel* QGpCoreWave::GeophysicalModel::clone | ( | ) | const [pure virtual] |
Implemented in QGpCoreWave::RefractionDippingModel, QGpCoreWave::Seismic1DModel, and QGpCoreWave::Resistivity1DModel.
virtual GeophysicalContext* QGpCoreWave::GeophysicalModel::expressionContext | ( | ) | const [pure virtual] |
Implemented in QGpCoreWave::Seismic1DModel, QGpCoreWave::RefractionDippingModel, and QGpCoreWave::Resistivity1DModel.
Referenced by ModelSliderEditor::setModelType(), and ModelSlider::setReferenceModel().
virtual bool QGpCoreWave::GeophysicalModel::fromStream | ( | QTextStream & | s, |
QString * | comments = 0 |
||
) | [pure virtual] |
Implemented in QGpCoreWave::Seismic1DModel, QGpCoreWave::RefractionDippingModel, and QGpCoreWave::Resistivity1DModel.
Referenced by MainWindow::setBackground().
virtual bool QGpCoreWave::GeophysicalModel::isEmpty | ( | ) | const [pure virtual] |
Implemented in QGpCoreWave::Seismic1DModel, QGpCoreWave::RefractionDippingModel, and QGpCoreWave::Resistivity1DModel.
Referenced by MainWindow::setBackground().
virtual bool QGpCoreWave::GeophysicalModel::isValid | ( | ) | [inline, virtual] |
virtual void QGpCoreWave::GeophysicalModel::toStream | ( | QTextStream & | s | ) | const [pure virtual] |
Implemented in QGpCoreWave::Seismic1DModel, QGpCoreWave::RefractionDippingModel, and QGpCoreWave::Resistivity1DModel.
Referenced by MainWindow::addBackground().
virtual QString QGpCoreWave::GeophysicalModel::toString | ( | ) | const [pure virtual] |
Implemented in QGpCoreWave::Seismic1DModel, QGpCoreWave::RefractionDippingModel, and QGpCoreWave::Resistivity1DModel.