OpendTect  6.3
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
Well::MarkerSet Class Reference

Set of Markers. More...

Inheritance diagram for Well::MarkerSet:
[legend]

Public Types

typedef Marker::LevelID LevelID
 
typedef TypeSet< Marker >::size_type size_type
 
typedef size_type IdxType
 
- Public Types inherited from Monitorable
typedef int ChangeType
 
typedef int64_t IDType
 
typedef int64_t DirtyCountType
 
typedef CNotifier< Monitorable, ChangeDataChangeDataNotifier
 

Public Member Functions

 mDefIntegerIDType (IdxType, MarkerID)
 
 MarkerSet ()
 
 ~MarkerSet ()
 
 mDeclInstanceCreatedNotifierAccess (MarkerSet)
 
 mDeclMonitorableAssignment (MarkerSet)
 
MarkerID add (const Marker &)
 
Marker get (MarkerID) const
 
MarkerID set (const Marker &)
 
BufferString getNameByID (MarkerID) const
 
void setNameByID (MarkerID, const char *)
 
Color getColor (MarkerID) const
 
void setColor (MarkerID, const Color &)
 
float getDah (MarkerID) const
 
void setDah (MarkerID, float)
 
void removeSingle (MarkerID)
 
Marker getByIdx (IdxType) const
 
void removeSingleByIdx (IdxType)
 
float getDahByIdx (IdxType) const
 
void setDahByIdx (IdxType, float)
 
float getDahFromMarkerName (const char *) const
 
Marker first () const
 
Marker last () const
 
IdxType indexOf (const char *nm) const
 
Marker getByName (const char *nm) const
 
Marker getByLvlID (LevelID id) const
 
MarkerID markerIDFor (IdxType) const
 
MarkerID markerIDFromName (const char *) const
 
IdxType getIdxFor (MarkerID) const
 
bool validIdx (IdxType) const
 
bool isPresent (const char *n) const
 
bool isEmpty () const
 
void setEmpty ()
 
size_type size () const
 
void getNames (BufferStringSet &) const
 
void getColors (TypeSet< Color > &) const
 
void fillWithAll (TaskRunner *tskr=0)
 
bool insertNew (const Well::Marker &)
 
void addSameWell (const MarkerSet &)
 
void mergeOtherWell (const MarkerSet &)
 
void append (const MarkerSet &ms)
 
IdxType getIdxAbove (float z, const Well::Track *trck=0) const
 is trck provided, compares TVDs More...
 
void fillPar (IOPar &) const
 
void usePar (const IOPar &)
 
- Public Member Functions inherited from SharedObject
 SharedObject (const char *nm=0)
 
 SharedObject (const SharedObject &)
 
SharedObjectoperator= (const SharedObject &)
 
bool operator== (const SharedObject &) const
 
bool operator!= (const SharedObject &oth) const
 
virtual SharedObjectclone () const
 
ChangeType compareWith (const Monitorable &) const
 
- Public Member Functions inherited from NamedMonitorable
 NamedMonitorable (const char *nm=0)
 
 NamedMonitorable (const NamedObject &)
 
virtual ~NamedMonitorable ()
 
 NamedMonitorable (const NamedMonitorable &)
 
NamedMonitorableoperator= (const NamedMonitorable &)
 
bool operator== (const NamedMonitorable &) const
 
bool operator!= (const NamedMonitorable &oth) const
 
virtual NamedMonitorablegetClone () const
 
virtual BufferString getName () const
 
virtual void setName (const char *)
 
- Public Member Functions inherited from Monitorable
 Monitorable (const Monitorable &)
 
virtual ~Monitorable ()
 
Monitorableoperator= (const Monitorable &)
 
bool operator== (const Monitorable &) const
 
virtual ChangeDataNotifierobjectChanged () const
 
virtual Notifier< Monitorable > & objectToBeDeleted () const
 
virtual void touch () const
 
virtual DirtyCountType dirtyCount () const
 
void sendChangeNotification (const ChangeData &) const
 
void sendEntireObjectChangeNotification () const
 
void transferNotifsTo (const Monitorable &, const CallBacker *onlyfor=0) const
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
virtual bool isCapsule () const
 
void stopReceivingNotifications () const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
bool getNameFromPar (const IOPar &)
 
void putNameInPar (IOPar &) const
 

