OpendTect  6.3
stratunitrepos.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: Bert Bril
8  Date: Dec 2003
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "stratmod.h"
14 #include "repos.h"
15 #include "uistring.h"
16 
17 namespace Strat
18 {
19 class RefTree;
20 
28 { mODTextTranslationClass(RepositoryAccess);
29 public:
30 
31  bool haveTree() const;
32  Repos::Source lastSource() const { return src_; }
33  uiString lastMsg() const { return msg_; }
34 
35  RefTree* readTree(Repos::Source);
36  bool writeTree(const RefTree&,
38 
39  static const char* fileNameBase();
40 
41  RefTree* readTree();
42 
43 protected:
44 
45  mutable uiString msg_;
47 
48 };
49 
50 } // namespace Strat
#define mExpClass(module)
Definition: commondefs.h:157
Repos::Source src_
Definition: stratunitrepos.h:46
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
Definition: uistring.h:88
uiString lastMsg() const
Definition: stratunitrepos.h:33
Repos::Source lastSource() const
Definition: stratunitrepos.h:32
uiString msg_
Definition: stratunitrepos.h:45
Source
Definition: repos.h:23
Stratigraphy.
Definition: stratlevel.h:25
Tree of UnitRef's.
Definition: stratreftree.h:27
Repository of all stratigraphic descriptions defining the building blocks of subsurface descriptions...
Definition: stratunitrepos.h:27
Definition: repos.h:23

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