OpendTect
7.0
|
Utility class to work with OpendTect survey/project zip files. More...
Public Member Functions | |
SurveyFile (const char *zipfile, bool automount=false) | |
mDeprecatedObs | SurveyFile (const char *zipfile, const char *) |
~SurveyFile () | |
uiRetVal | activate () |
uiRetVal | deactivate () |
uiRetVal | errMsg () const |
BufferString | getSurveyDir () const |
BufferString | getSurveyFile () const |
BufferString | getTempBaseDir () const |
const BufferString | getZipArchiveLocation () const |
bool | isManaged () const |
bool | isMounted () const |
bool | isOK () const |
uiRetVal | mount (bool isNew=false, TaskRunner *trun=nullptr) |
uiRetVal | save (TaskRunner *trun=nullptr) |
void | setManaged (bool yn) |
uiRetVal | unmount (bool save=true, TaskRunner *trun=nullptr) |
Static Public Member Functions | |
static const char * | bckupExtStr () |
static const char * | extStr () |
static BufferString | filtStr () |
Protected Member Functions | |
bool | createSurvey (TaskRunner *) |
void | readSurveyDirNameFromFile () |
Protected Attributes | |
uiRetVal | lasterrs_ |
bool | mounted_ = false |
BufferString | surveydirnm_ |
BufferString | surveyfile_ |
BufferString | tmpbasedir_ |
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.
<>
SurveyFile::SurveyFile | ( | const char * | zipfile, |
bool | automount = false |
||
) |
mDeprecatedObs SurveyFile::SurveyFile | ( | const char * | zipfile, |
const char * | |||
) |
SurveyFile::~SurveyFile | ( | ) |
uiRetVal SurveyFile::activate | ( | ) |
|
static |
|
protected |
uiRetVal SurveyFile::deactivate | ( | ) |
|
inline |
|
inlinestatic |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
bool SurveyFile::isManaged | ( | ) | const |
|
inline |
|
inline |
uiRetVal SurveyFile::mount | ( | bool | isNew = false , |
TaskRunner * | trun = nullptr |
||
) |
|
protected |
uiRetVal SurveyFile::save | ( | TaskRunner * | trun = nullptr | ) |
void SurveyFile::setManaged | ( | bool | yn | ) |
uiRetVal SurveyFile::unmount | ( | bool | save = true , |
TaskRunner * | trun = nullptr |
||
) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024