Static Public Member Functions

static ChangeType cMarkerAdded ()
 
static ChangeType cMarkerRemoved ()
 
static ChangeType cMarkerChanged ()
 
- Static Public Member Functions inherited from SharedObject
static Notifier< SharedObject > & instanceCreated ()
 
- Static Public Member Functions inherited from NamedMonitorable
static Notifier< NamedMonitorable > & instanceCreated ()
 
static ChangeType cNameChange ()
 
- Static Public Member Functions inherited from Monitorable
static Notifier< Monitorable > & instanceCreated ()
 defines static instanceCreated() More...
 
static ChangeType cEntireObjectChange ()
 
static ChangeType cNoChange ()
 
static IDType cUnspecChgID ()
 
static IDType cEntireObjectChgID ()
 
static ChangeType changeNotificationTypeOf (CallBacker *)
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Protected Member Functions

Marker gtByName (const char *) const
 
Marker gtByIndex (IdxType) const
 
Marker gtByLvlID (LevelID) const
 
IdxType idxOf (const char *) const
 
IdxType gtIdxFor (MarkerID) const
 
IdxType gtIdxForDah (float) const
 
Marker gtByID (MarkerID) const
 
MarkerID mrkrIDFor (IdxType) const
 
void addCopy (const MarkerSet &, IdxType, float)
 
void alignOrderingWith (const MarkerSet &)
 
void moveBlock (IdxType, IdxType, const TypeSet< IdxType > &)
 
bool insrtNew (const Well::Marker &)
 
void insrtNewAfter (IdxType, const MarkerSet &)
 
void insrtAt (IdxType, const Marker &)
 
void insrtAfter (IdxType, const Marker &)
 
void rmoveSingle (IdxType)
 
bool isPrsnt (const char *n) const
 
size_type gtSize () const
 
- Protected Member Functions inherited from SharedObject
void copyAll (const SharedObject &)
 
virtual ~SharedObject ()
 
- Protected Member Functions inherited from NamedMonitorable
void copyAll (const NamedMonitorable &)
 
- Protected Member Functions inherited from Monitorable
 Monitorable ()
 
void copyAll (const Monitorable &)
 
void sendChgNotif (AccessLocker &, const ChangeData &) const
 calls objectChanged with released lock More...
 
void sendChgNotif (AccessLocker &, ChangeType, IDType) const
 calls objectChanged with released lock More...
 
void sendDelNotif () const
 
void stopChangeNotifications () const
 
void resumeChangeNotifications () const
 
template<class T >
getMemberSimple (const T &) const
 the get function used by mImplSimpleMonitoredGet More...
 
template<class TMember , class TSetTo >
void setMemberSimple (TMember &, TSetTo, ChangeType, IDType)
 the set function used by mImplSimpleMonitoredSet More...
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 

Protected Attributes

TypeSet< Markermarkers_
 
TypeSet< MarkerID > markerids_
 
Threads::Atomic< IdxTypecurmrkridnr_
 
- Protected Attributes inherited from Monitorable
Threads::Lock accesslock_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Friends

class MarkerSetIter
 
class MarkerSetIter4Edit
 

Additional Inherited Members

- Protected Types inherited from Monitorable
typedef Threads::Atomic< DirtyCountTypeDirtyCounter
 

Detailed Description

Set of Markers.

Member Typedef Documentation

Constructor & Destructor Documentation

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

Member Function Documentation

MarkerID Well::MarkerSet::add ( const Marker )
void Well::MarkerSet::addCopy ( const MarkerSet ,
IdxType  ,
float   
)
protected
void Well::MarkerSet::addSameWell ( const MarkerSet )
void Well::MarkerSet::alignOrderingWith ( const MarkerSet )
protected
void Well::MarkerSet::append ( const MarkerSet ms)
inline
static ChangeType Well::MarkerSet::cMarkerAdded ( )
inlinestatic
static ChangeType Well::MarkerSet::cMarkerChanged ( )
inlinestatic
static ChangeType Well::MarkerSet::cMarkerRemoved ( )
inlinestatic
void Well::MarkerSet::fillPar ( IOPar ) const
void Well::MarkerSet::fillWithAll ( TaskRunner tskr = 0)
Marker Well::MarkerSet::first ( ) const
Marker Well::MarkerSet::get ( MarkerID  ) const
Marker Well::MarkerSet::getByIdx ( IdxType  ) const
Marker Well::MarkerSet::getByLvlID ( LevelID  id) const
Marker Well::MarkerSet::getByName ( const char *  nm) const
Color Well::MarkerSet::getColor ( MarkerID  ) const
void Well::MarkerSet::getColors ( TypeSet< Color > &  ) const
float Well::MarkerSet::getDah ( MarkerID  ) const
float Well::MarkerSet::getDahByIdx ( IdxType  ) const
float Well::MarkerSet::getDahFromMarkerName ( const char *  ) const
IdxType Well::MarkerSet::getIdxAbove ( float  z,
const Well::Track trck = 0 
) const

