![]() |
OpendTect
6.3
|
Helps to write a new version of a file. On write error rollback, otherwise commit. More...
Public Member Functions | |
| SafeWriteHelper (const char *, bool keepbak=false) | |
| ~SafeWriteHelper () | |
| od_ostream & | stream () |
| bool | commit () |
| void | rollback () |
Protected Member Functions | |
| void | closeStream () |
Protected Attributes | |
| od_ostream | strm_ |
| bool | closed_ |
| const bool | keepbak_ |
| const BufferString | fnm_ |
Static Private Member Functions | |
| static uiString | tr (const char *text, const char *disambiguation=0, int pluralnr=-1) |
| static uiString | legacyTr (const char *text, const char *disambiguation=0, int pluralnr=-1) |
Helps to write a new version of a file. On write error rollback, otherwise commit.
| SafeWriteHelper::SafeWriteHelper | ( | const char * | , |
| bool | keepbak = false |
||
| ) |
| SafeWriteHelper::~SafeWriteHelper | ( | ) |
|
protected |
| bool SafeWriteHelper::commit | ( | ) |
|
inlinestaticprivate |
| void SafeWriteHelper::rollback | ( | ) |
|
inline |
|
inlinestaticprivate |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017