![]() |
OpendTect
6.3
|
Specification for one or more files. More...
Public Member Functions | |
| MultiSpec (const char *fnm=0) | |
| MultiSpec (const IOPar &) | |
| bool | isEmpty () const |
| bool | isMulti () const |
| bool | isRangeMulti () const |
| int | nrFiles () const |
| const char * | fileName (int nr=0) const |
| const char * | absFileName (int nr=0) const |
| adds path if necessary More... | |
| const char * | dirName () const |
| only the dir name More... | |
| const char * | fullDirName () const |
| full name of dir More... | |
| const char * | dispName () const |
| for titles etc More... | |
| const char * | usrStr () const |
| a user-typed filename More... | |
| void | setUsrStr (const char *str) |
| void | setEmpty () |
| void | setFileName (const char *nm) |
| void | ensureBaseDir (const char *dirnm) |
| void | makeAbsoluteIfRelative (const char *dirnm) |
| void | fillPar (IOPar &) const |
| bool | usePar (const IOPar &) |
| void | getReport (IOPar &) const |
| void | getMultiFromString (const char *) |
Static Public Member Functions | |
| static const char * | sKeyFileNrs () |
| static void | makePathsRelative (IOPar &, const char *todir=0) |
Public Attributes | |
| BufferStringSet | fnames_ |
| StepInterval< int > | nrs_ |
| int | zeropad_ |
| left-pad the nrs_ to this length More... | |
| BufferString | survsubdir_ |
| For example sSeismicSubDir() More... | |
Protected Attributes | |
| BufferString | usrstr_ |
Specification for one or more files.
If the paths are not absolute, they will be considered relative to the current survey directory. If you work with relative pathnames, you can specify a subdir-from-survey-dir.
| File::MultiSpec::MultiSpec | ( | const char * | fnm = 0 | ) |
| File::MultiSpec::MultiSpec | ( | const IOPar & | ) |
| const char* File::MultiSpec::absFileName | ( | int | nr = 0 | ) | const |
adds path if necessary
| const char* File::MultiSpec::dirName | ( | ) | const |
only the dir name
| const char* File::MultiSpec::dispName | ( | ) | const |
for titles etc
| void File::MultiSpec::ensureBaseDir | ( | const char * | dirnm | ) |
| const char* File::MultiSpec::fileName | ( | int | nr = 0 | ) | const |
| void File::MultiSpec::fillPar | ( | IOPar & | ) | const |
| const char* File::MultiSpec::fullDirName | ( | ) | const |
full name of dir
| void File::MultiSpec::getMultiFromString | ( | const char * | ) |
| void File::MultiSpec::getReport | ( | IOPar & | ) | const |
|
inline |
|
inline |
| bool File::MultiSpec::isRangeMulti | ( | ) | const |
| void File::MultiSpec::makeAbsoluteIfRelative | ( | const char * | dirnm | ) |
|
static |
| int File::MultiSpec::nrFiles | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
static |
| bool File::MultiSpec::usePar | ( | const IOPar & | ) |
| const char* File::MultiSpec::usrStr | ( | ) | const |
a user-typed filename
| BufferStringSet File::MultiSpec::fnames_ |
| StepInterval<int> File::MultiSpec::nrs_ |
| BufferString File::MultiSpec::survsubdir_ |
For example sSeismicSubDir()
|
protected |
| int File::MultiSpec::zeropad_ |
left-pad the nrs_ to this length
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017