OpendTect  6.6
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends | List of all members
ColTab::SeqMgr Class Reference

Manages Sequences; reads/writes system or user-defined. More...

Inheritance diagram for ColTab::SeqMgr:
[legend]

Public Member Functions

 ~SeqMgr ()
 
bool get (const char *, Sequence &)
 
const Sequenceget (int idx) const
 
const SequencegetAny (const char *key) const
 returns with key, or a nice one anyway More...
 
void getSequenceNames (BufferStringSet &)
 
int indexOf (const char *) const
 
void refresh ()
 
void remove (int)
 
void set (const Sequence &)
 if name not yet present, adds More...
 
int size () const
 
bool write (bool sys=false, bool applsetup=true)
 
- 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 detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 

Public Attributes

Notifier< SeqMgrseqAdded
 
Notifier< SeqMgrseqRemoved
 

Protected Member Functions

 SeqMgr ()
 
void add (Sequence *seq)
 
void addFromPar (const IOPar &, bool)
 
void readColTabs ()
 

Protected Attributes

ObjectSet< Sequenceseqs_
 

Friends

SeqMgrSM ()
 

Additional Inherited Members

- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Detailed Description

Manages Sequences; reads/writes system or user-defined.

Has a singleton instance ColTab::SM().

<>

Constructor & Destructor Documentation

◆ ~SeqMgr()

ColTab::SeqMgr::~SeqMgr ( )
inline

◆ SeqMgr()

ColTab::SeqMgr::SeqMgr ( )
protected

Member Function Documentation

◆ add()

void ColTab::SeqMgr::add ( Sequence seq)
inlineprotected

◆ addFromPar()

void ColTab::SeqMgr::addFromPar ( const IOPar ,
bool   
)
protected

◆ get() [1/2]

bool ColTab::SeqMgr::get ( const char *  ,
Sequence  
)

◆ get() [2/2]

const Sequence* ColTab::SeqMgr::get ( int  idx) const
inline

◆ getAny()

const Sequence* ColTab::SeqMgr::getAny ( const char *  key) const

returns with key, or a nice one anyway

◆ getSequenceNames()

void ColTab::SeqMgr::getSequenceNames ( BufferStringSet )

◆ indexOf()

int ColTab::SeqMgr::indexOf ( const char *  ) const

◆ readColTabs()

void ColTab::SeqMgr::readColTabs ( )
protected

◆ refresh()

void ColTab::SeqMgr::refresh ( )

◆ remove()

void ColTab::SeqMgr::remove ( int  )

◆ set()

void ColTab::SeqMgr::set ( const Sequence )

if name not yet present, adds

◆ size()

int ColTab::SeqMgr::size ( ) const
inline

◆ write()

bool ColTab::SeqMgr::write ( bool  sys = false,
bool  applsetup = true 
)

Friends And Related Function Documentation

◆ SM

SeqMgr& SM ( )
friend

Member Data Documentation

◆ seqAdded

Notifier<SeqMgr> ColTab::SeqMgr::seqAdded

◆ seqRemoved

Notifier<SeqMgr> ColTab::SeqMgr::seqRemoved

◆ seqs_

ObjectSet<Sequence> ColTab::SeqMgr::seqs_
protected

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