OpendTect  7.0
Public Member Functions | Protected Member Functions | List of all members
Well::MarkerSet Class Reference

Set of Markers. More...

Inheritance diagram for Well::MarkerSet:
[legend]

Public Member Functions

 MarkerSet ()
 
virtual ~MarkerSet ()
 
bool addSameWell (const Marker &)
 
void addSameWell (const ObjectSet< Marker > &)
 
virtual void append (const ObjectSet< Marker > &ms) override
 
void fillPar (IOPar &) const
 
void fillWithAll (TaskRunner *tr=0)
 
MarkergetByLvlID (Strat::LevelID id)
 
const MarkergetByLvlID (Strat::LevelID id) const
 
MarkergetByName (const char *nm)
 
const MarkergetByName (const char *nm) const
 
void getColors (TypeSet< OD::Color > &) const
 
int getIdxAbove (float z, const Well::Track *trck=0) const
 
int getIdxBelow (float z, const Well::Track *trck=0) const
 is trck provided, compares TVDs More...
 
void getNames (BufferStringSet &) const
 
void getNamesColorsMDs (BufferStringSet &, TypeSet< OD::Color > &, TypeSet< float > &mds) const
 
int indexOf (const char *) const
 
int indexOf (const Marker *m) const override
 
bool insertNew (Well::Marker *)
 
bool isPresent (const char *n) const
 
bool isPresent (const Marker *m) const override
 
void mergeOtherWell (const ObjectSet< Marker > &)
 
void sortByDAH ()
 
void usePar (const IOPar &)
 
- Public Member Functions inherited from ManagedObjectSet< Marker >
 ManagedObjectSet ()
 
 ManagedObjectSet (const ManagedObjectSet< Marker > &)
 
 ManagedObjectSet (const ObjectSet< Marker > &)
 
void append (const ObjectSet< Marker > &) override
 
ManagedObjectSetclone () const override
 
ManagedObjectSet< Marker > & operator= (const ObjectSet< Marker > &)
 
- Public Member Functions inherited from ManagedObjectSetBase< T >
void erase () override
 
bool isManaged () const override
 
ManagedObjectSetBase< T > & operator-= (T *) override
 
T * pop () override
 
virtual T * removeAndTake (idx_type, bool kporder=true)
 
void removeRange (idx_type, idx_type) override
 
T * removeSingle (idx_type, bool kporder=true) override
 
T * replace (idx_type, T *) override
 
- Public Member Functions inherited from ObjectSet< T >
 ObjectSet ()
 
 ObjectSet (const ObjectSet &)
 
 ObjectSet (T *)
 
 ObjectSet (T *, T *)
 
 ObjectSet (T *, T *, T *)
 
virtual ~ObjectSet ()
 
ObjectSetadd (T *t)
 
bool addIfNew (T *)
 
void allowNull (bool yn=true)
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
virtual void copy (const ObjectSet &)
 
bool empty () const
 
iterator end ()
 
const_iterator end () const
 
void erase () override
 
T * first ()
 
const T * first () const
 
virtual T * get (const T *) const
 check & unconst More...
 
virtual T * get (idx_type)
 
virtual const T * get (idx_type) const
 
idx_type getIdx (const_iterator it) const
 
idx_type getIdx (iterator it) const
 
virtual idx_type indexOf (const T *) const
 
virtual void insertAfter (T *newptr, idx_type)
 
virtual void insertAt (T *newptr, idx_type)
 
virtual bool isPresent (const T *) const
 
T * last ()
 
const T * last () const
 
size_type max_size () const
 
std::int64_t nrItems () const override
 
bool nullAllowed () const
 
bool operator!= (const ObjectSet &oth) const
 
ObjectSetoperator+= (T *t)
 
ObjectSetoperator= (const ObjectSet &)
 
bool operator== (const ObjectSet &) const
 
const T * operator[] (const T *t) const
 
T * operator[] (idx_type i)
 
const T * operator[] (idx_type i) const
 
void plainErase ()
 
void push (T *t)
 
void reverse () override
 
void setNullAllowed (bool yn=true)
 
size_type size () const
 
void swap (idx_type, idx_type)
 
void swap (ObjectSet &oth)
 
void swapItems (std::int64_t i1, std::int64_t i2) override
 
void useIndexes (const idx_type *)
 
bool validIdx (std::int64_t) const override
 
- Public Member Functions inherited from OD::Set
virtual ~Set ()
 
bool isEmpty () const
 
void setEmpty ()
 

Protected Member Functions

void addCopy (const ObjectSet< Marker > &, int, float)
 
void alignOrderingWith (const ObjectSet< Marker > &)
 
virtual ObjectSet< Marker > & doAdd (Marker *) override
 
MarkergtByLvlID (Strat::LevelID) const
 
MarkergtByName (const char *) const
 
void insertNewAfter (int, ObjectSet< Marker > &)
 
void moveBlock (int, int, const TypeSet< int > &)
 
