OpendTect
7.0
|
Set of attribute descriptions. More...
Public Member Functions | |
DescSet (bool is2d) | |
DescSet (const DescSet &) | |
~DescSet () | |
DescID | addDesc (Desc *, DescID newid=DescID()) |
void | cleanUpDescsMissingInputs () |
bool | containsStoredDescOnly () const |
bool | couldBeUsedInAnyDimension () const |
void | createAndAddMultOutDescs (const DescID &, const TypeSet< int > &, const BufferStringSet &, TypeSet< DescID > &) |
DataPointSet * | createDataPointSet (Attrib::DescSetup, bool withstored=true) const |
Desc * | createDesc (const BufferString &, const IOPar &, const BufferString &) |
bool | createSteeringDesc (const IOPar &, BufferString, ObjectSet< Desc > &, int &id, uiStringSet *errmsgs=0) |
DescID | createStoredDesc (const MultiID &, int selout, const BufferString &compnm) |
Desc * | desc (int idx) |
const Desc * | desc (int idx) const |
DescID | ensureDefStoredPresent () const |
uiString | errMsg () const |
bool | exportToDot (const char *nm, const char *fnm) const |
void | fillInAttribColRefs (BufferStringSet &) const |
void | fillInSelSpecs (Attrib::DescSetup, TypeSet< Attrib::SelSpec > &) const |
void | fillInUIInputList (BufferStringSet &) const |
void | fillPar (IOPar &) const |
void | getAttribNames (BufferStringSet &, bool inclhidden) const |
Desc * | getDesc (const DescID &id) |
const Desc * | getDesc (const DescID &id) const |
Desc * | getDescFromUIListEntry (FileMultiString) |
will create an empty DataPointSet More... | |
Desc * | getFirstStored (bool usesteering=true) const |
DescID | getID (const char *ref, bool isusrref, bool mustbestored=false, bool usestorinfo=false) const |
DescID | getID (const Desc &) const |
DescID | getID (int) const |
void | getIds (TypeSet< DescID > &) const |
DescID | getStoredID (const MultiID &, int selout) const |
DescID | getStoredID (const MultiID &, int selout, bool create, bool blindcomp=false, const char *blindcompnm=0) |
void | getStoredIds (TypeSet< DescID > &) const |
MultiID | getStoredKey (const DescID &) const |
void | getStoredNames (BufferStringSet &) const |
void | handleOldAttributes (BufferString &, IOPar &, BufferString &, int) const |
void | handleOldMathExpression (IOPar &, BufferString &, int) const |
void | handleReferenceInput (Desc *) |
void | handleStorageOldFormat (IOPar &) |
bool | hasStoredInMem () const |
int | indexOf (const char *nm, bool usrref=true) const |
DescID | insertDesc (Desc *, int, DescID newid=DescID()) |
bool | is2D () const |
bool | isAttribUsed (const DescID &) const |
bool | isAttribUsed (const DescID &, BufferString &) const |
bool | isEmpty () const |
bool | isPresent (const char *nm, bool usr=true) const |
void | moveDescUpDown (const DescID &, bool) |
int | nrDescs (bool inclstored, bool inclhidden) const |
use size() if you just want all More... | |
DescSet & | operator= (const DescSet &) |
Desc & | operator[] (int idx) |
const Desc & | operator[] (int idx) const |
DescSet * | optimizeClone (const BufferStringSet &) const |
DescSet * | optimizeClone (const DescID &targetid) const |
DescSet * | optimizeClone (const TypeSet< DescID > &) const |
void | removeAll (bool kpdefault) |
void | removeDesc (const DescID &) |
int | removeUnused (bool removestored=false, bool kpdefault=true) |
bool | setAllInputDescs (int, const IOPar &, uiStringSet *) |
void | setContainStoredDescOnly (bool yn) |
void | setCouldBeUsedInAnyDimension (bool yn) |
int | size () const |
void | sortDescSet () |
void | updateInputs () |
bool | useOldSteeringPar (IOPar &, ObjectSet< Desc > &, uiStringSet *) |
bool | usePar (const IOPar &, uiStringSet *errmsgs=0) |
Public Member Functions inherited from CallBacker | |
CallBacker () | |
CallBacker (const CallBacker &) | |
virtual | ~CallBacker () |
bool | attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const |
bool | attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const |
void | detachAllNotifiers () const |
Call from the destructor of your inherited object. More... | |
void | detachCB (const NotifierAccess &, const CallBack &) const |
void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
virtual bool | isCapsule () const |
bool | isNotifierAttached (const NotifierAccess *) const |
Only for debugging purposes, don't use. More... | |
void | stopReceivingNotifications () const |
virtual CallBacker * | trueCaller () |
Static Public Member Functions | |
static Desc * | createDesc (const BufferString &, const IOPar &, const BufferString &, uiStringSet *) |
static const char * | definitionStr () |
static const char * | hiddenStr () |
static const char * | highestIDStr () |
static const char * | indexStr () |
static const char * | inputPrefixStr () |
static uiString | sFactoryEntryNotFound (const char *attrnm) |
static BufferString | storedIDErrStr () |
static const char * | userRefStr () |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Public Attributes | |
CNotifier< DescSet, DescID > | descToBeRemoved |
Protected Member Functions | |
DescID | getFreeID () const |
Protected Attributes | |
bool | couldbeanydim_ |
DescID | defattribid_ |
BufferString | defidstr_ |
ObjectSet< Desc > | descs_ |
uiString | errmsg_ |
TypeSet< DescID > | ids_ |
bool | is2d_ |
bool | storedattronly_ |
Private Member Functions | |
Desc * | gtDesc (const DescID &) const |
Set of attribute descriptions.
<>
Attrib::DescSet::DescSet | ( | bool | is2d | ) |
Attrib::DescSet::DescSet | ( | const DescSet & | ) |
|
inline |
void Attrib::DescSet::cleanUpDescsMissingInputs | ( | ) |
|
inline |
|
inline |
void Attrib::DescSet::createAndAddMultOutDescs | ( | const DescID & | , |
const TypeSet< int > & | , | ||
const BufferStringSet & | , | ||
TypeSet< DescID > & | |||
) |
Make sure all descs needed to compute attributes with multiple outputs are created and added
DataPointSet* Attrib::DescSet::createDataPointSet | ( | Attrib::DescSetup | , |
bool | withstored = true |
||
) | const |
Desc* Attrib::DescSet::createDesc | ( | const BufferString & | , |
const IOPar & | , | ||
const BufferString & | |||
) |
|
static |
bool Attrib::DescSet::createSteeringDesc | ( | const IOPar & | , |
BufferString | , | ||
ObjectSet< Desc > & | , | ||
int & | id, | ||
uiStringSet * | errmsgs = 0 |
||
) |
DescID Attrib::DescSet::createStoredDesc | ( | const MultiID & | , |
int | selout, | ||
const BufferString & | compnm | ||
) |
|
inlinestatic |
|
inline |
|
inline |
DescID Attrib::DescSet::ensureDefStoredPresent | ( | ) | const |
uiString Attrib::DescSet::errMsg | ( | ) | const |
bool Attrib::DescSet::exportToDot | ( | const char * | nm, |
const char * | fnm | ||
) | const |
void Attrib::DescSet::fillInAttribColRefs | ( | BufferStringSet & | ) | const |
will prepare strings for each desc, format : Attrib,[stored], [{prestack}]
void Attrib::DescSet::fillInSelSpecs | ( | Attrib::DescSetup | , |
TypeSet< Attrib::SelSpec > & | |||
) | const |
void Attrib::DescSet::fillInUIInputList | ( | BufferStringSet & | ) | const |
Counterpart: will decode the UI string and return the corresponding Desc*
void Attrib::DescSet::fillPar | ( | IOPar & | ) | const |
void Attrib::DescSet::getAttribNames | ( | BufferStringSet & | , |
bool | inclhidden | ||
) | const |
Desc* Attrib::DescSet::getDescFromUIListEntry | ( | FileMultiString | ) |
will create an empty DataPointSet
Desc* Attrib::DescSet::getFirstStored | ( | bool | usesteering = true | ) | const |
|
protected |
DescID Attrib::DescSet::getID | ( | const char * | ref, |
bool | isusrref, | ||
bool | mustbestored = false , |
||
bool | usestorinfo = false |
||
) | const |
DescID Attrib::DescSet::getID | ( | int | ) | const |
DescID Attrib::DescSet::getStoredID | ( | const MultiID & | , |
int | selout, | ||
bool | create, | ||
bool | blindcomp = false , |
||
const char * | blindcompnm = 0 |
||
) |
void Attrib::DescSet::getStoredNames | ( | BufferStringSet & | ) | const |
void Attrib::DescSet::handleOldAttributes | ( | BufferString & | , |
IOPar & | , | ||
BufferString & | , | ||
int | |||
) | const |
void Attrib::DescSet::handleOldMathExpression | ( | IOPar & | , |
BufferString & | , | ||
int | |||
) | const |
void Attrib::DescSet::handleReferenceInput | ( | Desc * | ) |
will prepare strings for each desc, format : DescID`definition string
void Attrib::DescSet::handleStorageOldFormat | ( | IOPar & | ) |
bool Attrib::DescSet::hasStoredInMem | ( | ) | const |
|
inlinestatic |
|
inlinestatic |
int Attrib::DescSet::indexOf | ( | const char * | nm, |
bool | usrref = true |
||
) | const |
|
inlinestatic |
|
inlinestatic |
returns id of the attrib
|
inline |
bool Attrib::DescSet::isAttribUsed | ( | const DescID & | ) | const |
bool Attrib::DescSet::isAttribUsed | ( | const DescID & | , |
BufferString & | |||
) | const |
|
inline |
|
inline |
void Attrib::DescSet::moveDescUpDown | ( | const DescID & | , |
bool | |||
) |
int Attrib::DescSet::nrDescs | ( | bool | inclstored, |
bool | inclhidden | ||
) | const |
use size() if you just want all
|
inline |
|
inline |
DescSet* Attrib::DescSet::optimizeClone | ( | const BufferStringSet & | ) | const |
Only clones stuff needed to calculate the attrib with the ids given
void Attrib::DescSet::removeAll | ( | bool | kpdefault | ) |
void Attrib::DescSet::removeDesc | ( | const DescID & | ) |
int Attrib::DescSet::removeUnused | ( | bool | removestored = false , |
bool | kpdefault = true |
||
) |
Removes unused hidden attributes, stored attribs if not available or if removestored flag is true. Returns total removed.
bool Attrib::DescSet::setAllInputDescs | ( | int | , |
const IOPar & | , | ||
uiStringSet * | |||
) |
void Attrib::DescSet::setContainStoredDescOnly | ( | bool | yn | ) |
|
inline |
|
static |
|
inline |
void Attrib::DescSet::sortDescSet | ( | ) |
|
inlinestatic |
void Attrib::DescSet::updateInputs | ( | ) |
Updates inputs for all descs in descset. Necessary after cloning
bool Attrib::DescSet::useOldSteeringPar | ( | IOPar & | , |
ObjectSet< Desc > & | , | ||
uiStringSet * | |||
) |
bool Attrib::DescSet::usePar | ( | const IOPar & | , |
uiStringSet * | errmsgs = 0 |
||
) |
|
inlinestatic |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024