OpendTect-6_4  6.4
uipicksetmgr.h
Go to the documentation of this file.
1 #ifndef uipicksetmgr_h
2 #define uipicksetmgr_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: A.H. Bril
9  Date: Jun 2006
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiiomod.h"
16 #include "callback.h"
17 #include "uistring.h"
18 
19 class BufferStringSet;
20 class IOObj;
21 class uiParent;
22 namespace Pick { class Set; class SetMgr; }
23 
24 
29 public:
31  ~uiPickSetMgr();
32 
33  bool storeSets();
34  bool storeSet(const Pick::Set&);
35  bool storeSetAs(const Pick::Set&);
36  void mergeSets(MultiID&, const BufferStringSet* nms=0);
37  bool pickSetsStored() const;
38 
39  virtual bool storeNewSet(Pick::Set*&) const;
40  bool storeNewSet(Pick::Set*&,bool noconf) const;
41  void keyPressedCB(CallBacker*);
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 
53 #endif
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
Definition: ioobj.h:58
base class for management of a Pick::SetMgr
Definition: uipicksetmgr.h:27
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Definition: uiparent.h:26
Set of BufferString objects.
Definition: bufstringset.h:28
Set of picks with something in common.
Definition: pickset.h:31
Pick::SetMgr & setmgr_
Definition: uipicksetmgr.h:46
Definition: picklocation.h:21
Utility to manage pick set lifecycles. Also supports change notifications.
Definition: picksetmgr.h:34
uiParent * parent_
Definition: uipicksetmgr.h:45
Compound key consisting of ints.
Definition: multiid.h:25

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