Public Member Functions | |
| DescSet (bool is2d) | |
| DescSet (const DescSet &) | |
| ~DescSet () | |
| DescSet & | operator= (const DescSet &) |
| bool | isEmpty () const |
| DescSet * | optimizeClone (const DescID &targetid) const |
| DescSet * | optimizeClone (const TypeSet< DescID > &) const |
| DescSet * | optimizeClone (const BufferStringSet &) const |
| void | updateInputs () |
| DescID | addDesc (Desc *, DescID newid=DescID()) |
| DescID | insertDesc (Desc *, int, DescID newid=DescID()) |
| void | createAndAddMultOutDescs (const DescID &, const TypeSet< int > &, const BufferStringSet &, TypeSet< DescID > &) |
| int | nrDescs (bool inclstored=true, bool inclhidden=true) const |
| Desc * | desc (int idx) |
| const Desc * | desc (int idx) const |
| Desc * | getDesc (const DescID &id) |
| const Desc * | getDesc (const DescID &id) const |
| DescID | getID (const Desc &) const |
| DescID | getID (int) const |
| DescID | getID (const char *ref, bool isusrref, bool isdescstored=false, bool usestorinfo=false) const |
| void | getIds (TypeSet< DescID > &) const |
| void | getStoredIds (TypeSet< DescID > &) const |
| DescID | getStoredID (const char *lk, int selout=-1, bool create=true, bool blindcomp=false, const char *blindcompnm=0) |
| Desc * | getFirstStored (bool usesteering=true) const |
| void | removeDesc (const DescID &) |
| void | moveDescUpDown (const DescID &, bool) |
| void | sortDescSet () |
| void | removeAll (bool kpdefault) |
| int | removeUnused (bool removestored=false, bool kpdefault=true) |
| bool | isAttribUsed (const DescID &) const |
| void | fillPar (IOPar &) const |
| bool | usePar (const IOPar &, float, BufferStringSet *errmsgs=0) |
| bool | useOldSteeringPar (IOPar &, ObjectSet< Desc > &, BufferStringSet *) |
| bool | createSteeringDesc (const IOPar &, BufferString, ObjectSet< Desc > &, int &id, BufferStringSet *errmsgs=0) |
| Desc * | createDesc (const BufferString &, const IOPar &, const BufferString &) |
| DescID | createStoredDesc (const char *, int, const BufferString &) |
| bool | setAllInputDescs (int, const IOPar &, BufferStringSet *) |
| void | handleStorageOldFormat (IOPar &) |
| void | handleOldAttributes (BufferString &, IOPar &, BufferString &, float) const |
| void | handleOldMathExpression (IOPar &, BufferString &) const |
| void | handleReferenceInput (Desc *) |
| void | fillInAttribColRefs (BufferStringSet &) const |
| void | setContainStoredDescOnly (bool yn) |
| bool | containsStoredDescOnly () const |
| bool | is2D () const |
| const char * | errMsg () const |
| DescID | ensureDefStoredPresent () const |
Static Public Member Functions | |
| static Desc * | createDesc (const BufferString &, const IOPar &, const BufferString &, BufferStringSet *) |
| static const char * | highestIDStr () |
| static const char * | definitionStr () |
| static const char * | userRefStr () |
| static const char * | inputPrefixStr () |
| static const char * | hiddenStr () |
Public Attributes | |
| CNotifier< DescSet, DescID > | descToBeRemoved |
Protected Member Functions | |
| DescID | getFreeID () const |
Protected Attributes | |
| ObjectSet< Desc > | descs_ |
| TypeSet< DescID > | ids_ |
| bool | is2d_ |
| bool | storedattronly_ |
| BufferString | errmsg_ |
| BufferString | defidstr_ |
| DescID | defattribid_ |
Private Member Functions | |
| Desc * | gtDesc (const DescID &) const |
| Attrib::DescSet::DescSet | ( | bool | is2d | ) |
| Attrib::DescSet::DescSet | ( | const DescSet & | ) |
| Attrib::DescSet::~DescSet | ( | ) | [inline] |
| bool Attrib::DescSet::containsStoredDescOnly | ( | ) | const [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
| static Desc* Attrib::DescSet::createDesc | ( | const BufferString & | , | |
| const IOPar & | , | |||
| const BufferString & | , | |||
| BufferStringSet * | ||||
| ) | [static] |
| Desc* Attrib::DescSet::createDesc | ( | const BufferString & | , | |
| const IOPar & | , | |||
| const BufferString & | ||||
| ) |
| bool Attrib::DescSet::createSteeringDesc | ( | const IOPar & | , | |
| BufferString | , | |||
| ObjectSet< Desc > & | , | |||
| int & | id, | |||
| BufferStringSet * | errmsgs = 0 | |||
| ) |
| DescID Attrib::DescSet::createStoredDesc | ( | const char * | , | |
| int | , | |||
| const BufferString & | ||||
| ) |
| static const char* Attrib::DescSet::definitionStr | ( | ) | [inline, static] |
| Desc* Attrib::DescSet::desc | ( | int | idx | ) | [inline] |
| const Desc* Attrib::DescSet::desc | ( | int | idx | ) | const [inline] |
| DescID Attrib::DescSet::ensureDefStoredPresent | ( | ) | const |
| const char* Attrib::DescSet::errMsg | ( | ) | const |
| void Attrib::DescSet::fillInAttribColRefs | ( | BufferStringSet & | ) | const |
| void Attrib::DescSet::fillPar | ( | IOPar & | ) | const |
| Desc* Attrib::DescSet::getFirstStored | ( | bool | usesteering = true |
) | const |
| DescID Attrib::DescSet::getFreeID | ( | ) | const [protected] |
| DescID Attrib::DescSet::getID | ( | int | ) | const |
| DescID Attrib::DescSet::getID | ( | const char * | ref, | |
| bool | isusrref, | |||
| bool | isdescstored = false, |
|||
| bool | usestorinfo = false | |||
| ) | const |
| DescID Attrib::DescSet::getStoredID | ( | const char * | lk, | |
| int | selout = -1, |
|||
| bool | create = true, |
|||
| bool | blindcomp = false, |
|||
| const char * | blindcompnm = 0 | |||
| ) |
| void Attrib::DescSet::handleOldAttributes | ( | BufferString & | , | |
| IOPar & | , | |||
| BufferString & | , | |||
| float | ||||
| ) | const |
| void Attrib::DescSet::handleOldMathExpression | ( | IOPar & | , | |
| BufferString & | ||||
| ) | const |
| void Attrib::DescSet::handleReferenceInput | ( | Desc * | ) |
will prepare strings for each desc, format : DescID`definition string
| void Attrib::DescSet::handleStorageOldFormat | ( | IOPar & | ) |
| static const char* Attrib::DescSet::hiddenStr | ( | ) | [inline, static] |
| static const char* Attrib::DescSet::highestIDStr | ( | ) | [inline, static] |
| static const char* Attrib::DescSet::inputPrefixStr | ( | ) | [inline, static] |
returns id of the attrib
| bool Attrib::DescSet::is2D | ( | ) | const [inline] |
| bool Attrib::DescSet::isAttribUsed | ( | const DescID & | ) | const |
| bool Attrib::DescSet::isEmpty | ( | ) | const [inline] |
| void Attrib::DescSet::moveDescUpDown | ( | const DescID & | , | |
| bool | ||||
| ) |
| int Attrib::DescSet::nrDescs | ( | bool | inclstored = true, |
|
| bool | inclhidden = true | |||
| ) | const |
| 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. Removed stored attribs if not available or if removestored flag is true; Returns total removed.
| bool Attrib::DescSet::setAllInputDescs | ( | int | , | |
| const IOPar & | , | |||
| BufferStringSet * | ||||
| ) |
| void Attrib::DescSet::setContainStoredDescOnly | ( | bool | yn | ) |
| void Attrib::DescSet::sortDescSet | ( | ) |
| void Attrib::DescSet::updateInputs | ( | ) |
Updates inputs for all descs in descset. Necessary after cloning
| bool Attrib::DescSet::useOldSteeringPar | ( | IOPar & | , | |
| ObjectSet< Desc > & | , | |||
| BufferStringSet * | ||||
| ) |
| bool Attrib::DescSet::usePar | ( | const IOPar & | , | |
| float | , | |||
| BufferStringSet * | errmsgs = 0 | |||
| ) |
| static const char* Attrib::DescSet::userRefStr | ( | ) | [inline, static] |
DescID Attrib::DescSet::defattribid_ [mutable, protected] |
BufferString Attrib::DescSet::defidstr_ [mutable, protected] |
ObjectSet<Desc> Attrib::DescSet::descs_ [protected] |
BufferString Attrib::DescSet::errmsg_ [protected] |
TypeSet<DescID> Attrib::DescSet::ids_ [protected] |
bool Attrib::DescSet::is2d_ [protected] |
bool Attrib::DescSet::storedattronly_ [protected] |
1.7.1