OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
XConn Class Reference

Connection implemented in terms of another Conn object. More...

Inheritance diagram for XConn:
[legend]

Public Member Functions

 XConn ()
 
 ~XConn ()
 
virtual bool isBad () const
 
virtual const char * creationMessage () const
 
virtual bool forRead () const
 
virtual bool forWrite () const
 
virtual void close ()
 
virtual StreamConngetStream ()
 
void setConn (Conn *c, bool becomesmine=true)
 
const char * connType () const
 
- Public Member Functions inherited from Conn
virtual ~Conn ()
 
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 Member Functions

static const char * sType ()
 

Protected Member Functions

ConngtConn () const
 
- Protected Member Functions inherited from Conn
 Conn ()
 

Protected Attributes

Connconn_
 
bool mine_
 
- Protected Attributes inherited from Conn
MultiID ioobjid_
 

Friends

class IOX
 

Additional Inherited Members

- Static Public Attributes inherited from Conn
static const bool Read
 
static const bool Write
 

Detailed Description

Connection implemented in terms of another Conn object.

Constructor & Destructor Documentation

XConn::XConn ( )
inline
XConn::~XConn ( )
inline

Member Function Documentation

virtual void XConn::close ( )
inlinevirtual

Reimplemented from Conn.

const char* XConn::connType ( ) const
inlinevirtual

Implements Conn.

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

Reimplemented from Conn.

virtual bool XConn::forRead ( ) const
inlinevirtual

Implements Conn.

virtual bool XConn::forWrite ( ) const
inlinevirtual

Reimplemented from Conn.

virtual StreamConn* XConn::getStream ( )
inlinevirtual

Reimplemented from Conn.

Conn* XConn::gtConn ( ) const
inlineprotectedvirtual

Reimplemented from Conn.

virtual bool XConn::isBad ( ) const
inlinevirtual

Implements Conn.

void XConn::setConn ( Conn c,
bool  becomesmine = true 
)
inline
static const char* XConn::sType ( )
static

Friends And Related Function Documentation

friend class IOX
friend

Member Data Documentation

Conn* XConn::conn_
protected
bool XConn::mine_
protected

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