OpendTect
7.0
|
Generalized set of parameters of the keyword-value type. More...
Public Member Functions | |
IOPar (ascistream &) | |
IOPar (const char *nm=nullptr) | |
empty More... | |
IOPar (const IOPar &) | |
~IOPar () | |
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 | 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 *, 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 *, std::int16_t) |
void | add (const char *, std::int16_t, std::int16_t) |
void | add (const char *, std::int16_t, std::int16_t, std::int16_t) |
void | add (const char *, std::int16_t, std::int16_t, std::int16_t, std::int16_t) |
void | add (const char *, std::int64_t) |
void | add (const char *, std::int64_t, std::int64_t) |
void | add (const char *, std::int64_t, std::int64_t, std::int64_t) |
void | add (const char *, std::int64_t, std::int64_t, std::int64_t, std::int64_t) |
void | add (const char *, std::uint16_t) |
void | add (const char *, std::uint16_t, std::uint16_t) |
void | add (const char *, std::uint16_t, std::uint16_t, std::uint16_t) |
void | add (const char *, std::uint16_t, std::uint16_t, std::uint16_t, std::uint16_t) |
void | add (const char *, std::uint32_t) |
void | add (const char *, std::uint32_t, std::uint32_t) |
void | add (const char *, std::uint32_t, std::uint32_t, std::uint32_t) |
void | add (const char *, std::uint32_t, std::uint32_t, std::uint32_t, std::uint32_t) |
void | add (const char *, std::uint64_t) |
void | add (const char *, std::uint64_t, std::uint64_t) |
void | add (const char *, std::uint64_t, std::uint64_t, std::uint64_t) |
void | add (const char *, std::uint64_t, std::uint64_t, std::uint64_t, std::uint64_t) |
void | add (const char *ky, const char *val) |
void | add (const char *ky, const OD::String &val) |
void | addFrom (const IOPar &) |
merge entries but do not overwrite More... | |
void | addVal (const char *ky, const char *valtoadd) |
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) |
void | dumpPretty (BufferString &) const |
void | dumpPretty (od_ostream &) const |
void | fillJSON (OD::JSON::Object &obj, bool simple=true) const |
if simple, only save the top level objects More... | |
BufferString | find (const char *) const |
BufferString | findKeyFor (const char *) const |
returns empty if value not found More... | |
bool | get (const char *, BinID &) const |
bool | get (const char *, BoolTypeSet &) 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 | get (const char *, Coord &) const |
bool | get (const char *, Coord3 &) const |
bool | get (const char *, DBKey &) const |
bool | get (const char *, DBKeySet &) 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 | 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 *, int &) const |
bool | get (const char *, int &, int &) const |
bool | get (const char *, int &, int &, float &) const |
bool | get (const char *, int &, int &, int &) const |
bool | get (const char *, int &, int &, int &, int &) const |
template<class T > | |
bool | get (const char *, IntegerID< T > &) const |
template<class T > | |
bool | get (const char *, Interval< T > &) const |
bool | get (const char *, MultiID &) const |
bool | get (const char *, OD::Color &) const |
bool | get (const char *, OD::GeomSystem &) const |
template<class T > | |
bool | get (const char *, SamplingData< T > &) const |
bool | get (const char *, SeparString &) const |
bool | get (const char *, std::int16_t &) const |
bool | get (const char *, std::int16_t &, std::int16_t &) const |
bool | get (const char *, std::int16_t &, std::int16_t &, std::int16_t &) const |
bool | get (const char *, std::int16_t &, std::int16_t &, std::int16_t &, std::int16_t &) const |
bool | get (const char *, std::int64_t &) const |
bool | get (const char *, std::int64_t &, std::int64_t &) const |
bool | get (const char *, std::int64_t &, std::int64_t &, std::int64_t &) const |
bool | get (const char *, std::int64_t &, std::int64_t &, std::int64_t &, std::int64_t &) const |
bool | get (const char *, std::uint16_t &) const |
bool | get (const char *, std::uint16_t &, std::uint16_t &) const |
bool | get (const char *, std::uint16_t &, std::uint16_t &, std::uint16_t &) const |
bool | get (const char *, std::uint16_t &, std::uint16_t &, std::uint16_t &, std::uint16_t &) const |
bool | get (const char *, std::uint32_t &) const |
bool | get (const char *, std::uint32_t &, std::uint32_t &) const |
bool | get (const char *, std::uint32_t &, std::uint32_t &, std::uint32_t &) const |
bool | get (const char *, std::uint32_t &, std::uint32_t &, std::uint32_t &, std::uint32_t &) const |
bool | get (const char *, std::uint64_t &) const |
bool | get (const char *, std::uint64_t &, std::uint64_t &) const |
bool | get (const char *, std::uint64_t &, std::uint64_t &, std::uint64_t &) const |
bool | get (const char *, std::uint64_t &, std::uint64_t &, std::uint64_t &, std::uint64_t &) const |
bool | get (const char *, TrcKey &) const |
bool | get (const char *, TypeSet< double > &) const |
bool | get (const char *, TypeSet< float > &) const |
bool | get (const char *, TypeSet< int > &) const |
bool | get (const char *, TypeSet< MultiID > &) const |
bool | get (const char *, TypeSet< Pos::GeomID > &) const |
bool | get (const char *, TypeSet< std::int16_t > &) const |
bool | get (const char *, TypeSet< std::int64_t > &) const |
bool | get (const char *, TypeSet< std::uint16_t > &) const |
bool | get (const char *, TypeSet< std::uint32_t > &) const |
bool | get (const char *, TypeSet< std::uint64_t > &) const |
bool | get (const char *, uiString &) const |
void | getFrom (ascistream &) |
void | getFrom (const char *) |
void | getKeys (BufferStringSet &) const |
void | getParsFrom (const char *) |
bool | getPtr (const char *, void *&) const |
bool | getScaled (const char *, double &, double &, double &, double &, double, bool) const |
bool | getScaled (const char *, double &, double &, double &, double, bool) const |
bool | getScaled (const char *, double &, double &, double, bool) const |
bool | getScaled (const char *, double &, double applied_scale, bool set_to_undef_if_not_found) const |
bool | getScaled (const char *, float &, float &, float &, float &, float, bool) const |
bool | getScaled (const char *, float &, float &, float &, float, bool) const |
bool | getScaled (const char *, float &, float &, float, bool) const |
bool | getScaled (const char *, float &, float applied_scale, bool set_to_undef_if_not_found) 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 | hasKey (const char *s) const |
bool | includes (const IOPar &) const |
bool | isEmpty () const |
bool | isEqual (const IOPar &) const |
bool | isFalse (const char *key) const |
bool | isPresent (const char *ky) const |
bool | isTrue (const char *key) const |
int | majorVersion () const |
Only set if read from file. Otherwise set to current. More... | |
void | merge (const IOPar &) |
merge entries using the set() command More... | |
void | mergeComp (const IOPar &, const char *) |
merge entries, where IOPar's entries get a prefix More... | |
int | minorVersion () const |
Only set if read from file. Otherwise set to current. More... | |
int | odVersion () const |
bool | operator!= (const IOPar &iop) const |
IOPar & | operator= (const IOPar &) |
bool | operator== (const IOPar &iop) const |
BufferString | operator[] (const char *ky) const |
int | patchVersion () const |
Only set if read from file. Otherwise set to current. More... | |
void | putParsTo (BufferString &) const |
void | putTo (ascostream &) const |
void | putTo (BufferString &) const |
bool | read (const char *filename, const char *filetype, bool chktype=false) |
bool | read (od_istream &, const char *filetype, bool chktype=false) |
bool | remove (int)=delete |
bool | removeSubSelection (const char *str) |
removes with key that start with str. More... | |
bool | removeSubSelection (const OD::String &fs) |
bool | removeSubSelection (int) |
removes with key that start with number. More... | |
bool | removeWithKey (const char *key) |
returns false if ky not found More... | |
bool | removeWithKeyPattern (const char *globexpression) |
bool | replaceKey (const char *oldkey, const char *newkey) |
returns false if oldkey was not found More... | |
void | set (const char *, const BinID &) |
void | set (const char *, const BoolTypeSet &) |
void | set (const char *, const BufferStringSet &) |
void | set (const char *, const char *, const char *) |
void | set (const char *, const char *, const char *, const char *) |
void | set (const char *, const Coord &) |
void | set (const char *, const Coord3 &) |
void | set (const char *, const DBKey &) |
void | set (const char *, const DBKeySet &) |
template<class T > | |
void | set (const char *, const IntegerID< T > &) |
template<class T > | |
void | set (const char *, const Interval< T > &) |
void | set (const char *, const MultiID &) |
void | set (const char *, const OD::Color &) |
void | set (const char *, const OD::GeomSystem &) |
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 &) |
template<class T > | |
void | set (const char *, const SamplingData< T > &) |
void | set (const char *, const SeparString &) |
void | set (const char *, const TrcKey &) |
void | set (const char *, const TypeSet< double > &) |
void | set (const char *, const TypeSet< float > &) |
void | set (const char *, const TypeSet< int > &) |
void | set (const char *, const TypeSet< MultiID > &) |
void | set (const char *, const TypeSet< Pos::GeomID > &) |
void | set (const char *, const TypeSet< std::int16_t > &) |
void | set (const char *, const TypeSet< std::int64_t > &) |
void | set (const char *, const TypeSet< std::uint16_t > &) |
void | set (const char *, const TypeSet< std::uint32_t > &) |
void | set (const char *, const TypeSet< std::uint64_t > &) |
void | set (const char *, const uiString &) |
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 | 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 *, int) |
void | set (const char *, int, int) |
void | set (const char *, int, int, float) |
void | set (const char *, int, int, int) |
void | set (const char *, int, int, int, int) |
void | set (const char *, std::int16_t) |
void | set (const char *, std::int16_t, std::int16_t) |
void | set (const char *, std::int16_t, std::int16_t, std::int16_t) |
void | set (const char *, std::int16_t, std::int16_t, std::int16_t, std::int16_t) |
void | set (const char *, std::int64_t) |
void | set (const char *, std::int64_t, std::int64_t) |
void | set (const char *, std::int64_t, std::int64_t, std::int64_t) |
void | set (const char *, std::int64_t, std::int64_t, std::int64_t, std::int64_t) |
void | set (const char *, std::uint16_t) |
void | set (const char *, std::uint16_t, std::uint16_t) |
void | set (const char *, std::uint16_t, std::uint16_t, std::uint16_t) |
void | set (const char *, std::uint16_t, std::uint16_t, std::uint16_t, std::uint16_t) |
void | set (const char *, std::uint32_t) |
void | set (const char *, std::uint32_t, std::uint32_t) |
void | set (const char *, std::uint32_t, std::uint32_t, std::uint32_t) |
void | set (const char *, std::uint32_t, std::uint32_t, std::uint32_t, std::uint32_t) |
void | set (const char *, std::uint64_t) |
void | set (const char *, std::uint64_t, std::uint64_t) |
void | set (const char *, std::uint64_t, std::uint64_t, std::uint64_t) |
void | set (const char *, std::uint64_t, std::uint64_t, std::uint64_t, std::uint64_t) |
void | set (const char *ky, const char *val) |
void | setEmpty () |
remove all entries (doesn't clear name) More... | |
void | setPtr (const char *, void *) |
void | setStdCreationEntries () |
void | setToDateTime (const char *ky=nullptr) |
void | setToUser (const char *ky=nullptr) |
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) |
int | size () const |
IOPar * | subselect (const char *str) const |
returns iopar with key that start with str. More... | |
IOPar * | subselect (const OD::String &fs) const |
IOPar * | subselect (int) const |
returns iopar with key that start with number. More... | |
void | update (const char *ky, const char *val) |
bool | useJSON (const char *key, const OD::JSON::Array &) |
bool | useJSON (const OD::JSON::Object &) |
bool | write (const char *filename, const char *filetype) const |
bool | write (od_ostream &, const char *filetyp) const |
Public Member Functions inherited from NamedObject | |
NamedObject (const char *nm=nullptr) | |
NamedObject (const NamedObject &oth) | |
virtual | ~NamedObject () |
virtual BufferString | getName () const |
bool | getNameFromPar (const IOPar &) |
const name_type & | name () const override |
NamedObject & | operator= (const NamedObject &) |
bool | operator== (const NamedObject &oth) const |
virtual void | setName (const char *nm) |
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 |
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 Member Functions | |
bool | areSubParsIndexed () const |
void | fillJSON (OD::JSON::Object &obj, const BufferStringSet &keys, const BufferStringSet &vals, const char *subkey, int &startidx) const |
Protected Attributes | |
ODHashMap & | hashmap_ |
int | majorversion_ |
int | minorversion_ |
int | patchversion_ |
Protected Attributes inherited from NamedObject | |
BufferString | name_ |
Friends | |
class | IOParIterator |
Additional Inherited Members | |
Public Types inherited from ObjectWithName | |
typedef OD::String | name_type |
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.
<>
IOPar::IOPar | ( | const char * | nm = nullptr | ) |
empty
IOPar::IOPar | ( | ascistream & | ) |
IOPar::IOPar | ( | const IOPar & | ) |
IOPar::~IOPar | ( | ) |
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::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 * | , |
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 * | , |
std::int16_t | |||
) |
void IOPar::add | ( | const char * | , |
std::int16_t | , | ||
std::int16_t | |||
) |
void IOPar::add | ( | const char * | , |
std::int16_t | , | ||
std::int16_t | , | ||
std::int16_t | |||
) |
void IOPar::add | ( | const char * | , |
std::int16_t | , | ||
std::int16_t | , | ||
std::int16_t | , | ||
std::int16_t | |||
) |
void IOPar::add | ( | const char * | , |
std::int64_t | |||
) |
void IOPar::add | ( | const char * | , |
std::int64_t | , | ||
std::int64_t | |||
) |
void IOPar::add | ( | const char * | , |
std::int64_t | , | ||
std::int64_t | , | ||
std::int64_t | |||
) |
void IOPar::add | ( | const char * | , |
std::int64_t | , | ||
std::int64_t | , | ||
std::int64_t | , | ||
std::int64_t | |||
) |
void IOPar::add | ( | const char * | , |
std::uint16_t | |||
) |
void IOPar::add | ( | const char * | , |
std::uint16_t | , | ||
std::uint16_t | |||
) |
void IOPar::add | ( | const char * | , |
std::uint16_t | , | ||
std::uint16_t | , | ||
std::uint16_t | |||
) |
void IOPar::add | ( | const char * | , |
std::uint16_t | , | ||
std::uint16_t | , | ||
std::uint16_t | , | ||
std::uint16_t | |||
) |
void IOPar::add | ( | const char * | , |
std::uint32_t | |||
) |
void IOPar::add | ( | const char * | , |
std::uint32_t | , | ||
std::uint32_t | |||
) |
void IOPar::add | ( | const char * | , |
std::uint32_t | , | ||
std::uint32_t | , | ||
std::uint32_t | |||
) |
void IOPar::add | ( | const char * | , |
std::uint32_t | , | ||
std::uint32_t | , | ||
std::uint32_t | , | ||
std::uint32_t | |||
) |
void IOPar::add | ( | const char * | , |
std::uint64_t | |||
) |
void IOPar::add | ( | const char * | , |
std::uint64_t | , | ||
std::uint64_t | |||
) |
void IOPar::add | ( | const char * | , |
std::uint64_t | , | ||
std::uint64_t | , | ||
std::uint64_t | |||
) |
void IOPar::add | ( | const char * | , |
std::uint64_t | , | ||
std::uint64_t | , | ||
std::uint64_t | , | ||
std::uint64_t | |||
) |
void IOPar::add | ( | const char * | ky, |
const char * | val | ||
) |
unsafe: does not check for duplicate keys
|
inline |
void IOPar::addFrom | ( | const IOPar & | ) |
merge entries but do not overwrite
void IOPar::addVal | ( | const char * | ky, |
const char * | valtoadd | ||
) |
Append valtoadd to existing vals: ky: <existing vals>`valtoadd
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 | |||
) |
|
protected |
|
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 |
void IOPar::fillJSON | ( | OD::JSON::Object & | obj, |
bool | simple = true |
||
) | const |
if simple, only save the top level objects
|
protected |
BufferString IOPar::find | ( | const char * | ) | const |
BufferString IOPar::findKeyFor | ( | const char * | ) | const |
returns empty if value not found
bool IOPar::get | ( | const char * | , |
BinID & | |||
) | const |
bool IOPar::get | ( | const char * | , |
BoolTypeSet & | |||
) | 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 |
bool IOPar::get | ( | const char * | , |
Coord & | |||
) | const |
bool IOPar::get | ( | const char * | , |
Coord3 & | |||
) | const |
bool IOPar::get | ( | const char * | , |
DBKey & | |||
) | const |
bool IOPar::get | ( | const char * | , |
DBKeySet & | |||
) | const |
bool IOPar::get | ( | const char * | , |
double & | |||
) | const |
bool IOPar::get | ( | const char * | , |
double & | , | ||
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 * | , |
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 * | , |
int & | |||
) | const |
bool IOPar::get | ( | const char * | , |
int & | , | ||
int & | |||
) | const |
bool IOPar::get | ( | const char * | , |
int & | , | ||
int & | , | ||
float & | |||
) | const |
bool IOPar::get | ( | const char * | , |
int & | , | ||
int & | , | ||
int & | |||
) | const |
bool IOPar::get | ( | const char * | , |
int & | , | ||
int & | , | ||
int & | , | ||
int & | |||
) | const |
bool IOPar::get | ( | const char * | key, |
IntegerID< T > & | id | ||
) | const |
|
inline |
bool IOPar::get | ( | const char * | , |
MultiID & | |||
) | const |
bool IOPar::get | ( | const char * | , |
OD::Color & | |||
) | const |
bool IOPar::get | ( | const char * | , |
OD::GeomSystem & | |||
) | const |
|
inline |
bool IOPar::get | ( | const char * | , |
SeparString & | |||
) | const |
bool IOPar::get | ( | const char * | , |
std::int16_t & | |||
) | const |
bool IOPar::get | ( | const char * | , |
std::int16_t & | , | ||
std::int16_t & | |||
) | const |
bool IOPar::get | ( | const char * | , |
std::int16_t & | , | ||
std::int16_t & | , | ||
std::int16_t & | |||
) | const |
bool IOPar::get | ( | const char * | , |
std::int16_t & | , | ||
std::int16_t & | , | ||
std::int16_t & | , | ||
std::int16_t & | |||
) | const |
bool IOPar::get | ( | const char * | , |
std::int64_t & | |||
) | const |
bool IOPar::get | ( | const char * | , |
std::int64_t & | , | ||
std::int64_t & | |||
) | const |
bool IOPar::get | ( | const char * | , |
std::int64_t & | , | ||
std::int64_t & | , | ||
std::int64_t & | |||
) | const |
bool IOPar::get | ( | const char * | , |
std::int64_t & | , | ||
std::int64_t & | , | ||
std::int64_t & | , | ||
std::int64_t & | |||
) | const |
bool IOPar::get | ( | const char * | , |
std::uint16_t & | |||
) | const |
bool IOPar::get | ( | const char * | , |
std::uint16_t & | , | ||
std::uint16_t & | |||
) | const |
bool IOPar::get | ( | const char * | , |
std::uint16_t & | , | ||
std::uint16_t & | , | ||
std::uint16_t & | |||
) | const |
bool IOPar::get | ( | const char * | , |
std::uint16_t & | , | ||
std::uint16_t & | , | ||
std::uint16_t & | , | ||
std::uint16_t & | |||
) | const |
bool IOPar::get | ( | const char * | , |
std::uint32_t & | |||
) | const |
bool IOPar::get | ( | const char * | , |
std::uint32_t & | , | ||
std::uint32_t & | |||
) | const |
bool IOPar::get | ( | const char * | , |
std::uint32_t & | , | ||
std::uint32_t & | , | ||
std::uint32_t & | |||
) | const |
bool IOPar::get | ( | const char * | , |
std::uint32_t & | , | ||
std::uint32_t & | , | ||
std::uint32_t & | , | ||
std::uint32_t & | |||
) | const |
bool IOPar::get | ( | const char * | , |
std::uint64_t & | |||
) | const |
bool IOPar::get | ( | const char * | , |
std::uint64_t & | , | ||
std::uint64_t & | |||
) | const |
bool IOPar::get | ( | const char * | , |
std::uint64_t & | , | ||
std::uint64_t & | , | ||
std::uint64_t & | |||
) | const |
bool IOPar::get | ( | const char * | , |
std::uint64_t & | , | ||
std::uint64_t & | , | ||
std::uint64_t & | , | ||
std::uint64_t & | |||
) | const |
bool IOPar::get | ( | const char * | , |
TrcKey & | |||
) | const |
bool IOPar::get | ( | const char * | , |
TypeSet< double > & | |||
) | const |
bool IOPar::get | ( | const char * | , |
TypeSet< float > & | |||
) | const |
bool IOPar::get | ( | const char * | , |
TypeSet< int > & | |||
) | const |
bool IOPar::get | ( | const char * | , |
TypeSet< Pos::GeomID > & | |||
) | const |
bool IOPar::get | ( | const char * | , |
TypeSet< std::int16_t > & | |||
) | const |
bool IOPar::get | ( | const char * | , |
TypeSet< std::int64_t > & | |||
) | const |
bool IOPar::get | ( | const char * | , |
TypeSet< std::uint16_t > & | |||
) | const |
bool IOPar::get | ( | const char * | , |
TypeSet< std::uint32_t > & | |||
) | const |
bool IOPar::get | ( | const char * | , |
TypeSet< std::uint64_t > & | |||
) | const |
bool IOPar::get | ( | const char * | , |
uiString & | |||
) | const |
void IOPar::getFrom | ( | ascistream & | ) |
void IOPar::getFrom | ( | const char * | ) |
void IOPar::getKeys | ( | BufferStringSet & | ) | const |
void IOPar::getParsFrom | ( | const char * | ) |
bool IOPar::getPtr | ( | const char * | , |
void *& | |||
) | const |
bool IOPar::getScaled | ( | const char * | , |
double & | , | ||
double & | , | ||
double & | , | ||
double & | , | ||
double | , | ||
bool | |||
) | const |
bool IOPar::getScaled | ( | const char * | , |
double & | , | ||
double & | , | ||
double & | , | ||
double | , | ||
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 * | , |
float & | , | ||
float & | , | ||
float & | , | ||
float & | , | ||
float | , | ||
bool | |||
) | const |
bool IOPar::getScaled | ( | const char * | , |
float & | , | ||
float & | , | ||
float & | , | ||
float | , | ||
bool | |||
) | const |
bool IOPar::getScaled | ( | const char * | , |
float & | , | ||
float & | , | ||
float | , | ||
bool | |||
) | const |
bool IOPar::getScaled | ( | const char * | , |
float & | , | ||
float | applied_scale, | ||
bool | set_to_undef_if_not_found | ||
) | 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 |
bool IOPar::isEmpty | ( | ) | const |
bool IOPar::isEqual | ( | const IOPar & | ) | const |
|
inline |
bool IOPar::isPresent | ( | const char * | ky | ) | const |
|
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 v6.6.0 returns as 660
|
inline |
|
inline |
|
inline |
|
inline |
Only set if read from file. Otherwise set to current.
void IOPar::putParsTo | ( | BufferString & | ) | const |
void IOPar::putTo | ( | ascostream & | ) | const |
void IOPar::putTo | ( | BufferString & | ) | const |
bool IOPar::read | ( | const char * | filename, |
const char * | filetype, | ||
bool | chktype = false |
||
) |
filetype null will assume no file header uses set(). no clear() done
bool IOPar::read | ( | od_istream & | , |
const char * | filetype, | ||
bool | chktype = false |
||
) |
|
delete |
bool IOPar::removeSubSelection | ( | const char * | str | ) |
removes with key that start with str.
|
inline |
bool IOPar::removeSubSelection | ( | int | ) |
removes with key that start with number.
bool IOPar::removeWithKey | ( | const char * | key | ) |
returns false if ky not found
bool IOPar::removeWithKeyPattern | ( | const char * | globexpression | ) |
removes all entries with key matching this glob expression, return false if none found
bool IOPar::replaceKey | ( | const char * | oldkey, |
const char * | newkey | ||
) |
returns false if oldkey was not found
void IOPar::set | ( | const char * | , |
const BinID & | |||
) |
void IOPar::set | ( | const char * | , |
const BoolTypeSet & | |||
) |
void IOPar::set | ( | const char * | , |
const BufferStringSet & | |||
) |
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 Coord & | |||
) |
void IOPar::set | ( | const char * | , |
const Coord3 & | |||
) |
void IOPar::set | ( | const char * | , |
const DBKey & | |||
) |
void IOPar::set | ( | const char * | , |
const DBKeySet & | |||
) |
void IOPar::set | ( | const char * | key, |
const IntegerID< T > & | id | ||
) |
|
inline |
void IOPar::set | ( | const char * | , |
const MultiID & | |||
) |
void IOPar::set | ( | const char * | , |
const OD::Color & | |||
) |
void IOPar::set | ( | const char * | , |
const OD::GeomSystem & | |||
) |
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 & | |||
) |
|
inline |
void IOPar::set | ( | const char * | , |
const SeparString & | |||
) |
void IOPar::set | ( | const char * | , |
const TrcKey & | |||
) |
void IOPar::set | ( | const char * | , |
const TypeSet< double > & | |||
) |
void IOPar::set | ( | const char * | , |
const TypeSet< float > & | |||
) |
void IOPar::set | ( | const char * | , |
const TypeSet< int > & | |||
) |
void IOPar::set | ( | const char * | , |
const TypeSet< Pos::GeomID > & | |||
) |
void IOPar::set | ( | const char * | , |
const TypeSet< std::int16_t > & | |||
) |
void IOPar::set | ( | const char * | , |
const TypeSet< std::int64_t > & | |||
) |
void IOPar::set | ( | const char * | , |
const TypeSet< std::uint16_t > & | |||
) |
void IOPar::set | ( | const char * | , |
const TypeSet< std::uint32_t > & | |||
) |
void IOPar::set | ( | const char * | , |
const TypeSet< std::uint64_t > & | |||
) |
void IOPar::set | ( | const char * | , |
const uiString & | |||
) |
void IOPar::set | ( | const char * | , |
double | |||
) |
void IOPar::set | ( | const char * | , |
double | , | ||
double | |||
) |
void IOPar::set | ( | const char * | , |
double | , | ||
double | , | ||
double | |||
) |
void IOPar::set | ( | const char * | , |
double | , | ||
double | , | ||
double | , | ||
double | |||
) |
void IOPar::set | ( | const char * | , |
float | |||
) |
void IOPar::set | ( | const char * | , |
float | , | ||
float | |||
) |
void IOPar::set | ( | const char * | , |
float | , | ||
float | , | ||
float | |||
) |
void IOPar::set | ( | const char * | , |
float | , | ||
float | , | ||
float | , | ||
float | |||
) |
void IOPar::set | ( | const char * | , |
int | |||
) |
void IOPar::set | ( | const char * | , |
int | , | ||
int | |||
) |
void IOPar::set | ( | const char * | , |
int | , | ||
int | , | ||
float | |||
) |
void IOPar::set | ( | const char * | , |
int | , | ||
int | , | ||
int | |||
) |
void IOPar::set | ( | const char * | , |
int | , | ||
int | , | ||
int | , | ||
int | |||
) |
void IOPar::set | ( | const char * | , |
std::int16_t | |||
) |
void IOPar::set | ( | const char * | , |
std::int16_t | , | ||
std::int16_t | |||
) |
void IOPar::set | ( | const char * | , |
std::int16_t | , | ||
std::int16_t | , | ||
std::int16_t | |||
) |
void IOPar::set | ( | const char * | , |
std::int16_t | , | ||
std::int16_t | , | ||
std::int16_t | , | ||
std::int16_t | |||
) |
void IOPar::set | ( | const char * | , |
std::int64_t | |||
) |
void IOPar::set | ( | const char * | , |
std::int64_t | , | ||
std::int64_t | |||
) |
void IOPar::set | ( | const char * | , |
std::int64_t | , | ||
std::int64_t | , | ||
std::int64_t | |||
) |
void IOPar::set | ( | const char * | , |
std::int64_t | , | ||
std::int64_t | , | ||
std::int64_t | , | ||
std::int64_t | |||
) |
void IOPar::set | ( | const char * | , |
std::uint16_t | |||
) |
void IOPar::set | ( | const char * | , |
std::uint16_t | , | ||
std::uint16_t | |||
) |
void IOPar::set | ( | const char * | , |
std::uint16_t | , | ||
std::uint16_t | , | ||
std::uint16_t | |||
) |
void IOPar::set | ( | const char * | , |
std::uint16_t | , | ||
std::uint16_t | , | ||
std::uint16_t | , | ||
std::uint16_t | |||
) |
void IOPar::set | ( | const char * | , |
std::uint32_t | |||
) |
void IOPar::set | ( | const char * | , |
std::uint32_t | , | ||
std::uint32_t | |||
) |
void IOPar::set | ( | const char * | , |
std::uint32_t | , | ||
std::uint32_t | , | ||
std::uint32_t | |||
) |
void IOPar::set | ( | const char * | , |
std::uint32_t | , | ||
std::uint32_t | , | ||
std::uint32_t | , | ||
std::uint32_t | |||
) |
void IOPar::set | ( | const char * | , |
std::uint64_t | |||
) |
void IOPar::set | ( | const char * | , |
std::uint64_t | , | ||
std::uint64_t | |||
) |
void IOPar::set | ( | const char * | , |
std::uint64_t | , | ||
std::uint64_t | , | ||
std::uint64_t | |||
) |
void IOPar::set | ( | const char * | , |
std::uint64_t | , | ||
std::uint64_t | , | ||
std::uint64_t | , | ||
std::uint64_t | |||
) |
void IOPar::set | ( | const char * | ky, |
const char * | val | ||
) |
replaces when key already exists, otherwise adds
void IOPar::setEmpty | ( | ) |
remove all entries (doesn't clear name)
void IOPar::setPtr | ( | const char * | , |
void * | |||
) |
void IOPar::setStdCreationEntries | ( | ) |
void IOPar::setToDateTime | ( | const char * | ky = nullptr | ) |
void IOPar::setToUser | ( | const char * | ky = nullptr | ) |
void IOPar::setYN | ( | const char * | , |
bool | |||
) |
void IOPar::setYN | ( | const char * | , |
bool | , | ||
bool | |||
) |
void IOPar::setYN | ( | const char * | , |
bool | , | ||
bool | , | ||
bool | |||
) |
void IOPar::setYN | ( | const char * | , |
bool | , | ||
bool | , | ||
bool | , | ||
bool | |||
) |
int IOPar::size | ( | ) | const |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
IOPar* IOPar::subselect | ( | const char * | str | ) | const |
returns iopar with key that start with str.
|
inline |
IOPar* IOPar::subselect | ( | int | ) | const |
returns iopar with key that start with number.
void IOPar::update | ( | const char * | ky, |
const char * | val | ||
) |
removes if val is empty or null
bool IOPar::useJSON | ( | const char * | key, |
const OD::JSON::Array & | |||
) |
bool IOPar::useJSON | ( | const OD::JSON::Object & | ) |
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 |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024