OpendTect-6_4  6.4
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Conn Class Referenceabstract

Data connection. More...

Inheritance diagram for Conn:
[legend]

Public Member Functions

virtual ~Conn ()
 
virtual void close ()
 
virtual bool isBad () const =0
 
virtual const char * creationMessage () const
 
virtual const char * connType () const =0
 
virtual bool forRead () const =0
 
virtual bool forWrite () const
 
virtual StreamConngetStream ()
 
bool isStream () const
 
Connconn ()
 
const Connconn () const
 Returns the actual connection doing the work. More...
 
const MultiIDlinkedTo () const
 
void setLinkedTo (const MultiID &id)
 

Static Public Attributes

static const bool Read
 
static const bool Write
 

Protected Member Functions

 Conn ()
 
virtual ConngtConn () const
 

Protected Attributes

MultiID ioobjid_
 

Detailed Description

Data connection.

Data can be found in files and data stores. To access these data sources, some kind of connection must be set up. This class defines a simple interface common to these connections.

Constructor & Destructor Documentation

virtual Conn::~Conn ( )
inlinevirtual
Conn::Conn ( )
inlineprotected

Member Function Documentation

virtual void Conn::close ( )
inlinevirtual

Reimplemented in XConn, and StreamConn.

Conn* Conn::conn ( )
inline
const Conn* Conn::conn ( ) const
inline

Returns the actual connection doing the work.

virtual const char* Conn::connType ( ) const
pure virtual

Implemented in XConn, and StreamConn.

virtual const char* Conn::creationMessage ( ) const
inlinevirtual

Reimplemented in XConn, and StreamConn.

virtual bool Conn::forRead ( ) const
pure virtual

Implemented in XConn, and StreamConn.

virtual bool Conn::forWrite ( ) const
inlinevirtual

Reimplemented in XConn, and StreamConn.

virtual StreamConn* Conn::getStream ( )
inlinevirtual

Reimplemented in XConn, and StreamConn.

virtual Conn* Conn::gtConn ( ) const
inlineprotectedvirtual

Reimplemented in XConn.

virtual bool Conn::isBad ( ) const
pure virtual

Implemented in XConn, and StreamConn.

bool Conn::isStream ( ) const
inline
const MultiID& Conn::linkedTo ( ) const
inline
void Conn::setLinkedTo ( const MultiID id)
inline

Member Data Documentation

MultiID Conn::ioobjid_
protected
const bool Conn::Read
static
const bool Conn::Write
static

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