OpendTect  6.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SEGY::HdrDef Class Reference
Inheritance diagram for SEGY::HdrDef:
[legend]

Public Member Functions

 HdrDef (bool binhead)
 
 ~HdrDef ()
 
int idxOfBytePos (HdrEntry::BytePos, unsigned char &offs) const
 
int indexOf (const char *nm) const
 
int indexOf (const HdrEntry *he) const
 
bool isBin () const
 
void swapValues (unsigned char *) const
 
- Public Member Functions inherited from ObjectSet< const HdrEntry >
 ObjectSet ()
 
 ObjectSet (const HdrEntry *)
 
 ObjectSet (const HdrEntry *, const HdrEntry *)
 
 ObjectSet (const HdrEntry *, const HdrEntry *, const HdrEntry *)
 
 ObjectSet (const ObjectSet &)
 
virtual ~ObjectSet ()
 
ObjectSetadd (const HdrEntry *t)
 
bool addIfNew (const HdrEntry *)
 
void allowNull (bool yn=true)
 
virtual void append (const ObjectSet &)
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
virtual ObjectSetclone () const
 
virtual void copy (const ObjectSet &)
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
virtual void erase ()
 
const HdrEntry * first ()
 
const const HdrEntry * first () const
 
virtual const HdrEntry * get (const const HdrEntry *) const
 check & unconst More...
 
virtual const HdrEntry * get (idx_type)
 
virtual const const HdrEntry * get (idx_type) const
 
idx_type getIdx (const_iterator it) const
 
idx_type getIdx (iterator it) const
 
virtual idx_type indexOf (const const HdrEntry *) const
 
virtual void insertAfter (const HdrEntry *newptr, idx_type)
 
virtual void insertAt (const HdrEntry *newptr, idx_type)
 
virtual bool isManaged () const
 
virtual bool isPresent (const const HdrEntry *) const
 
const HdrEntry * last ()
 
const const HdrEntry * last () const
 
size_type max_size () const
 
virtual int64_t nrItems () const
 
bool nullAllowed () const
 
bool operator!= (const ObjectSet &oth) const
 
ObjectSetoperator+= (const HdrEntry *t)
 
virtual ObjectSetoperator-= (const HdrEntry *)
 
ObjectSetoperator= (const ObjectSet &)
 
bool operator== (const ObjectSet &) const
 
const const HdrEntry * operator[] (const const HdrEntry *t) const
 
const HdrEntry * operator[] (idx_type i)
 
const const HdrEntry * operator[] (idx_type i) const
 
void plainErase ()
 
virtual const HdrEntry * pop ()
 
void push (const HdrEntry *t)
 
virtual void removeRange (idx_type from, idx_type to)
 
virtual const HdrEntry * removeSingle (idx_type, bool keep_order=true)
 
virtual const HdrEntry * replace (idx_type, const HdrEntry *)
 
virtual void reverse ()
 
void setNullAllowed (bool yn=true)
 
size_type size () const
 
void swap (idx_type, idx_type)
 
void swap (ObjectSet &oth)
 
virtual void swapItems (int64_t i1, int64_t i2)
 
void useIndexes (const idx_type *)
 
virtual bool validIdx (int64_t) const
 
- Public Member Functions inherited from OD::Set
virtual ~Set ()
 
bool isEmpty () const
 
void setEmpty ()
 

Protected Member Functions

void mkBin ()
 
void mkTrc ()
 
- Protected Member Functions inherited from ObjectSet< const HdrEntry >
virtual ObjectSetdoAdd (const HdrEntry *)
 

Protected Attributes

bool isbin_
 
- Protected Attributes inherited from ObjectSet< const HdrEntry >
bool allow0_
 
impl_type vec_
 

Additional Inherited Members

- Public Types inherited from ObjectSet< const HdrEntry >
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 const HdrEntry object_type
 
typedef value_typereference
 
typedef int size_type
 
typedef const HdrEntry * value_type
 
- Static Public Member Functions inherited from OD::Set
static int maxIdx32 ()
 
static int64_t maxIdx64 ()
 
- Protected Types inherited from ObjectSet< const HdrEntry >
typedef VectorAccess< const HdrEntry *, size_typeimpl_type
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ ~HdrDef()

SEGY::HdrDef::~HdrDef ( )
inline

◆ HdrDef()

SEGY::HdrDef::HdrDef ( bool  binhead)

Member Function Documentation

◆ idxOfBytePos()

int SEGY::HdrDef::idxOfBytePos ( HdrEntry::BytePos  ,
unsigned char &  offs 
) const

◆ indexOf() [1/2]

int SEGY::HdrDef::indexOf ( const char *  nm) const

◆ indexOf() [2/2]

int SEGY::HdrDef::indexOf ( const HdrEntry he) const
inline

◆ isBin()

bool SEGY::HdrDef::isBin ( ) const
inline

◆ mkBin()

void SEGY::HdrDef::mkBin ( )
protected

◆ mkTrc()

void SEGY::HdrDef::mkTrc ( )
protected

◆ swapValues()

void SEGY::HdrDef::swapValues ( unsigned char *  ) const

Member Data Documentation

◆ isbin_

bool SEGY::HdrDef::isbin_
protected

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