OpendTect  6.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ODMad::TrcHeader Class Reference

describes one trace header More...

Inheritance diagram for ODMad::TrcHeader:
[legend]

Public Member Functions

 TrcHeader (bool is2d, const TrcHdrDef &def)
 
bool fillTrcInfo (SeisTrcInfo &) const
 
bool read (od_istream &)
 
bool useTrcInfo (const SeisTrcInfo &)
 
void write (od_ostream &) const
 
- Public Member Functions inherited from TypeSet< int >
 TypeSet ()
 
 TypeSet (const int *t, size_type nr)
 
 TypeSet (const TypeSet &oth)
 
 TypeSet (int typ)
 
 TypeSet (size_type nr, int typ)
 
virtual TypeSetclone () const
 
- Public Member Functions inherited from OD::ValVec< T, IT >
virtual ~ValVec ()
 
ValVecadd (const T &)
 
virtual bool addIfNew (const T &)
 
virtual bool append (const T *, size_type)
 
virtual bool append (const ValVec &)
 
virtual T * arr ()
 3rd party access More...
 
virtual const T * arr () const
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
virtual ValVeccopy (const T *, size_type)
 
virtual ValVeccopy (const ValVec &)
 
size_type count (const T &) const
 
virtual void createDifference (const ValVec &, bool must_preserve_order=false)
 Removes all items present in other set. More...
 
virtual void createIntersection (const ValVec &)
 Only keeps common items. More...
 
virtual void createUnion (const ValVec &)
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
virtual void erase ()
 
T & first ()
 
const T & first () const
 
T & get (idx_type)
 
const T & 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 (T, bool forward=true, idx_type start=-1) const
 
virtual void insert (idx_type, const T &)
 
bool isPresent (const T &) const
 
T & last ()
 
const T & last () const
 
size_type max_size () const
 
virtual void move (idx_type from, idx_type to)
 
virtual int64_t nrItems () const
 
bool operator!= (const ValVec &oth) const
 
ValVecoperator+= (const T &t)
 
ValVecoperator-= (const T &t)
 
ValVecoperator= (const ValVec &oth)
 
bool operator== (const ValVec &) const
 
T & operator[] (idx_type i)
 
const T & operator[] (idx_type i) const
 
pop ()
 
bool push (const T &)
 
virtual void removeRange (idx_type from, idx_type to)
 
virtual void removeSingle (idx_type, bool preserver_order=true)
 
void replace (T, T)
 
virtual void reverse ()
 
void setAll (T)
 
virtual bool setCapacity (size_type sz, bool withmargin)
 
virtual bool setSize (size_type sz, T val=T())
 
size_type size () const
 
void swap (IT, IT)
 
void swap (ValVec &oth)
 
virtual void swapItems (int64_t i1, int64_t i2)
 
virtual void useIndexes (const idx_type *)
 
virtual bool validIdx (int64_t) const
 
std::vector< T > & vec ()
 
const std::vector< T > & vec () const
 
- Public Member Functions inherited from OD::Set
virtual ~Set ()
 
bool isEmpty () const
 
void setEmpty ()
 

Protected Member Functions

template<class T >
void getFld (int idx, T val) const
 
- Protected Member Functions inherited from OD::ValVec< T, IT >
 ValVec ()
 
 ValVec (const T *, size_type nr)
 
 ValVec (const ValVec &)
 
 ValVec (size_type nr, T typ)
 
T * gtArr () const
 

Protected Attributes

bool is2d_
 
const TrcHdrDeftrchdrdef_
 
- Protected Attributes inherited from OD::ValVec< T, IT >
impl_type vec_
 

Additional Inherited Members

- Public Types inherited from TypeSet< int >
typedef OD::ValVec< int, int >::idx_type idx_type
 
typedef OD::ValVec< int, int >::size_type size_type
 
- Public Types inherited from OD::ValVec< T, IT >
typedef impl_type::const_iterator const_iterator
 
typedef const value_typeconst_reference
 
typedef size_type difference_type
 
typedef size_type idx_type
 
typedef impl_type::iterator iterator
 
typedef T object_type
 
typedef value_typereference
 
typedef IT size_type
 
typedef T value_type
 
- Static Public Member Functions inherited from OD::Set
static int maxIdx32 ()
 
static int64_t maxIdx64 ()
 
- Protected Types inherited from OD::ValVec< T, IT >
typedef VectorAccess< T, IT > impl_type
 

Detailed Description

describes one trace header

<>

Constructor & Destructor Documentation

◆ TrcHeader()

ODMad::TrcHeader::TrcHeader ( bool  is2d,
const TrcHdrDef def 
)

Member Function Documentation

◆ fillTrcInfo()

bool ODMad::TrcHeader::fillTrcInfo ( SeisTrcInfo ) const

◆ getFld()

template<class T >
void ODMad::TrcHeader::getFld ( int  idx,
val 
) const
inlineprotected

◆ read()

bool ODMad::TrcHeader::read ( od_istream )

◆ useTrcInfo()

bool ODMad::TrcHeader::useTrcInfo ( const SeisTrcInfo )

◆ write()

void ODMad::TrcHeader::write ( od_ostream ) const

Member Data Documentation

◆ is2d_

bool ODMad::TrcHeader::is2d_
protected

◆ trchdrdef_

const TrcHdrDef& ODMad::TrcHeader::trchdrdef_
protected

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