![]() |
OpendTect
6.3
|
Holds an IOObjCtxt plus a pointer to an IOObj and/or an IOPar. More...
Public Member Functions | |
| mStartAllowDeprecatedSection | CtxtIOObj (const IOObjContext &ct, IOObj *o=0) |
| CtxtIOObj (const CtxtIOObj &ct) | |
| mStopAllowDeprecatedSection void | destroyAll () |
| virtual const OD::String & | name () const |
| virtual void | setName (const char *nm) |
| virtual BufferString | getName () const |
| void | setObj (IOObj *) |
| destroys previous More... | |
| void | setObj (const DBKey &) |
| destroys previous More... | |
| void | setPar (IOPar *) |
| destroys previous More... | |
| int | fillObj (bool mktmpifnew=false, int translidxfornew=-1) |
| void | fillIfOnlyOne () |
| void | fillDefault (bool alsoifonlyone=true) |
| gets Default.xx or does fillIfOnlyOne() More... | |
| void | fillDefaultWithKey (const char *, bool alsoifonlyone=true) |
| With alternate key. More... | |
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 |
| bool | getNameFromPar (const IOPar &) |
| void | putNameInPar (IOPar &) const |
Public Attributes | |
| IOObjContext | ctxt_ |
| IOObj * | ioobj_ |
| IOPar * | iopar_ |
| mDeprecated IOObjContext & | ctxt |
| mDeprecated IOObj *& | ioobj |
| mDeprecated IOPar *& | iopar |
Additional Inherited Members | |
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 | ( | IOObj * | ) |
destroys previous
| void CtxtIOObj::setObj | ( | const DBKey & | ) |
destroys previous
| void CtxtIOObj::setPar | ( | IOPar * | ) |
destroys previous
| mDeprecated IOObjContext& CtxtIOObj::ctxt |
| IOObjContext CtxtIOObj::ctxt_ |
| mDeprecated IOObj*& CtxtIOObj::ioobj |
| IOObj* CtxtIOObj::ioobj_ |
| mDeprecated IOPar*& CtxtIOObj::iopar |
| IOPar* CtxtIOObj::iopar_ |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017