OpendTect  6.6
uipicksetmgr.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: A.H. Bril
8  Date: Jun 2006
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uiiomod.h"
15 #include "callback.h"
16 #include "uistring.h"
17 
18 class BufferStringSet;
19 class IOObj;
20 class uiParent;
21 namespace Pick { class Set; class SetMgr; }
22 
23 
28 public:
31 
32  bool storeSets();
33  bool storeSet(const Pick::Set&);
34  bool storeSetAs(const Pick::Set&);
35  void mergeSets(MultiID&, const BufferStringSet* nms=0);
36  bool pickSetsStored() const;
37 
38  virtual bool storeNewSet(Pick::Set*&) const;
39  bool storeNewSet(Pick::Set*&,bool noconf) const;
42 
43 protected:
44 
47 
48  virtual IOObj* getSetIOObj(const Pick::Set&) const;
49  virtual bool doStore(const Pick::Set&,const IOObj&) const;
50 };
51 
52 
uiPickSetMgr::pickSetsStored
bool pickSetsStored() const
uiPickSetMgr::uiPickSetMgr
uiPickSetMgr(uiParent *, Pick::SetMgr &)
Pick::Set
Set of picks with something in common.
Definition: pickset.h:34
uistring.h
uiPickSetMgr::parent_
uiParent * parent_
Definition: uipicksetmgr.h:45
BufferStringSet
Set of BufferString objects.
Definition: bufstringset.h:26
uiPickSetMgr::getSetIOObj
virtual IOObj * getSetIOObj(const Pick::Set &) const
Pick
Definition: picklocation.h:21
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
callback.h
CallBacker
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
uiPickSetMgr::doStore
virtual bool doStore(const Pick::Set &, const IOObj &) const
uiPickSetMgr::storeNewSet
virtual bool storeNewSet(Pick::Set *&) const
uiPickSetMgr::mergeSets
void mergeSets(MultiID &, const BufferStringSet *nms=0)
Pick::SetMgr
Utility to manage pick set lifecycles. Also supports change notifications.
Definition: picksetmgr.h:34
uiPickSetMgr::setmgr_
Pick::SetMgr & setmgr_
Definition: uipicksetmgr.h:46
IOObj
Definition: ioobj.h:58
uiPickSetMgr::storeSetAs
bool storeSetAs(const Pick::Set &)
uiPickSetMgr::storeNewSet
bool storeNewSet(Pick::Set *&, bool noconf) const
MultiID
Compound key consisting of ints.
Definition: multiid.h:24
uiPickSetMgr::surveyChangeCB
void surveyChangeCB(CallBacker *)
uiPickSetMgr::keyPressedCB
void keyPressedCB(CallBacker *)
uiParent
Definition: uiparent.h:26
uiPickSetMgr::storeSets
bool storeSets()
Stores all changed sets.
uiPickSetMgr::~uiPickSetMgr
~uiPickSetMgr()
uiPickSetMgr::storeSet
bool storeSet(const Pick::Set &)
uiPickSetMgr::mODTextTranslationClass
mODTextTranslationClass(uiPickSetMgr)
uiPickSetMgr
base class for management of a Pick::SetMgr
Definition: uipicksetmgr.h:27

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