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

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