![]() |
OpendTect 8.0
|
Utility class to work with OpendTect survey/project zip files. More...
#include <surveyfile.h>
Public Member Functions | |
| virtual | ~SurveyCreator () |
| virtual uiRetVal | activate () |
| virtual uiRetVal | deactivate () |
| uiRetVal | errMsg () const |
| BufferString | getSurveyDir () const |
| BufferString | getSurveyNm () const |
| BufferString | getTempBaseDir () const |
| virtual BufferString | getZipArchiveLocation () const =0 |
| bool | isManaged () const |
| bool | isMounted () const |
| bool | isOK () const |
| virtual uiRetVal | mount (bool isnew=false, TaskRunner *=nullptr) |
| virtual uiRetVal | save (TaskRunner *=nullptr) |
| void | setManaged (bool yn) |
| virtual uiRetVal | unmount (bool save=true, TaskRunner *=nullptr) |
| uiRetVal | warningMsg () const |
Static Public Member Functions | |
| static BufferString | bckupExtStr () |
| static const char * | extStr () |
Protected Member Functions | |
| SurveyCreator (const char *survnm, const char *dataroot, bool ismanaged) | |
| virtual bool | createSurvey (TaskRunner *)=0 |
Protected Attributes | |
| SurveyChanger * | changer_ = nullptr |
| bool | ismanaged_ = true |
| uiRetVal | lasterrs_ |
| uiRetVal | lastwarning_ |
| bool | mounted_ = false |
| bool | owndataroot_ = false |
| SurveyDiskLocation * | surveyloc_ = nullptr |
| BufferString | surveynm_ |
Utility class to work with OpendTect survey/project zip files.
Encapsulates actions on a OpendTect survey/project zip file including:
cleaning up the unpacked folder back and optionally saving the survey back to a zip file with backup (unmount) The default extension for the survey/project files is ".odz". Backup files have an extension of "odz_bck". The destructor automatically deletes the temporary base folder and unpacked survey without saving.
<>
|
virtual |
|
protected |
|
virtual |
Reimplemented in SurveyFile.
|
inlinestatic |
|
protectedpure virtual |
Implemented in SurveyFile, and EmptyTempSurvey.
|
virtual |
|
inline |
|
inlinestatic |
| BufferString SurveyCreator::getSurveyDir | ( | ) | const |
|
inline |
| BufferString SurveyCreator::getTempBaseDir | ( | ) | const |
|
pure virtual |
Implemented in SurveyFile, and EmptyTempSurvey.
|
inline |
|
inline |
| bool SurveyCreator::isOK | ( | ) | const |
|
virtual |
|
virtual |
|
inline |
|
virtual |
|
inline |
|
protected |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2025