OpendTect  6.6
attribdescsetsholder.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: Helene HUCK
8  Date: 11-03-2010
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "attributeenginemod.h"
15 #include "gendefs.h"
16 
17 namespace Attrib
18 {
19 
20 class DescSet;
21 class DescSetMan;
22 class DescSetsHolder;
23 
24 mGlobal(AttributeEngine) const DescSetsHolder& DSHolder();
25 mGlobal(AttributeEngine) DescSetsHolder& eDSHolder();
26 
32 mExpClass(AttributeEngine) DescSetsHolder
33 {
34 public:
37 
38  const Attrib::DescSetMan* getDescSetMan(bool is2d) const;
40  const Attrib::DescSet* getDescSet(bool is2d,bool isstored) const;
41  Attrib::DescSet* getDescSet(bool is2d,bool isstored);
43  //this renews the manager
44 
45  //be sure you know what you're doing!
46  void replaceADSMan(DescSetMan*,bool dodelete=false);
47 
48 protected:
53 
54  void clearHolder();
55 
57 
58 private:
59  friend mExp(AttributeEngine)
61  //editable DescSetsHolder
62  friend mExp(AttributeEngine)
63  const DescSetsHolder& DSHolder();
64 
65 public:
66 
68  //needed for backward compatibility v < 4.1.1
69 };
70 
71 } // namespace Attrib
72 
Attrib::DescSetsHolder::replaceAttribSet
void replaceAttribSet(DescSet *)
Attrib::DescSetsHolder::getDescSetMan
const Attrib::DescSetMan * getDescSetMan(bool is2d) const
Attrib::DescSetsHolder::mExp
friend mExp(AttributeEngine) DescSetsHolder &eDSHolder()
mGlobal
#define mGlobal(module)
Definition: commondefs.h:180
Attrib::DescSetsHolder::getDescSet
const Attrib::DescSet * getDescSet(bool is2d, bool isstored) const
Attrib::DescSetsHolder::mExp
friend mExp(AttributeEngine) const DescSetsHolder &DSHolder()
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
Attrib::DescSetsHolder::getDescSet
Attrib::DescSet * getDescSet(bool is2d, bool isstored)
Attrib::eDSHolder
DescSetsHolder & eDSHolder()
Attrib::DescSetsHolder::adsstored2d_
Attrib::DescSet * adsstored2d_
Definition: attribdescsetsholder.h:51
Attrib::DescSetsHolder::replaceStoredAttribSet
void replaceStoredAttribSet(DescSet *)
Attrib::DescSetsHolder
Pack to carry DescSet Managers for live attributes and DescSets for stored data, both in 2D and 3D.
Definition: attribdescsetsholder.h:33
Attrib::DescSetsHolder::clearHolder
void clearHolder()
Attrib::DescSetsHolder::~DescSetsHolder
~DescSetsHolder()
gendefs.h
Attrib::DescSetsHolder::DescSetsHolder
DescSetsHolder()
Attrib::DescSetsHolder::replaceADSMan
void replaceADSMan(DescSetMan *, bool dodelete=false)
Attrib::DescSetsHolder::getDescSetMan
Attrib::DescSetMan * getDescSetMan(bool is2d)
Attrib::DescSetsHolder::adsstored3d_
Attrib::DescSet * adsstored3d_
Definition: attribdescsetsholder.h:52
Attrib::DescSetMan
Manages attribute description set.
Definition: attribdescsetman.h:28
Attrib::DescSetsHolder::adsman3d_
Attrib::DescSetMan * adsman3d_
Definition: attribdescsetsholder.h:50
Attrib::DSHolder
const DescSetsHolder & DSHolder()
Attrib::DescSetsHolder::adsman2d_
Attrib::DescSetMan * adsman2d_
Definition: attribdescsetsholder.h:49
Attrib::DescSet
Set of attribute descriptions.
Definition: attribdescset.h:35
Attrib
Semblance Attribute.
Definition: attribdataholder.h:25
Attrib::DescSetsHolder::dsholder_
static DescSetsHolder * dsholder_
Definition: attribdescsetsholder.h:56

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