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, None } |
Public Member Functions | |
| DeclareEnumUtils (StdSelType) IOObjContext(const TranslatorGroup * | |
| IOObjContext (const IOObjContext &) | |
| IOObjContext & | operator= (const IOObjContext &) |
| bool | validIOObj (const IOObj &) const |
| bool | hasStdSelKey () const |
| MultiID | getSelKey () const |
| void | fillTrGroup () |
Static Public Member Functions | |
| static int | totalNrStdDirs () |
| static const StdDirData * | getStdDirData (StdSelType) |
| static BufferString | getDataDirName (StdSelType) |
| Including legacy names - smart. | |
Public Attributes | |
| const char * | prefname = 0) |
| StdSelType | stdseltype |
| intrinsics | |
| const TranslatorGroup * | trgroup |
| Mandatory, must never be 0. | |
| int | newonlevel |
| level 0 is survey dir | |
| bool | multi |
| If true, multi allowed. | |
| bool | maychdir |
| If not, only select from curdir. | |
| bool | forread |
| this selection only | |
| MultiID | selkey |
| If set, overrules the 'standard'. | |
| bool | maydooper |
| Will we allow add/remove etc? | |
| BufferString | deftransl |
| Translator to use for new entry. | |
| IOObjSelConstraints | toselect |
Holds the context for selecting and/or creating IOObjs.
Usually, this objects 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 IOObjContext & | ) |
| IOObjContext::DeclareEnumUtils | ( | StdSelType | ) | const |
| void IOObjContext::fillTrGroup | ( | ) |
Uses stdseltype to make a trgroup Should never be necessary
| static BufferString IOObjContext::getDataDirName | ( | StdSelType | ) | [static] |
Including legacy names - smart.
| MultiID IOObjContext::getSelKey | ( | ) | const |
| static const StdDirData* IOObjContext::getStdDirData | ( | StdSelType | ) | [static] |
| bool IOObjContext::hasStdSelKey | ( | ) | const [inline] |
| IOObjContext& IOObjContext::operator= | ( | const IOObjContext & | ) |
| static int IOObjContext::totalNrStdDirs | ( | ) | [static] |
| bool IOObjContext::validIOObj | ( | const IOObj & | ) | const |
Translator to use for new entry.
this selection only
If not, only select from curdir.
Will we allow add/remove etc?
| bool IOObjContext::multi |
If true, multi allowed.
level 0 is survey dir
| const char* IOObjContext::prefname = 0) |
If set, overrules the 'standard'.
intrinsics
Mandatory, must never be 0.
1.7.1