OpendTect-6_4  6.4
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

void refresh ()
 
int size () const
 
int indexOf (const char *) const
 
const Sequenceget (int idx) const
 
bool get (const char *, Sequence &)
 
void getSequenceNames (BufferStringSet &)
 
const SequencegetAny (const char *key) const
 returns with key, or a nice one anyway More...
 
void set (const Sequence &)
 if name not yet present, adds More...
 
void remove (int)
 
bool write (bool sys=false, bool applsetup=true)
 
 ~SeqMgr ()
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Public Attributes

Notifier< SeqMgrseqAdded
 
Notifier< SeqMgrseqRemoved
 

Protected Member Functions

 SeqMgr ()
 
void addFromPar (const IOPar &, bool)
 
void add (Sequence *seq)
 
void readColTabs ()
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

ObjectSet< Sequenceseqs_
 

Friends

SeqMgrSM ()
 

Detailed Description

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

Has a singleton instance ColTab::SM().

Constructor & Destructor Documentation

ColTab::SeqMgr::~SeqMgr ( )
inline
ColTab::SeqMgr::SeqMgr ( )
protected

Member Function Documentation

void ColTab::SeqMgr::add ( Sequence seq)
inlineprotected
void ColTab::SeqMgr::addFromPar ( const IOPar ,
bool   
)
protected
const Sequence* ColTab::SeqMgr::get ( int  idx) const
inline
bool ColTab::SeqMgr::get ( const char *  ,
Sequence  
)
const Sequence* ColTab::SeqMgr::getAny ( const char *  key) const

returns with key, or a nice one anyway

void ColTab::SeqMgr::getSequenceNames ( BufferStringSet )
int ColTab::SeqMgr::indexOf ( const char *  ) const
void ColTab::SeqMgr::readColTabs ( )
protected
void ColTab::SeqMgr::refresh ( )
void ColTab::SeqMgr::remove ( int  )
void ColTab::SeqMgr::set ( const Sequence )

if name not yet present, adds

int ColTab::SeqMgr::size ( ) const
inline
bool ColTab::SeqMgr::write ( bool  sys = false,
bool  applsetup = true 
)

Friends And Related Function Documentation

SeqMgr& SM ( )
friend

Member Data Documentation

Notifier<SeqMgr> ColTab::SeqMgr::seqAdded
Notifier<SeqMgr> ColTab::SeqMgr::seqRemoved
ObjectSet<Sequence> ColTab::SeqMgr::seqs_
protected

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