![]() |
OpendTect
6.3
|
Holds the context for selecting and/or creating IOObjs. More...
Classes | |
| struct | StdDirData |
Public Types | |
| enum | StdSelType { Seis =0, Surf, Loc, Feat, WllInf, NLA, Misc, Attr, Mdl, Geom, None } |
| typedef DBKey::GroupNrType | DBGroupNrType |
| typedef DBKey::DirID | DBDirID |
Public Member Functions | |
| mDeclareEnumUtils (StdSelType) | |
| IOObjContext (const TranslatorGroup *, const char *prefname=0) | |
| IOObjContext (const IOObjContext &) | |
| IOObjContext & | operator= (const IOObjContext &) |
| bool | validIOObj (const IOObj &) const |
| FixedString | objectTypeName () const |
| FixedString | translatorGroupName () const |
| bool | hasStdSelDirID () const |
| DBDirID | getSelDirID () const |
| IOStream * | crDefaultWriteObj (const Translator &, const DBKey &) const |
| void | fillTrGroup () const |
| void | fixTranslator (const char *trusrnm) |
| mDeprecated DBDirID | getSelKey () const |
Public Member Functions inherited from NamedObject | |
| NamedObject (const char *nm=0) | |
| NamedObject (const NamedObject &oth) | |
| virtual | ~NamedObject () |
| NamedObject & | operator= (const NamedObject &) |
| bool | operator== (const NamedObject &oth) const |
| virtual const OD::String & | name () const |
| virtual BufferString | getName () const |
| virtual void | setName (const char *nm) |
| bool | getNameFromPar (const IOPar &) |
| void | putNameInPar (IOPar &) const |
Static Public Member Functions | |
| static int | totalNrStdDirs () |
| static const StdDirData * | getStdDirData (StdSelType) |
| static BufferString | getDataDirName (StdSelType) |
| Including legacy names - smart. More... | |
Public Attributes | |
| StdSelType | stdseltype_ |
| intrinsics More... | |
| const TranslatorGroup * | trgroup_ |
| Mandatory, must never be 0. More... | |
| bool | multi_ |
| If true, multi allowed. More... | |
| bool | forread_ |
| this selection only More... | |
| DBDirID | dirid_ |
| If set, overrules the 'standard'. More... | |
| BufferString | deftransl_ |
| Translator to use for new entry. More... | |
| IOObjSelConstraints | toselect_ |
| mDeprecated StdSelType & | stdseltype = stdseltype_ |
| mDeprecated const TranslatorGroup *& | trgroup = trgroup_ |
| mDeprecated bool & | multi = multi_ |
| mDeprecated bool & | forread = forread_ |
| mDeprecated BufferString & | deftransl = deftransl_ |
| mDeprecated IOObjSelConstraints & | toselect = toselect_ |
Additional Inherited Members | |
Protected Attributes inherited from NamedObject | |
| BufferString | name_ |
Holds the context for selecting and/or creating IOObjs.
Usually, this object is obtained by calling the ioContext() method of a certain TranslatorGroup.
Note, that if the StdSelType is set to None, you must provide the groupnr_ or we'll be blobbing stuff in the root of the survey.
| typedef DBKey::DirID IOObjContext::DBDirID |
| IOObjContext::IOObjContext | ( | const TranslatorGroup * | , |
| const char * | prefname = 0 |
||
| ) |
| IOObjContext::IOObjContext | ( | const IOObjContext & | ) |
| IOStream* IOObjContext::crDefaultWriteObj | ( | const Translator & | , |
| const DBKey & | |||
| ) | const |
| void IOObjContext::fillTrGroup | ( | ) | const |
Uses stdseltype_ to make a trgroup_ Should never be necessary
|
inline |
|
static |
Including legacy names - smart.
| DBDirID IOObjContext::getSelDirID | ( | ) | const |
|
inline |
|
static |
|
inline |
| IOObjContext::mDeclareEnumUtils | ( | StdSelType | ) |
| FixedString IOObjContext::objectTypeName | ( | ) | const |
| IOObjContext& IOObjContext::operator= | ( | const IOObjContext & | ) |
|
static |
| FixedString IOObjContext::translatorGroupName | ( | ) | const |
| bool IOObjContext::validIOObj | ( | const IOObj & | ) | const |
| mDeprecated BufferString& IOObjContext::deftransl = deftransl_ |
| BufferString IOObjContext::deftransl_ |
Translator to use for new entry.
| DBDirID IOObjContext::dirid_ |
If set, overrules the 'standard'.
| mDeprecated bool& IOObjContext::forread = forread_ |
| bool IOObjContext::forread_ |
this selection only
| mDeprecated bool& IOObjContext::multi = multi_ |
| bool IOObjContext::multi_ |
If true, multi allowed.
| mDeprecated StdSelType& IOObjContext::stdseltype = stdseltype_ |
| StdSelType IOObjContext::stdseltype_ |
intrinsics
| mDeprecated IOObjSelConstraints& IOObjContext::toselect = toselect_ |
| IOObjSelConstraints IOObjContext::toselect_ |
| mDeprecated const TranslatorGroup*& IOObjContext::trgroup = trgroup_ |
| const TranslatorGroup* IOObjContext::trgroup_ |
Mandatory, must never be 0.
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017