Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends

ColTab::SeqMgr Class Reference

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

Inheritance diagram for ColTab::SeqMgr:
CallBacker

List of all members.

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
void set (const Sequence &)
 if name not yet present, adds
void remove (int)
bool write (bool sys=false, bool applsetup=true)

Public Attributes

Notifier< SeqMgrseqAdded
Notifier< SeqMgrseqRemoved

Protected Member Functions

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

Protected Attributes

ObjectSet< Sequenceseqs_

Friends

mGlobal SeqMgrSM ()

Detailed Description

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

Has a singleton instance ColTab::SM().


Constructor & Destructor Documentation

ColTab::SeqMgr::SeqMgr (  )  [protected]
ColTab::SeqMgr::~SeqMgr (  )  [inline, protected]

Member Function Documentation

void ColTab::SeqMgr::add ( Sequence seq  )  [inline, protected]
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

mGlobal SeqMgr& SM (  )  [friend]

Member Data Documentation