OpendTect-6_4  6.4
iox.h
Go to the documentation of this file.
1 #ifndef iox_h
2 #define iox_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: 25-7-1997
10  Contents: IOObj on other IOObj
11  RCS: $Id$
12 ________________________________________________________________________
13 
14 -*/
15 
16 #include "generalmod.h"
17 #include "ioobj.h"
18 
19 
20 /*\brief is a X-Group entry in the omf, e.g. PS data based on 3D cubes. */
21 
22 mExpClass(General) IOX : public IOObj
23 {
24 public:
25  IOX(const char* nm=0,const char* ky=0,bool =0);
26  virtual ~IOX();
27  bool isBad() const;
28 
29  void copyFrom(const IOObj*);
30  const char* fullUserExpr(bool forread=true) const;
31  const char* dirName() const;
32 
33  bool implExists(bool) const;
34  bool implManagesObjects() const { return true; }
35 
36  const char* connType() const;
37  Conn* getConn(bool) const;
38  IOObj* getIOObj() const;
39 
40  const MultiID& ownKey() const { return ownkey_; }
41  void setOwnKey(const MultiID&);
42 
43 protected:
44 
46 
47  bool getFrom(ascistream&);
48  bool putTo(ascostream&) const;
49 
50  static int prodid;
51 };
52 
53 
54 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Definition: ioobj.h:58
static int prodid
for factory implementation
Definition: iox.h:50
OpendTect standard ascii format file writing.
Definition: ascstream.h:32
bool isBad() const
Definition: ioman.h:40
const MultiID & ownKey() const
Definition: iox.h:40
OpendTect standard ascii format file reading.
Definition: ascstream.h:83
Data connection.
Definition: conn.h:30
MultiID ownkey_
Definition: iox.h:45
Definition: iox.h:22
bool implManagesObjects() const
Definition: iox.h:34
Compound key consisting of ints.
Definition: multiid.h:25

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