![]() |
OpendTect
6.3
|
Generalized set of parameters of the keyword-value type. More...
Public Member Functions | |
| IOPar (const char *nm=0) | |
| empty More... | |
| IOPar (ascistream &) | |
| IOPar (const IOPar &) | |
| ~IOPar () | |
| IOPar & | operator= (const IOPar &) |
| bool | operator== (const IOPar &iop) const |
| bool | operator!= (const IOPar &iop) const |
| int | size () const |
| int | indexOf (const char *key) const |
| bool | isPresent (const char *ky) const |
| bool | isEmpty () const |
| bool | isEqual (const IOPar &, bool need_same_order=false) const |
| bool | includes (const IOPar &) const |
| FixedString | getKey (int) const |
| FixedString | getValue (int) const |
| bool | setKey (int, const char *) |
| void | setValue (int, const char *) |
| void | sortOnKeys () |
| bool | hasKey (const char *s) const |
| const char * | findKeyFor (const char *, int nr=0) const |
| returns null if value not found More... | |
| void | remove (int) |
| void | removeWithKey (const char *key) |
| void | removeWithKeyPattern (const char *globexpression) |
| void | setEmpty () |
| remove all entries (doesn't clear name) More... | |
| void | merge (const IOPar &) |
| merge entries using the set() command More... | |
| void | addFrom (const IOPar &) |
| merge entries but do not overwrite More... | |
| IOPar * | subselect (const char *) const |
| returns iopar with key that start with <str>. More... | |
| IOPar * | subselect (int) const |
| returns iopar with key that start with number. More... | |
| IOPar * | subselect (const OD::String &fs) const |
| void | removeSubSelection (const char *) |
| removes with key that start with <str>. More... | |
| void | removeSubSelection (int) |
| removes with key that start with number. More... | |
| void | removeSubSelection (const OD::String &fs) |
| void | mergeComp (const IOPar &, const char *) |
| merge entries, where IOPar's entries get a prefix More... | |
| const char * | find (const char *) const |
| returns null if not found More... | |
| FixedString | operator[] (const char *ky) const |
| bool | get (const char *, int &) const |
| bool | get (const char *, int &, int &) const |
| bool | get (const char *, int &, int &, int &) const |
| bool | get (const char *, int &, int &, int &, int &) const |
| bool | get (const char *, unsigned int &) const |
| bool | get (const char *, unsigned int &, unsigned int &) const |
| bool | get (const char *, unsigned int &, unsigned int &, unsigned int &) const |
| bool | get (const char *, unsigned int &, unsigned int &, unsigned int &, unsigned int &) const |
| bool | get (const char *, int64_t &) const |
| bool | get (const char *, int64_t &, int64_t &) const |
| bool | get (const char *, int64_t &, int64_t &, int64_t &) const |
| bool | get (const char *, int64_t &, int64_t &, int64_t &, int64_t &) const |
| bool | get (const char *, uint64_t &) const |
| bool | get (const char *, uint64_t &, uint64_t &) const |
| bool | get (const char *, uint64_t &, uint64_t &, uint64_t &) const |
| bool | get (const char *, uint64_t &, uint64_t &, uint64_t &, uint64_t &) const |
| bool | get (const char *, float &) const |
| bool | get (const char *, float &, float &) const |
| bool | get (const char *, float &, float &, float &) const |
| bool | get (const char *, float &, float &, float &, float &) const |
| bool | get (const char *, double &) const |
| bool | get (const char *, double &, double &) const |
| bool | get (const char *, double &, double &, double &) const |
| bool | get (const char *, double &, double &, double &, double &) const |
| bool | getYN (const char *, bool &) const |
| bool | getYN (const char *, bool &, bool &) const |
| bool | getYN (const char *, bool &, bool &, bool &) const |
| bool | getYN (const char *, bool &, bool &, bool &, bool &) const |
| bool | isTrue (const char *key) const |
| bool | isFalse (const char *key) const |
| bool | get (const char *, int &, int &, float &) const |
| bool | get (const char *, TypeSet< int > &) const |
| bool | get (const char *, TypeSet< unsigned int > &) const |
| bool | get (const char *, TypeSet< int64_t > &) const |
| bool | get (const char *, TypeSet< uint64_t > &) const |
| bool | get (const char *, TypeSet< double > &) const |
| bool | get (const char *, TypeSet< float > &) const |
| template<class iT > | |
| bool | get (const char *, IntegerID< iT > &) const |
| template<class fT > | |
| bool | get (const char *, Geom::Point2D< fT > &) const |
| template<class fT > | |
| bool | get (const char *, Geom::Point3D< fT > &) const |
| template<class T > | |
| bool | get (const char *, Interval< T > &) const |
| template<class T > | |
| bool | get (const char *, SamplingData< T > &) const |
| template<class T1 , class T2 > | |
| bool | get (const char *, std::pair< T1, T2 > &) const |
| bool | get (const char *, TrcKey &) const |
| bool | get (const char *, DBKey &) const |
| bool | get (const char *, Color &) const |
| bool | get (const char *, SeparString &) const |
| bool | get (const char *, uiString &) const |
| bool | get (const char *, BufferString &) const |
| bool | get (const char *, BufferString &, BufferString &) const |
| bool | get (const char *, BufferString &, BufferString &, BufferString &) const |
| bool | get (const char *, BufferStringSet &) const |
| bool | getPtr (const char *, void *&) const |
| bool | getScaled (const char *, float &, float applied_scale, bool set_to_undef_if_not_found) const |
| bool | getScaled (const char *, float &, float &, float, bool) const |
| bool | getScaled (const char *, float &, float &, float &, float, bool) const |
| bool | getScaled (const char *, float &, float &, float &, float &, float, bool) const |
| bool | getScaled (const char *, double &, double applied_scale, bool set_to_undef_if_not_found) const |
| bool | getScaled (const char *, double &, double &, double, bool) const |
| bool | getScaled (const char *, double &, double &, double &, double, bool) const |
| bool | getScaled (const char *, double &, double &, double &, double &, double, bool) const |
| void | set (const char *ky, const char *val) |
| void | add (const char *ky, const char *val) |
| void | add (const char *ky, const OD::String &val) |
| void | update (const char *ky, const char *val) |
| void | set (const char *, int) |
| void | set (const char *, int, int) |
| void | set (const char *, int, int, int) |
| void | set (const char *, int, int, int, int) |
| void | set (const char *, unsigned int) |
| void | set (const char *, unsigned int, unsigned int) |
| void | set (const char *, unsigned int, unsigned int, unsigned int) |
| void | set (const char *, unsigned int, unsigned int, unsigned int, unsigned int) |
| void | set (const char *, int64_t) |
| void | set (const char *, int64_t, int64_t) |
| void | set (const char *, int64_t, int64_t, int64_t) |
| void | set (const char *, int64_t, int64_t, int64_t, int64_t) |
| void | set (const char *, uint64_t) |
| void | set (const char *, uint64_t, uint64_t) |
| void | set (const char *, uint64_t, uint64_t, uint64_t) |
| void | set (const char *, uint64_t, uint64_t, uint64_t, uint64_t) |
| void | set (const char *, float) |
| void | set (const char *, float, float) |
| void | set (const char *, float, float, float) |
| void | set (const char *, float, float, float, float) |
| void | set (const char *, double) |
| void | set (const char *, double, double) |
| void | set (const char *, double, double, double) |
| void | set (const char *, double, double, double, double) |
| void | add (const char *, int) |
| void | add (const char *, int, int) |
| void | add (const char *, int, int, int) |
| void | add (const char *, int, int, int, int) |
| void | add (const char *, unsigned int) |
| void | add (const char *, unsigned int, unsigned int) |
| void | add (const char *, unsigned int, unsigned int, unsigned int) |
| void | add (const char *, unsigned int, unsigned int, unsigned int, unsigned int) |
| void | add (const char *, int64_t) |
| void | add (const char *, int64_t, int64_t) |
| void | add (const char *, int64_t, int64_t, int64_t) |
| void | add (const char *, int64_t, int64_t, int64_t, int64_t) |
| void | add (const char *, uint64_t) |
| void | add (const char *, uint64_t, uint64_t) |
| void | add (const char *, uint64_t, uint64_t, uint64_t) |
| void | add (const char *, uint64_t, uint64_t, uint64_t, uint64_t) |
| void | add (const char *, float) |
| void | add (const char *, float, float) |
| void | add (const char *, float, float, float) |
| void | add (const char *, float, float, float, float) |
| void | add (const char *, double) |
| void | add (const char *, double, double) |
| void | add (const char *, double, double, double) |
| void | add (const char *, double, double, double, double) |
| void | setYN (const char *, bool) |
| void | setYN (const char *, bool, bool) |
| void | setYN (const char *, bool, bool, bool) |
| void | setYN (const char *, bool, bool, bool, bool) |
| void | addYN (const char *, bool) |
| void | addYN (const char *, bool, bool) |
| void | addYN (const char *, bool, bool, bool) |
| void | addYN (const char *, bool, bool, bool, bool) |
| template<class iT > | |
| void | set (const char *, IntegerID< iT >) |
| template<class fT > | |
| void | set (const char *, const Geom::Point2D< fT > &) |
| template<class fT > | |
| void | set (const char *, const Geom::Point3D< fT > &) |
| template<class T > | |
| void | set (const char *, const Interval< T > &) |
| template<class T > | |
| void | set (const char *, const SamplingData< T > &) |
| template<class T1 , class T2 > | |
| void | set (const char *, const std::pair< T1, T2 > &) |
| template<class iT > | |
| void | update (const char *, IntegerID< iT >) |
| void | update (const char *, const DBKey &) |
| void | set (const char *, int, int, float) |
| void | setPtr (const char *, void *) |
| void | set (const char *, const char *, const char *) |
| void | set (const char *, const char *, const char *, const char *) |
| void | set (const char *, const TrcKey &) |
| void | set (const char *, const DBKey &) |
| void | set (const char *, const Color &) |
| void | set (const char *, const SeparString &) |
| void | set (const char *, const uiString &) |
| void | set (const char *, const OD::String &) |
| void | set (const char *, const OD::String &, const OD::String &) |
| void | set (const char *, const OD::String &, const OD::String &, const OD::String &) |
| void | set (const char *, const BufferStringSet &) |
| void | set (const char *, const TypeSet< int > &) |
| void | set (const char *, const TypeSet< unsigned int > &) |
| void | set (const char *, const TypeSet< int64_t > &) |
| void | set (const char *, const TypeSet< uint64_t > &) |
| void | set (const char *, const TypeSet< double > &) |
| void | set (const char *, const TypeSet< float > &) |
| void | setToDateTime (const char *ky=0) |
| void | setToUser (const char *ky=0) |
| void | setStdCreationEntries () |
| void | getFrom (const char *) |
| void | getParsFrom (const char *) |
| void | putTo (BufferString &) const |
| void | putParsTo (BufferString &) const |
| void | getFrom (ascistream &) |
| void | putTo (ascostream &) const |
| bool | read (const char *filename, const char *filetype, bool chktype=false) |
| bool | read (od_istream &, const char *filetype, bool chktype=false) |
| bool | write (const char *filename, const char *filetype) const |
| bool | write (od_ostream &, const char *filetyp) const |
| int | majorVersion () const |
| Only set if read from file. Otherwise set to current. More... | |
| int | minorVersion () const |
| Only set if read from file. Otherwise set to current. More... | |
| int | odVersion () const |
| void | dumpPretty (BufferString &) const |
| void | dumpPretty (od_ostream &) const |
| void | collectIDs (TypeSet< int > &) const |
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 |
| virtual const OD::String & | name () const |
| virtual BufferString | getName () const |
| virtual void | setName (const char *nm) |
| bool | getNameFromPar (const IOPar &) |
| void | putNameInPar (IOPar &) const |
Static Public Member Functions | |
| static const char * | compKey (const char *, const char *) |
| The composite key: (a,b) -> a.b. More... | |
| static const char * | compKey (const char *, int) |
| The composite key where int will be –> string. More... | |
| static const char * | compKey (const char *ky1, const OD::String &ky2) |
| static const char * | sKeyDumpPretty () |
| static const char * | sKeyHdr () |
| static const char * | sKeySubHdr () |
Protected Attributes | |
| int | majorversion_ |
| int | minorversion_ |
| BufferStringSet & | keys_ |
| BufferStringSet & | vals_ |
Protected Attributes inherited from NamedObject | |
| BufferString | name_ |
Generalized set of parameters of the keyword-value type.
Part of the function of this class is as in an STL map<string,string>. Passing a keyword will return the appropriate value.
Tools around this basic idea are paring into other types, key composition, reading/writing to/from file, merging, and more.
The get() functions return a bool, which is false when: either the key is not present or the value is not acceptable (usually: when empty is not OK, like for numerical values). In that case the passed variable is untouched; it keeps its original value.
dumpPretty() is used for reports. The title of the report is the name of the IOPar. If sKeyHdr and sKeySubHdr are the key, there will be a (sub)header with the value. Use add() rather than set(). Values may contain newlines.
A lot of classes will be served by template functions, like BinID, RowCol, Coord, ...
| IOPar::IOPar | ( | const char * | nm = 0 | ) |
empty
| IOPar::IOPar | ( | ascistream & | ) |
| IOPar::IOPar | ( | const IOPar & | ) |
| IOPar::~IOPar | ( | ) |
| void IOPar::add | ( | const char * | ky, |
| const char * | val | ||
| ) |
unsafe: does not check for duplicate keys
|
inline |
| void IOPar::add | ( | const char * | , |
| int | |||
| ) |
| void IOPar::add | ( | const char * | , |
| int | , | ||
| int | |||
| ) |
| void IOPar::add | ( | const char * | , |
| int | , | ||
| int | , | ||
| int | |||
| ) |
| void IOPar::add | ( | const char * | , |
| int | , | ||
| int | , | ||
| int | , | ||
| int | |||
| ) |
| void IOPar::add | ( | const char * | , |
| unsigned | int | ||
| ) |
| void IOPar::add | ( | const char * | , |
| unsigned | int, | ||
| unsigned | int | ||
| ) |
| void IOPar::add | ( | const char * | , |
| unsigned | int, | ||
| unsigned | int, | ||
| unsigned | int | ||
| ) |
| void IOPar::add | ( | const char * | , |
| unsigned | int, | ||
| unsigned | int, | ||
| unsigned | int, | ||
| unsigned | int | ||
| ) |
| void IOPar::add | ( | const char * | , |
| int64_t | |||
| ) |
| void IOPar::add | ( | const char * | , |
| int64_t | , | ||
| int64_t | |||
| ) |
| void IOPar::add | ( | const char * | , |
| int64_t | , | ||
| int64_t | , | ||
| int64_t | |||
| ) |
| void IOPar::add | ( | const char * | , |
| int64_t | , | ||
| int64_t | , | ||
| int64_t | , | ||
| int64_t | |||
| ) |
| void IOPar::add | ( | const char * | , |
| uint64_t | |||
| ) |
| void IOPar::add | ( | const char * | , |
| uint64_t | , | ||
| uint64_t | |||
| ) |
| void IOPar::add | ( | const char * | , |
| uint64_t | , | ||
| uint64_t | , | ||
| uint64_t | |||
| ) |
| void IOPar::add | ( | const char * | , |
| uint64_t | , | ||
| uint64_t | , | ||
| uint64_t | , | ||
| uint64_t | |||
| ) |
| void IOPar::add | ( | const char * | , |
| float | |||
| ) |
| void IOPar::add | ( | const char * | , |
| float | , | ||
| float | |||
| ) |
| void IOPar::add | ( | const char * | , |
| float | , | ||
| float | , | ||
| float | |||
| ) |
| void IOPar::add | ( | const char * | , |
| float | , | ||
| float | , | ||
| float | , | ||
| float | |||
| ) |
| void IOPar::add | ( | const char * | , |
| double | |||
| ) |
| void IOPar::add | ( | const char * | , |
| double | , | ||
| double | |||
| ) |
| void IOPar::add | ( | const char * | , |
| double | , | ||
| double | , | ||
| double | |||
| ) |
| void IOPar::add | ( | const char * | , |
| double | , | ||
| double | , | ||
| double | , | ||
| double | |||
| ) |
| void IOPar::addFrom | ( | const IOPar & | ) |
merge entries but do not overwrite
| void IOPar::addYN | ( | const char * | , |
| bool | |||
| ) |
| void IOPar::addYN | ( | const char * | , |
| bool | , | ||
| bool | |||
| ) |
| void IOPar::addYN | ( | const char * | , |
| bool | , | ||
| bool | , | ||
| bool | |||
| ) |
| void IOPar::addYN | ( | const char * | , |
| bool | , | ||
| bool | , | ||
| bool | , | ||
| bool | |||
| ) |
| void IOPar::collectIDs | ( | TypeSet< int > & | ) | const |
|
static |
The composite key: (a,b) -> a.b.
|
static |
The composite key where int will be –> string.
|
inlinestatic |
| void IOPar::dumpPretty | ( | BufferString & | ) | const |
| void IOPar::dumpPretty | ( | od_ostream & | ) | const |
| const char* IOPar::find | ( | const char * | ) | const |
returns null if not found
| const char* IOPar::findKeyFor | ( | const char * | , |
| int | nr = 0 |
||
| ) | const |
returns null if value not found
| bool IOPar::get | ( | const char * | , |
| int & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| int & | , | ||
| int & | , | ||
| int & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| int & | , | ||
| int & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| int & | , | ||
| int & | , | ||
| int & | , | ||
| int & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| unsigned int & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| unsigned int & | , | ||
| unsigned int & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| unsigned int & | , | ||
| unsigned int & | , | ||
| unsigned int & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| unsigned int & | , | ||
| unsigned int & | , | ||
| unsigned int & | , | ||
| unsigned int & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| int64_t & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| int64_t & | , | ||
| int64_t & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| int64_t & | , | ||
| int64_t & | , | ||
| int64_t & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| int64_t & | , | ||
| int64_t & | , | ||
| int64_t & | , | ||
| int64_t & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| uint64_t & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| uint64_t & | , | ||
| uint64_t & | , | ||
| uint64_t & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| uint64_t & | , | ||
| uint64_t & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| uint64_t & | , | ||
| uint64_t & | , | ||
| uint64_t & | , | ||
| uint64_t & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| float & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| float & | , | ||
| float & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| float & | , | ||
| float & | , | ||
| float & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| float & | , | ||
| float & | , | ||
| float & | , | ||
| float & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| double & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| double & | , | ||
| double & | , | ||
| double & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| double & | , | ||
| double & | , | ||
| double & | , | ||
| double & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| double & | , | ||
| double & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| int & | , | ||
| int & | , | ||
| float & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| TypeSet< int > & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| TypeSet< unsigned int > & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| TypeSet< int64_t > & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| TypeSet< uint64_t > & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| TypeSet< double > & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| TypeSet< float > & | |||
| ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| bool IOPar::get | ( | const char * | , |
| TrcKey & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| DBKey & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| Color & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| SeparString & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| uiString & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| BufferString & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| BufferString & | , | ||
| BufferString & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| BufferString & | , | ||
| BufferString & | , | ||
| BufferString & | |||
| ) | const |
| bool IOPar::get | ( | const char * | , |
| BufferStringSet & | |||
| ) | const |
| void IOPar::getFrom | ( | const char * | ) |
| void IOPar::getFrom | ( | ascistream & | ) |
| FixedString IOPar::getKey | ( | int | ) | const |
| void IOPar::getParsFrom | ( | const char * | ) |
| bool IOPar::getPtr | ( | const char * | , |
| void *& | |||
| ) | const |
| bool IOPar::getScaled | ( | const char * | , |
| float & | , | ||
| float | applied_scale, | ||
| bool | set_to_undef_if_not_found | ||
| ) | const |
| bool IOPar::getScaled | ( | const char * | , |
| float & | , | ||
| float & | , | ||
| float | , | ||
| bool | |||
| ) | const |
| bool IOPar::getScaled | ( | const char * | , |
| float & | , | ||
| float & | , | ||
| float & | , | ||
| float | , | ||
| bool | |||
| ) | const |
| bool IOPar::getScaled | ( | const char * | , |
| float & | , | ||
| float & | , | ||
| float & | , | ||
| float & | , | ||
| float | , | ||
| bool | |||
| ) | const |
| bool IOPar::getScaled | ( | const char * | , |
| double & | , | ||
| double & | , | ||
| double | , | ||
| bool | |||
| ) | const |
| bool IOPar::getScaled | ( | const char * | , |
| double & | , | ||
| double | applied_scale, | ||
| bool | set_to_undef_if_not_found | ||
| ) | const |
| bool IOPar::getScaled | ( | const char * | , |
| double & | , | ||
| double & | , | ||
| double & | , | ||
| double | , | ||
| bool | |||
| ) | const |
| bool IOPar::getScaled | ( | const char * | , |
| double & | , | ||
| double & | , | ||
| double & | , | ||
| double & | , | ||
| double | , | ||
| bool | |||
| ) | const |
| FixedString IOPar::getValue | ( | int | ) | const |
| bool IOPar::getYN | ( | const char * | , |
| bool & | |||
| ) | const |
| bool IOPar::getYN | ( | const char * | , |
| bool & | , | ||
| bool & | |||
| ) | const |
| bool IOPar::getYN | ( | const char * | , |
| bool & | , | ||
| bool & | , | ||
| bool & | |||
| ) | const |
| bool IOPar::getYN | ( | const char * | , |
| bool & | , | ||
| bool & | , | ||
| bool & | , | ||
| bool & | |||
| ) | const |
|
inline |
| bool IOPar::includes | ( | const IOPar & | ) | const |
| int IOPar::indexOf | ( | const char * | key | ) | const |
|
inline |
| bool IOPar::isEqual | ( | const IOPar & | , |
| bool | need_same_order = false |
||
| ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
Only set if read from file. Otherwise set to current.
| void IOPar::mergeComp | ( | const IOPar & | , |
| const char * | |||
| ) |
merge entries, where IOPar's entries get a prefix
|
inline |
Only set if read from file. Otherwise set to current.
| int IOPar::odVersion | ( | ) | const |
Only set if read from file. Otherwise set to current v4.6.0 returns as 460
|
inline |
|
inline |
|
inline |
| void IOPar::putParsTo | ( | BufferString & | ) | const |
| void IOPar::putTo | ( | BufferString & | ) | const |
| void IOPar::putTo | ( | ascostream & | ) | const |
| bool IOPar::read | ( | const char * | filename, |
| const char * | filetype, | ||
| bool | chktype = false |
||
| ) |
| bool IOPar::read | ( | od_istream & | , |
| const char * | filetype, | ||
| bool | chktype = false |
||
| ) |
| void IOPar::remove | ( | int | ) |
| void IOPar::removeSubSelection | ( | const char * | ) |
removes with key that start with <str>.
| void IOPar::removeSubSelection | ( | int | ) |
removes with key that start with number.
|
inline |
| void IOPar::removeWithKey | ( | const char * | key | ) |
| void IOPar::removeWithKeyPattern | ( | const char * | globexpression | ) |
removes all entries with key matching this glob expression
| void IOPar::set | ( | const char * | ky, |
| const char * | val | ||
| ) |
replaces when key already exists, otherwise adds
| void IOPar::set | ( | const char * | , |
| int | , | ||
| int | , | ||
| int | , | ||
| int | |||
| ) |
| void IOPar::set | ( | const char * | , |
| int | |||
| ) |
| void IOPar::set | ( | const char * | , |
| int | , | ||
| int | |||
| ) |
| void IOPar::set | ( | const char * | , |
| int | , | ||
| int | , | ||
| int | |||
| ) |
| void IOPar::set | ( | const char * | , |
| unsigned | int, | ||
| unsigned | int, | ||
| unsigned | int, | ||
| unsigned | int | ||
| ) |
| void IOPar::set | ( | const char * | , |
| unsigned | int | ||
| ) |
| void IOPar::set | ( | const char * | , |
| unsigned | int, | ||
| unsigned | int | ||
| ) |
| void IOPar::set | ( | const char * | , |
| unsigned | int, | ||
| unsigned | int, | ||
| unsigned | int | ||
| ) |
| void IOPar::set | ( | const char * | , |
| int64_t | , | ||
| int64_t | , | ||
| int64_t | , | ||
| int64_t | |||
| ) |
| void IOPar::set | ( | const char * | , |
| int64_t | |||
| ) |
| void IOPar::set | ( | const char * | , |
| int64_t | , | ||
| int64_t | |||
| ) |
| void IOPar::set | ( | const char * | , |
| int64_t | , | ||
| int64_t | , | ||
| int64_t | |||
| ) |
| void IOPar::set | ( | const char * | , |
| uint64_t | , | ||
| uint64_t | , | ||
| uint64_t | , | ||
| uint64_t | |||
| ) |
| void IOPar::set | ( | const char * | , |
| uint64_t | , | ||
| uint64_t | |||
| ) |
| void IOPar::set | ( | const char * | , |
| uint64_t | |||
| ) |
| void IOPar::set | ( | const char * | , |
| uint64_t | , | ||
| uint64_t | , | ||
| uint64_t | |||
| ) |
| void IOPar::set | ( | const char * | , |
| float | , | ||
| float | , | ||
| float | , | ||
| float | |||
| ) |
| void IOPar::set | ( | const char * | , |
| float | , | ||
| float | |||
| ) |
| void IOPar::set | ( | const char * | , |
| float | |||
| ) |
| void IOPar::set | ( | const char * | , |
| float | , | ||
| float | , | ||
| float | |||
| ) |
| void IOPar::set | ( | const char * | , |
| double | , | ||
| double | , | ||
| double | , | ||
| double | |||
| ) |
| void IOPar::set | ( | const char * | , |
| double | , | ||
| double | |||
| ) |
| void IOPar::set | ( | const char * | , |
| double | , | ||
| double | , | ||
| double | |||
| ) |
| void IOPar::set | ( | const char * | , |
| double | |||
| ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void IOPar::set | ( | const char * | , |
| int | , | ||
| int | , | ||
| float | |||
| ) |
| void IOPar::set | ( | const char * | , |
| const char * | , | ||
| const char * | |||
| ) |
| void IOPar::set | ( | const char * | , |
| const char * | , | ||
| const char * | , | ||
| const char * | |||
| ) |
| void IOPar::set | ( | const char * | , |
| const TrcKey & | |||
| ) |
| void IOPar::set | ( | const char * | , |
| const DBKey & | |||
| ) |
| void IOPar::set | ( | const char * | , |
| const Color & | |||
| ) |
| void IOPar::set | ( | const char * | , |
| const SeparString & | |||
| ) |
| void IOPar::set | ( | const char * | , |
| const uiString & | |||
| ) |
| void IOPar::set | ( | const char * | , |
| const OD::String & | |||
| ) |
| void IOPar::set | ( | const char * | , |
| const OD::String & | , | ||
| const OD::String & | |||
| ) |
| void IOPar::set | ( | const char * | , |
| const OD::String & | , | ||
| const OD::String & | , | ||
| const OD::String & | |||
| ) |
| void IOPar::set | ( | const char * | , |
| const BufferStringSet & | |||
| ) |
| void IOPar::set | ( | const char * | , |
| const TypeSet< int > & | |||
| ) |
| void IOPar::set | ( | const char * | , |
| const TypeSet< unsigned int > & | |||
| ) |
| void IOPar::set | ( | const char * | , |
| const TypeSet< int64_t > & | |||
| ) |
| void IOPar::set | ( | const char * | , |
| const TypeSet< uint64_t > & | |||
| ) |
| void IOPar::set | ( | const char * | , |
| const TypeSet< double > & | |||
| ) |
| void IOPar::set | ( | const char * | , |
| const TypeSet< float > & | |||
| ) |
| void IOPar::setEmpty | ( | ) |
remove all entries (doesn't clear name)
| bool IOPar::setKey | ( | int | , |
| const char * | |||
| ) |
| void IOPar::setPtr | ( | const char * | , |
| void * | |||
| ) |
| void IOPar::setStdCreationEntries | ( | ) |
| void IOPar::setToDateTime | ( | const char * | ky = 0 | ) |
| void IOPar::setToUser | ( | const char * | ky = 0 | ) |
| void IOPar::setValue | ( | int | , |
| const char * | |||
| ) |
| void IOPar::setYN | ( | const char * | , |
| bool | , | ||
| bool | |||
| ) |
| void IOPar::setYN | ( | const char * | , |
| bool | , | ||
| bool | , | ||
| bool | , | ||
| bool | |||
| ) |
| void IOPar::setYN | ( | const char * | , |
| bool | , | ||
| bool | , | ||
| bool | |||
| ) |
| void IOPar::setYN | ( | const char * | , |
| bool | |||
| ) |
| int IOPar::size | ( | ) | const |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
| void IOPar::sortOnKeys | ( | ) |
| IOPar* IOPar::subselect | ( | const char * | ) | const |
returns iopar with key that start with <str>.
| IOPar* IOPar::subselect | ( | int | ) | const |
returns iopar with key that start with number.
|
inline |
| void IOPar::update | ( | const char * | ky, |
| const char * | val | ||
| ) |
removes if val is empty or null
|
inline |
| void IOPar::update | ( | const char * | , |
| const DBKey & | |||
| ) |
| bool IOPar::write | ( | const char * | filename, |
| const char * | filetype | ||
| ) | const |
If filetype is set to null no ascstream header sKeyDumpPretty calls dumpPretty.
| bool IOPar::write | ( | od_ostream & | , |
| const char * | filetyp | ||
| ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017