OpendTect 8.0
Loading...
Searching...
No Matches
SEGY::HdrEntryDataSet Class Reference

Set of possibe headers for a certain key. More...

#include <segyhdrkeydata.h>

Inheritance diagram for SEGY::HdrEntryDataSet:
[legend]

Public Member Functions

void add (int heidx, int val)
 
void addRecord ()
 
void erase () override
 
void merge (const HdrEntryDataSet &)
 
void reject (int heidx)
 
void rejectConstants (int, int)
 
void rejectNoProgress (int, int)
 
- Public Member Functions inherited from TypeSet< HdrEntryRecord >
 TypeSet ()
 
 TypeSet (const HdrEntryRecord *t, size_type sz)
 
 TypeSet (const TypeSet &oth)
 
 TypeSet (HdrEntryRecord typ)
 
 TypeSet (size_type sz, HdrEntryRecord typ)
 
 ~TypeSet ()
 
TypeSet * clone () const override
 
- Public Member Functions inherited from OD::ValVec< HdrEntryRecord, od_int32 >
virtual ~ValVec ()
 
ValVec & add (const HdrEntryRecord &)
 
virtual bool addIfNew (const HdrEntryRecord &)
 
virtual bool append (const HdrEntryRecord *, size_type)
 
virtual bool append (const ValVec &)
 
virtual HdrEntryRecord * arr ()
 3rd party access
 
virtual const HdrEntryRecord * arr () const
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
virtual ValVec & copy (const HdrEntryRecord *, size_type)
 
virtual ValVec & copy (const ValVec &)
 
size_type count (const HdrEntryRecord &) const
 
virtual void createDifference (const ValVec &, bool must_preserve_order=false)
 Removes all items present in other set.
 
virtual void createIntersection (const ValVec &)
 Only keeps common items.
 
virtual void createUnion (const ValVec &)
 
void emplace_back (Args &&... args)
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
void erase () override
 
std::enable_if< std::is_arithmetic< U >::value >::type fillWithIncreasingValues (U startval=0)
 
HdrEntryRecord & first ()
 
const HdrEntryRecord & first () const
 
HdrEntryRecord & get (idx_type)
 
const HdrEntryRecord & get (idx_type) const
 
virtual size_type getCapacity () const
 
idx_type getIdx (const_iterator it) const
 
idx_type getIdx (iterator it) const
 
virtual idx_type indexOf (HdrEntryRecord, bool forward=true, idx_type start=-1) const
 
virtual void insert (idx_type, const HdrEntryRecord &)
 
bool isPresent (const HdrEntryRecord &) const
 
HdrEntryRecord & last ()
 
const HdrEntryRecord & last () const
 
size_type max_size () const
 
virtual void move (idx_type from, idx_type to)
 
od_int64 nrItems () const override
 
bool operator!= (const ValVec &oth) const
 
ValVec & operator+= (const HdrEntryRecord &t)
 
ValVec & operator-= (const HdrEntryRecord &t)
 
ValVec & operator= (const ValVec &oth)
 
bool operator== (const ValVec &) const
 
HdrEntryRecord & operator[] (idx_type i)
 
const HdrEntryRecord & operator[] (idx_type i) const
 
HdrEntryRecord pop ()
 
bool push (const HdrEntryRecord &)
 
virtual void removeRange (idx_type from, idx_type to)
 
virtual void removeSingle (idx_type, bool preserver_order=true)
 
void replace (HdrEntryRecord, HdrEntryRecord)
 
void reverse () override
 
void setAll (HdrEntryRecord)
 
virtual bool setCapacity (size_type sz, bool withmargin)
 
virtual bool setSize (size_type sz, HdrEntryRecord val=HdrEntryRecord())
 
size_type size () const
 
void swap (od_int32, od_int32)
 
void swap (ValVec &oth)
 
void swapItems (od_int64 i1, od_int64 i2) override
 
virtual void useIndexes (const idx_type *)
 
bool validIdx (od_int64) const override
 
std::vector< HdrEntryRecord > & vec ()
 
const std::vector< HdrEntryRecord > & vec () const
 
- Public Member Functions inherited from OD::Set
virtual ~Set ()
 
bool isEmpty () const
 
void setEmpty ()
 

Public Attributes

TypeSet< int > idxs_
 
SortedList< int > rejectedidxs_
 

Additional Inherited Members

- Public Types inherited from TypeSet< HdrEntryRecord >
typedef OD::ValVec< HdrEntryRecord, od_int32 >::idx_type idx_type
 
typedef OD::ValVec< HdrEntryRecord, od_int32 >::size_type size_type
 
- Public Types inherited from OD::ValVec< HdrEntryRecord, od_int32 >
typedef impl_type::const_iterator const_iterator
 
typedef const value_type & const_reference
 
typedef size_type difference_type
 
typedef size_type idx_type
 
typedef impl_type::iterator iterator
 
typedef HdrEntryRecord object_type
 
typedef value_type & reference
 
typedef od_int32 size_type
 
typedef HdrEntryRecord value_type
 
- Static Public Member Functions inherited from OD::Set
static od_int32 maxIdx32 ()
 
static od_int64 maxIdx64 ()
 
- Protected Types inherited from OD::ValVec< HdrEntryRecord, od_int32 >
typedef VectorAccess< HdrEntryRecord, od_int32 > impl_type
 
- Protected Member Functions inherited from OD::ValVec< HdrEntryRecord, od_int32 >
 ValVec ()
 
 ValVec (const HdrEntryRecord *, size_type sz)
 
 ValVec (const ValVec &)
 
 ValVec (size_type sz, HdrEntryRecord typ)
 
HdrEntryRecord * gtArr () const
 
- Protected Attributes inherited from OD::ValVec< HdrEntryRecord, od_int32 >
impl_type vec_
 

Detailed Description

Set of possibe headers for a certain key.

Member Function Documentation

◆ add()

void SEGY::HdrEntryDataSet::add ( int heidx,
int val )

◆ addRecord()

void SEGY::HdrEntryDataSet::addRecord ( )

◆ erase()

void SEGY::HdrEntryDataSet::erase ( )
overridevirtual

Implements OD::Set.

◆ merge()

void SEGY::HdrEntryDataSet::merge ( const HdrEntryDataSet & )

◆ reject()

void SEGY::HdrEntryDataSet::reject ( int heidx)

◆ rejectConstants()

void SEGY::HdrEntryDataSet::rejectConstants ( int ,
int  )

◆ rejectNoProgress()

void SEGY::HdrEntryDataSet::rejectNoProgress ( int ,
int  )

Member Data Documentation

◆ idxs_

TypeSet<int> SEGY::HdrEntryDataSet::idxs_

◆ rejectedidxs_

SortedList<int> SEGY::HdrEntryDataSet::rejectedidxs_

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2026