#include <PVGUI_DataModel.h>
|
| PVGUI_DataModel (PVGUI_Module *theModule) |
|
virtual | ~PVGUI_DataModel () |
|
virtual bool | dumpPython (const QString &, CAM_Study *, bool, QStringList &) |
|
virtual bool | open (const QString &, CAM_Study *, QStringList) |
| Open data model (read ParaView pipeline state from the files). More...
|
|
virtual bool | save (QStringList &) |
| Save data model (write ParaView pipeline to the files). More...
|
|
virtual bool | saveAs (const QString &, CAM_Study *, QStringList &) |
| Save data model (write ParaView pipeline state to the files). More...
|
|
virtual bool | create (CAM_Study *) |
|
PVGUI_DataModel::PVGUI_DataModel |
( |
PVGUI_Module * |
theModule | ) |
|
PVGUI_DataModel::~PVGUI_DataModel |
( |
| ) |
|
|
virtual |
bool PVGUI_DataModel::dumpPython |
( |
const QString & |
path, |
|
|
CAM_Study * |
std, |
|
|
bool |
isMultiFile, |
|
|
QStringList & |
listOfFiles |
|
) |
| |
|
virtual |
bool PVGUI_DataModel::open |
( |
const QString & |
theName, |
|
|
CAM_Study * |
theStudy, |
|
|
QStringList |
theList |
|
) |
| |
|
virtual |
bool PVGUI_DataModel::save |
( |
QStringList & |
theListOfFiles | ) |
|
|
virtual |
bool PVGUI_DataModel::saveAs |
( |
const QString & |
url, |
|
|
CAM_Study * |
study, |
|
|
QStringList & |
theListOfFiles |
|
) |
| |
|
virtual |
- Parameters
-
url | study file path |
study | study pointer |
listOfFiles | returning list of the (temporary) files with saved data |
- Returns
- operation status (
true
on success and false
on error)
References myStudyURL, and save().
bool PVGUI_DataModel::create |
( |
CAM_Study * |
theStudy | ) |
|
|
virtual |
void PVGUI_DataModel::publishComponent |
( |
CAM_Study * |
theStudy | ) |
|
|
private |
bool PVGUI_DataModel::createAndCheckRestoreFlag |
( |
const QString & |
tmpdir, |
|
|
QStringList & |
listOfFiles, |
|
|
bool & |
alreadyThere |
|
) |
| |
|
private |
Create an empty file indicating whether source files in the pipeline should be restored.
References RESTORE_FLAG_FILE.
QString PVGUI_DataModel::myStudyURL |
|
private |
const QString PVGUI_DataModel::RESTORE_FLAG_FILE = "do_restore_paravis_references.par" |
|
staticprivate |