38 : owner_(b.owner_) { b.
copyInto( *
this ); }
41 inline bool isOwner()
const {
return owner_; }
43 void copyInto(SeisTrcBuf&)
const;
44 void stealTracesFrom(SeisTrcBuf&);
45 virtual SeisTrcBuf*
clone()
const {
return new SeisTrcBuf(*
this);}
54 {
return trcs_.validIdx(idx); }
55 void insert(
SeisTrc*,
int atidx=0);
57 {
return trcs_.replace(idx,t); }
59 void add(SeisTrcBuf&);
61 int find(
const BinID&,
bool is2d=
false)
const;
64 {
return trcs_.validIdx(idx) ?
trcs_[idx] : 0; }
65 inline const SeisTrc*
get(
int idx )
const 66 {
return trcs_.validIdx(idx) ?
trcs_[idx] : 0; }
70 if ( !
trcs_.validIdx(idx) )
74 if (t)
trcs_-=t;
return t;
87 void sortForWrite(
bool is2d);
89 bool stack_before_remove=
false);
95 bool dump(
const char* filenm,
bool is2d,
bool isps,
104 int probableIdx(
const BinID&,
bool is2d)
const;
#define mExpClass(module)
Definition: commondefs.h:160
Summary for a Seismic object.
Definition: segydirectdef.h:23
SeisTrcBuf & buf_
Definition: seisbuf.h:123
const SeisTrc * last() const
Definition: seisbuf.h:80
SeisTrcReader & rdr_
Definition: seisbuf.h:122
uiString msg_
Definition: seisbuf.h:125
int totnr_
Definition: seisbuf.h:124
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Definition: seisbuf.h:109
const SeisTrc * first() const
Definition: seisbuf.h:78
Information for a packet of seismics, AKA tape header info.
Definition: seispacketinfo.h:25
ObjectSet< SeisTrc > trcs_
Definition: seisbuf.h:101
void erase()
Definition: seisbuf.h:48
#define od_int64
Definition: plftypes.h:36
void add(SeisTrc *t)
Definition: seisbuf.h:58
SeisTrcBuf(bool ownr)
Definition: seisbuf.h:35
Definition: uistring.h:89
uiString uiNrDoneText() const
will be nrDoneText() in 7.x
Definition: seisbuf.h:115
PtrMan< Array2DImpl< PtrMan< SeisTrc > > > trcs_
Definition: horizontracker.h:136
void copyInto(SeisTrcBuf &) const
SeisTrcBuf(const SeisTrcBuf &b)
Definition: seisbuf.h:37
od_int64 nrDone() const
Definition: seisbuf.h:116
od_int64 totalNr() const
Definition: seisbuf.h:117
reads from a seismic data store.
Definition: seisread.h:50
Fld
Definition: seisinfo.h:66
uiString uiMessage() const
will be message() again in 7.x
Definition: seisbuf.h:114
bool isEmpty() const
Definition: seisbuf.h:52
SeisTrc * last()
Definition: seisbuf.h:79
bool validIdx(od_int64 idx) const
Definition: seisbuf.h:53
int size() const
Definition: seisbuf.h:51
const T * find(const ObjectSet< T > &os, const S &val)
Get const object in set.
Definition: objectset.h:183
bool isOwner() const
Definition: seisbuf.h:41
void sort(ObjectSet< T > &os)
Sort ObjectSet. Must have operator > defined for elements.
Definition: objectset.h:220
Positioning in a seismic survey: inline/crossline or lineNr/trcNr.
Definition: binid.h:30
Seismic trace.
Definition: seistrc.h:34
void setIsOwner(bool yn)
Definition: seisbuf.h:40
set of seismic traces.
Definition: seisbuf.h:31
bool owner_
Definition: seisbuf.h:102
SeisTrc * first()
Definition: seisbuf.h:77
virtual SeisTrcBuf * clone() const
Definition: seisbuf.h:45
virtual ~SeisTrcBuf()
Definition: seisbuf.h:39
SeisTrc * replace(int idx, SeisTrc *t)
Definition: seisbuf.h:56
Specification to enable chunkwise execution of a process.
Definition: executor.h:39
void deepErase(ObjectSet< T > &os)
empty the ObjectSet deleting all objects pointed to.
Definition: objectset.h:118