 |
OpendTect
6.6
|
Go to the documentation of this file.
25 namespace PosInfo {
class Survey2D; }
91 bool isEmpty()
const {
return lsnm_.isEmpty(); }
95 bool hasLine(
const char* lnm,
const char* lsnm=0)
const;
97 { getKeys(lsindex_,nms); }
136 float& median)
const;
Line2DKey(int lsid=-1, int lineid=-1)
Definition: posinfo2dsurv.h:52
static const Line2DKey & udf()
Line2DKey::IdxType IdxType
Definition: posinfo2dsurv.h:88
void getIDs(const IOPar &, TypeSet< IdxType > &) const
IdxType getNewID(IOPar &)
void getLines(BufferStringSet &, IdxType lsid) const
bool getGeometry(Line2DData &) const
using lineName()
void removeLine(const char *)
FilePath & lsfp_
Definition: posinfo2dsurv.h:146
void renameLineSet(const char *, const char *)
const char * toString() const
IdxType & lineID()
Definition: posinfo2dsurv.h:62
#define mGlobal(module)
Definition: commondefs.h:180
Position info for a 2D line.
Definition: posinfo2d.h:65
Line2DKey GeomID
Definition: posinfo2dsurv.h:78
Set of BufferString objects.
Definition: bufstringset.h:26
bool hasLine(const char *lnm, const char *lsnm=0) const
#define mExpClass(module)
Definition: commondefs.h:177
File pathname tools.
Definition: filepath.h:34
bool isOK() const
true if a line exist with this key
void updateMaxID(IdxType, IOPar &)
Key holding ID for both lineset and line.
Definition: posinfo2dsurv.h:49
void getLines(BufferStringSet &, const char *lsnm=0) const
bool readDistBetwTrcsStats(const char *linemn, float &max, float &median) const
IdxType lsID() const
Definition: posinfo2dsurv.h:61
Survey2D & POS2DAdmin()
Your R/W access to the 2D line geometry database.
Definition: posinfo2dsurv.h:38
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
BufferString getIdxTimeStamp(const char *lsnm=0) const
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:81
Index_Type IdxType
Definition: idxpair.h:33
Line2DKey getLine2DKey(const char *lsnm, const char *linenm) const
int getLineIdx(IdxType lineid) const
bool getGeometry(IdxType lid, Line2DData &) const
IdxType getLineSetID(const char *) const
const PosInfo::Survey2D & S2DPOS()
Your read-access to the 2D line geometry database.
A pair of numbers; base class for BinID et al.
Definition: idxpair.h:30
bool isIdxFileNew(const char *lsnm=0) const
IOPar & lsindex_
Definition: posinfo2dsurv.h:148
bool setGeometry(const Line2DData &)
void renameLine(const char *oldnm, const char *newnm)
bool operator!=(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:90
void removeLineSet(const char *)
bool hasLine(IdxType lineid, IdxType lsid=-1) const
bool hasLineSet(const char *) const
IdxType curLineSetID() const
void getLineSets(BufferStringSet &nms) const
Definition: posinfo2dsurv.h:96
void setCurLineSet(const char *) const
BufferString curlstimestr_
Definition: posinfo2dsurv.h:150
FilePath & basefp_
Definition: posinfo2dsurv.h:145
const char * getLineSet(IdxType lsid) const
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
IdxType lineID() const
Definition: posinfo2dsurv.h:63
const char * getLineFileNm(const char *lsnm, const char *lnm) const
void removeLineSet(IdxType lsid)
BufferString getNewStorageName(const char *, const FilePath &, const IOPar &) const
bool getGeometry(const Line2DKey &, Line2DData &) const
thread safe
const char * getLSFileNm(const char *lsnm) const
int getLineSetIdx(IdxType lsid) const
bool fromString(const char *)
BufferString lsnm_
Definition: posinfo2dsurv.h:147
Position info, often segmented.
Definition: posinfo.h:40
void writeIdxFile(bool) const
void getKeys(const IOPar &, BufferStringSet &) const
bool operator==(const IdxPair &) const
Definition: idxpair.h:59
void setCurLineSet(IdxType lsid) const
static void readIdxFile(const char *, IOPar &)
IdxType & lsID()
Definition: posinfo2dsurv.h:60
const char * getLineName(IdxType lineid) const
bool isEmpty() const
Definition: posinfo2dsurv.h:91
IOPar & lineindex_
Definition: posinfo2dsurv.h:149
Repository for 2D line geometries.
Definition: posinfo2dsurv.h:85
const char * curLineSet() const
Definition: posinfo2dsurv.h:100
void removeLine(IdxType lid)
A lock of a type that (hopefully) suits your needs. To use it, you need the Locker class.
Definition: threadlock.h:53
void getLineIDs(TypeSet< IdxType > &, IdxType lsid) const
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:55
Threads::Lock lock_
Definition: posinfo2dsurv.h:151
bool hasLineSet(IdxType lsid) const
IdxType getLineID(const char *) const
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021