OpendTect
6.6
|
Holds an IOObjCtxt plus a pointer to an IOObj and/or an IOPar. More...
Public Member Functions | |
CtxtIOObj (const CtxtIOObj &ct) | |
mStartAllowDeprecatedSection | CtxtIOObj (const IOObjContext &ct, IOObj *o=0) |
mStopAllowDeprecatedSection void | destroyAll () |
void | fillDefault (bool alsoifonlyone=true) |
gets Default.xx or does fillIfOnlyOne() More... | |
void | fillDefaultWithKey (const char *, bool alsoifonlyone=true) |
With alternate key. More... | |
void | fillIfOnlyOne () |
int | fillObj (bool mktmpifnew=false, int translidxfornew=-1) |
virtual BufferString | getName () const |
virtual const OD::String & | name () const |
virtual void | setName (const char *nm) |
void | setObj (const MultiID &) |
destroys previous More... | |
void | setObj (IOObj *) |
destroys previous More... | |
void | setPar (IOPar *) |
destroys previous More... | |
Public Member Functions inherited from NamedObject | |
NamedObject (const char *nm=nullptr) | |
NamedObject (const NamedObject &oth) | |
virtual | ~NamedObject () |
bool | getNameFromPar (const IOPar &) |
NamedObject & | operator= (const NamedObject &) |
bool | operator== (const NamedObject &oth) const |
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 |
Public Attributes | |
IOObjContext & | ctxt |
IOObjContext | ctxt_ |
IOObj *& | ioobj |
IOObj * | ioobj_ |
IOPar *& | iopar |
IOPar * | iopar_ |
Additional Inherited Members | |
Public Types inherited from ObjectWithName | |
typedef OD::String | name_type |
Protected Attributes inherited from NamedObject | |
BufferString | name_ |
Holds an IOObjCtxt plus a pointer to an IOObj and/or an IOPar.
Neither the IOObj nor the IOPar are managed by this object. But, when you use setObj or setPar, the old object pointed to will be deleted. If you don't want that, you'll have to just assign.
<>
|
inline |
|
inline |
mStopAllowDeprecatedSection void CtxtIOObj::destroyAll | ( | ) |
void CtxtIOObj::fillDefault | ( | bool | alsoifonlyone = true | ) |
gets Default.xx or does fillIfOnlyOne()
void CtxtIOObj::fillDefaultWithKey | ( | const char * | , |
bool | alsoifonlyone = true |
||
) |
With alternate key.
void CtxtIOObj::fillIfOnlyOne | ( | ) |
replaces ioobj if there's only one That one must match the preconditions
int CtxtIOObj::fillObj | ( | bool | mktmpifnew = false , |
int | translidxfornew = -1 |
||
) |
If ioobj not valid, fills using ctxt.name() return 0=fail, 1=existing found, 2=new made
|
inlinevirtual |
Reimplemented from NamedObject.
|
inlinevirtual |
Reimplemented from NamedObject.
|
inlinevirtual |
Reimplemented from NamedObject.
void CtxtIOObj::setObj | ( | const MultiID & | ) |
destroys previous
void CtxtIOObj::setObj | ( | IOObj * | ) |
destroys previous
void CtxtIOObj::setPar | ( | IOPar * | ) |
destroys previous
IOObjContext& CtxtIOObj::ctxt |
IOObjContext CtxtIOObj::ctxt_ |
IOObj*& CtxtIOObj::ioobj |
IOObj* CtxtIOObj::ioobj_ |
IOPar*& CtxtIOObj::iopar |
IOPar* CtxtIOObj::iopar_ |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022