is trck provided, compares TVDs

IdxType Well::MarkerSet::getIdxFor ( MarkerID  ) const
BufferString Well::MarkerSet::getNameByID ( MarkerID  ) const
void Well::MarkerSet::getNames ( BufferStringSet ) const
Marker Well::MarkerSet::gtByID ( MarkerID  ) const
protected
Marker Well::MarkerSet::gtByIndex ( IdxType  ) const
protected
Marker Well::MarkerSet::gtByLvlID ( LevelID  ) const
protected
Marker Well::MarkerSet::gtByName ( const char *  ) const
protected
IdxType Well::MarkerSet::gtIdxFor ( MarkerID  ) const
protected
IdxType Well::MarkerSet::gtIdxForDah ( float  ) const
protected
size_type Well::MarkerSet::gtSize ( ) const
protected
IdxType Well::MarkerSet::idxOf ( const char *  ) const
protected
IdxType Well::MarkerSet::indexOf ( const char *  nm) const
bool Well::MarkerSet::insertNew ( const Well::Marker )
void Well::MarkerSet::insrtAfter ( IdxType  ,
const Marker  
)
protected
void Well::MarkerSet::insrtAt ( IdxType  ,
const Marker  
)
protected
bool Well::MarkerSet::insrtNew ( const Well::Marker )
protected
void Well::MarkerSet::insrtNewAfter ( IdxType  ,
const MarkerSet  
)
protected
bool Well::MarkerSet::isEmpty ( ) const
bool Well::MarkerSet::isPresent ( const char *  n) const
bool Well::MarkerSet::isPrsnt ( const char *  n) const
protected
Marker Well::MarkerSet::last ( ) const
MarkerID Well::MarkerSet::markerIDFor ( IdxType  ) const
MarkerID Well::MarkerSet::markerIDFromName ( const char *  ) const
Well::MarkerSet::mDeclInstanceCreatedNotifierAccess ( MarkerSet  )
Well::MarkerSet::mDeclMonitorableAssignment ( MarkerSet  )
Well::MarkerSet::mDefIntegerIDType ( IdxType  ,
MarkerID   
)
void Well::MarkerSet::mergeOtherWell ( const MarkerSet )
void Well::MarkerSet::moveBlock ( IdxType  ,
IdxType  ,
const TypeSet< IdxType > &   
)
protected
MarkerID Well::MarkerSet::mrkrIDFor ( IdxType  ) const
protected
void Well::MarkerSet::removeSingle ( MarkerID  )
void Well::MarkerSet::removeSingleByIdx ( IdxType  )
void Well::MarkerSet::rmoveSingle ( IdxType  )
protected
MarkerID Well::MarkerSet::set ( const Marker )
void Well::MarkerSet::setColor ( MarkerID  ,
const Color  
)
void Well::MarkerSet::setDah ( MarkerID  ,
float   
)
void Well::MarkerSet::setDahByIdx ( IdxType  ,
float   
)
void Well::MarkerSet::setEmpty ( )
void Well::MarkerSet::setNameByID ( MarkerID  ,
const char *   
)
size_type Well::MarkerSet::size ( ) const
void Well::MarkerSet::usePar ( const IOPar )
bool Well::MarkerSet::validIdx ( IdxType  ) const

Friends And Related Function Documentation

friend class MarkerSetIter
friend
friend class MarkerSetIter4Edit
friend

Member Data Documentation

Threads::Atomic<IdxType> Well::MarkerSet::curmrkridnr_
mutableprotected
TypeSet<MarkerID> Well::MarkerSet::markerids_
protected
TypeSet<Marker> Well::MarkerSet::markers_
protected

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