OpendTect-6_4  6.4
stratunitrepos.h
Go to the documentation of this file.
1 #ifndef stratunitrepos_h
2 #define stratunitrepos_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bert Bril
9  Date: Dec 2003
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "stratmod.h"
16 #include "repos.h"
17 #include "uistring.h"
18 
19 class MultiID;
20 
21 namespace Strat
22 {
23 class RefTree;
24 
32 { mODTextTranslationClass(RepositoryAccess);
33 public:
34 
35  bool haveTree() const;
36  uiString lastMsg() const { return msg_; }
37 
38  RefTree* read(const MultiID&);
39  bool write(const RefTree&,const MultiID&);
40 
41  static const char* fileNameBase();
42 
43  RefTree* readTree();
44 
45 protected:
46 
47  RefTree* readFromFile(const char*);
48  bool writeToFile(const RefTree&,const char*);
49 
50  mutable uiString msg_;
52 
53 public:
54  Repos::Source lastSource() const { return src_; }
55  RefTree* readTree(Repos::Source);
56  bool writeTree(const RefTree&,
58 };
59 
60 } // namespace Strat
61 
62 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Repos::Source src_
Definition: stratunitrepos.h:51
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Definition: uistring.h:89
uiString lastMsg() const
Definition: stratunitrepos.h:36
Repos::Source lastSource() const
Definition: stratunitrepos.h:54
uiString msg_
Definition: stratunitrepos.h:50
Source
Definition: repos.h:25
Stratigraphy.
Definition: stratlevel.h:26
Tree of UnitRef's.
Definition: stratreftree.h:29
Repository of all stratigraphic descriptions defining the building blocks of subsurface descriptions...
Definition: stratunitrepos.h:31
Definition: repos.h:25
Compound key consisting of ints.
Definition: multiid.h:25

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