OpendTect
7.0
|
A file format description for simple selection of files. More...
Public Member Functions | |
FileFormat (const char *traditional_img_fmt_str) | |
FileFormat (const uiString &, const char *ext=0, const char *ext2=0, const char *ext3=0) | |
void | addExtension (const char *) |
const char * | extension (int) const |
BufferString | getFileFilter () const |
bool | hasExtension (const char *) const |
int | nrExtensions () const |
const uiString & | userDesc () const |
Static Public Member Functions | |
static const FileFormat & | allFiles () |
static const FileFormat & | hdf5Files () |
static const FileFormat & | imageFiles () |
static const FileFormat & | parFiles () |
static const FileFormat & | shlibFiles () |
static const FileFormat & | textFiles () |
static const FileFormat & | zipFiles () |
Protected Attributes | |
BufferStringSet | exts_ |
uiString | usrdesc_ |
Friends | |
class | FileFormatList |
A file format description for simple selection of files.
Extensions are treated case insensitive, but if you add different versions with different case the exact match will be preferred.
<>
FileFormat::FileFormat | ( | const uiString & | , |
const char * | ext = 0 , |
||
const char * | ext2 = 0 , |
||
const char * | ext3 = 0 |
||
) |
FileFormat::FileFormat | ( | const char * | traditional_img_fmt_str | ) |
void FileFormat::addExtension | ( | const char * | ) |
|
static |
const char* FileFormat::extension | ( | int | ) | const |
BufferString FileFormat::getFileFilter | ( | ) | const |
bool FileFormat::hasExtension | ( | const char * | ) | const |
|
static |
|
static |
|
inline |
|
static |
|
static |
|
static |
|
inline |
|
static |
|
friend |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024