14 #include "earthmodelmod.h" 42 bool hasChild(
const Node* descendant)
const;
48 static const char* sKeyChildIDs();
49 static const char* sKeyLastModified();
53 RelationTree(
bool is2d,
bool read=
true);
58 void removeNode(
const DBKey&,
bool write=
true);
59 void addRelation(
const DBKey& id1,
60 const DBKey& id2,
bool write=
true);
63 int findRelation(
const DBKey&,
68 bool getSorted(
const DBKeySet& unsortedids,
71 static bool sortHorizons(
bool is2d,
86 int findNode(
const DBKey&)
const;
87 bool read(
bool removeoutdated);
89 static const char* sKeyHorizonRelations();
#define mExpClass(module)
Definition: commondefs.h:157
bool is2d_
Definition: horizonrelation.h:84
ObjectSet< RelationTree::Node > nodes_
Definition: horizonrelation.h:83
A Relation tree where a parent-child relationship means a top-bottom relationship for the horizons...
Definition: horizonrelation.h:29
BufferString datestamp_
Definition: horizonrelation.h:39
DBKey id_
Definition: horizonrelation.h:38
SeparString with backquotes as separators, use in most ascii files.
Definition: separstr.h:131
Set of pointers to objects.
Definition: commontypes.h:28
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:187
ObjectSet< const Node > children_
Definition: horizonrelation.h:40
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:38
Definition: horizonrelation.h:33
Earth Model objects like horizons, faults, fault-sticks and bodies.
Definition: embody.h:23
bool read()
Definition: horizonrelation.h:78
Full key to any object in the OpendTect data store.
Definition: dbkey.h:36