- Protected Member Functions inherited from ManagedObjectSetBase< T >
 ManagedObjectSetBase (PtrFunc delfunc)
 
 ~ManagedObjectSetBase ()
 
- Protected Member Functions inherited from ObjectSet< T >
virtual ObjectSetdoAdd (T *)
 

Additional Inherited Members

- Public Types inherited from ManagedObjectSet< Marker >
typedef ObjectSet< Marker >::idx_type idx_type
 
typedef ObjectSet< Marker >::size_type size_type
 
- Public Types inherited from ManagedObjectSetBase< T >
typedef ObjectSet< T >::idx_type idx_type
 
typedef ObjectSet< T >::size_type size_type
 
- Public Types inherited from ObjectSet< T >
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 int size_type
 
typedef T * value_type
 
- Static Public Member Functions inherited from OD::Set
static std::int32_t maxIdx32 ()
 
static std::int64_t maxIdx64 ()
 
- Protected Types inherited from ManagedObjectSetBase< T >
typedef void(* PtrFunc) (T *ptr)
 
- Protected Types inherited from ObjectSet< T >
typedef VectorAccess< T *, size_typeimpl_type
 
- Protected Attributes inherited from ObjectSet< T >
bool allow0_ = false
 
impl_type vec_
 

Detailed Description

Set of Markers.

<>

Constructor & Destructor Documentation

◆ MarkerSet()

Well::MarkerSet::MarkerSet ( )

◆ ~MarkerSet()

virtual Well::MarkerSet::~MarkerSet ( )
virtual

Member Function Documentation

◆ addCopy()

void Well::MarkerSet::addCopy ( const ObjectSet< Marker > &  ,
int  ,
float   
)
protected

◆ addSameWell() [1/2]

bool Well::MarkerSet::addSameWell ( const Marker )

◆ addSameWell() [2/2]

void Well::MarkerSet::addSameWell ( const ObjectSet< Marker > &  )

◆ alignOrderingWith()

void Well::MarkerSet::alignOrderingWith ( const ObjectSet< Marker > &  )
protected

◆ append()

virtual void Well::MarkerSet::append ( const ObjectSet< Marker > &  ms)
inlineoverridevirtual

◆ doAdd()

virtual ObjectSet<Marker>& Well::MarkerSet::doAdd ( Marker )
overrideprotectedvirtual

◆ fillPar()

void Well::MarkerSet::fillPar ( IOPar ) const

◆ fillWithAll()

void Well::MarkerSet::fillWithAll ( TaskRunner tr = 0)

◆ getByLvlID() [1/2]

Marker* Well::MarkerSet::getByLvlID ( Strat::LevelID  id)
inline

◆ getByLvlID() [2/2]

const Marker* Well::MarkerSet::getByLvlID ( Strat::LevelID  id) const
inline

◆ getByName() [1/2]

Marker* Well::MarkerSet::getByName ( const char *  nm)
inline

◆ getByName() [2/2]

const Marker* Well::MarkerSet::getByName ( const char *  nm) const
inline

◆ getColors()

void Well::MarkerSet::getColors ( TypeSet< OD::Color > &  ) const

◆ getIdxAbove()

int Well::MarkerSet::getIdxAbove ( float  z,
const Well::Track trck = 0 
) const

◆ getIdxBelow()

int Well::MarkerSet::getIdxBelow ( float  z,
const Well::Track trck = 0 
) const

is trck provided, compares TVDs

◆ getNames()

void Well::MarkerSet::getNames ( BufferStringSet ) const

◆ getNamesColorsMDs()

void Well::MarkerSet::getNamesColorsMDs ( BufferStringSet ,
TypeSet< OD::Color > &  ,
TypeSet< float > &  mds 
) const

◆ gtByLvlID()

Marker* Well::MarkerSet::gtByLvlID ( Strat::LevelID  ) const
protected

◆ gtByName()

Marker* Well::MarkerSet::gtByName ( const char *  ) const
protected

◆ indexOf() [1/2]

int Well::MarkerSet::indexOf ( const char *  ) const

◆ indexOf() [2/2]

int Well::MarkerSet::indexOf ( const Marker m) const
inlineoverride

◆ insertNew()

bool Well::MarkerSet::insertNew ( Well::Marker )

◆ insertNewAfter()

void Well::MarkerSet::insertNewAfter ( int  ,
ObjectSet< Marker > &   
)
protected

◆ isPresent() [1/2]

bool Well::MarkerSet::isPresent ( const char *  n) const
inline

◆ isPresent() [2/2]

bool Well::MarkerSet::isPresent ( const Marker m) const
inlineoverride

◆ mergeOtherWell()

void Well::MarkerSet::mergeOtherWell ( const ObjectSet< Marker > &  )

◆ moveBlock()

void Well::MarkerSet::moveBlock ( int  ,
int  ,
const TypeSet< int > &   
)
protected

◆ sortByDAH()

void Well::MarkerSet::sortByDAH ( )

◆ usePar()

void Well::MarkerSet::usePar ( const IOPar )

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