![]() |
OpendTect
6.6
|
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 } |
Public Types inherited from ObjectWithName | |
| typedef OD::String | name_type |
Public Member Functions | |
| IOObjContext (const IOObjContext &) | |
| IOObjContext (const TranslatorGroup *, const char *prefname=0) | |
| IOStream * | crDefaultWriteObj (const Translator &, const MultiID &) const |
| void | fillTrGroup () const |
| void | fixTranslator (const char *trusrnm) |
| MultiID | getSelKey () const |
| bool | hasStdSelKey () const |
| bool | haveMatches () const |
| int | nrMatches () const |
| const char * | objectTypeName () const |
| IOObjContext & | operator= (const IOObjContext &) |
| bool | validIOObj (const IOObj &) const |
Public Member Functions inherited from NamedObject | |
| NamedObject (const char *nm=nullptr) | |
| NamedObject (const NamedObject &oth) | |
| virtual | ~NamedObject () |
| virtual BufferString | getName () const |
| bool | getNameFromPar (const IOPar &) |
| virtual const name_type & | name () const |
| NamedObject & | operator= (const NamedObject &) |
| bool | operator== (const NamedObject &oth) const |
| virtual void | setName (const char *nm) |
Public Member Functions inherited from ObjectWithName | |
| virtual | ~ObjectWithName () |
| bool | hasName (const char *nm) const |
| bool | hasName (const name_type &nm) const |
| void | putNameInPar (IOPar &) const |
Static Public Member Functions | |
| static BufferString | getDataDirName (StdSelType) |
| static BufferString | getDataDirName (StdSelType, bool dironly) |
| Including legacy names - smart. More... | |
| static const StdDirData * | getStdDirData (StdSelType) |
| static int | totalNrStdDirs () |
Public Attributes | |
| BufferString & | deftransl |
| BufferString | deftransl_ |
| Translator to use for new entry. More... | |
| bool & | forread |
| bool | forread_ |
| this selection only More... | |
| bool & | maydooper |
| bool | maydooper_ |
| Will we allow add/remove etc? More... | |
| bool & | multi |
| bool | multi_ |
| If true, multi allowed. More... | |
| int & | newonlevel |
| int | newonlevel_ |
| level 0 is survey dir More... | |
| MultiID & | selkey |
| MultiID | selkey_ |
| If set, overrules the 'standard'. More... | |
| StdSelType & | stdseltype |
| StdSelType | stdseltype_ |
| intrinsics More... | |
| IOObjSelConstraints & | toselect |
| IOObjSelConstraints | toselect_ |
| const TranslatorGroup *& | trgroup |
| const TranslatorGroup * | trgroup_ |
| Mandatory, must never be 0. More... | |
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 selkey or we'll be blobbing stuff in the root of the survey.
<>
| IOObjContext::IOObjContext | ( | const TranslatorGroup * | , |
| const char * | prefname = 0 |
||
| ) |
| IOObjContext::IOObjContext | ( | const IOObjContext & | ) |
| IOStream* IOObjContext::crDefaultWriteObj | ( | const Translator & | , |
| const MultiID & | |||
| ) | const |
| void IOObjContext::fillTrGroup | ( | ) | const |
Uses stdseltype_ to make a trgroup_ Should never be necessary
|
inline |
|
static |
|
static |
Including legacy names - smart.
| MultiID IOObjContext::getSelKey | ( | ) | const |
|
static |
|
inline |
|
inline |
| int IOObjContext::nrMatches | ( | ) | const |
| const char* IOObjContext::objectTypeName | ( | ) | const |
| IOObjContext& IOObjContext::operator= | ( | const IOObjContext & | ) |
|
static |
| bool IOObjContext::validIOObj | ( | const IOObj & | ) | const |
| BufferString& IOObjContext::deftransl |
| BufferString IOObjContext::deftransl_ |
Translator to use for new entry.
| bool& IOObjContext::forread |
| bool IOObjContext::forread_ |
this selection only
| bool& IOObjContext::maydooper |
| bool IOObjContext::maydooper_ |
Will we allow add/remove etc?
| bool& IOObjContext::multi |
| bool IOObjContext::multi_ |
If true, multi allowed.
| int& IOObjContext::newonlevel |
| int IOObjContext::newonlevel_ |
level 0 is survey dir
| MultiID& IOObjContext::selkey |
| MultiID IOObjContext::selkey_ |
If set, overrules the 'standard'.
| StdSelType& IOObjContext::stdseltype |
| StdSelType IOObjContext::stdseltype_ |
intrinsics
| IOObjSelConstraints& IOObjContext::toselect |
| IOObjSelConstraints IOObjContext::toselect_ |
| const TranslatorGroup*& IOObjContext::trgroup |
| const TranslatorGroup* IOObjContext::trgroup_ |
Mandatory, must never be 0.
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022