OpendTect-6_4  6.4
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
IOStream Class Reference
Inheritance diagram for IOStream:
[legend]

Public Member Functions

 IOStream (const char *nm=0, const char *id=0, bool=false)
 
 IOStream (const IOStream &)
 
virtual bool isBad () const
 
virtual void copyFrom (const IOObj *)
 
virtual const char * fullUserExpr (bool forread=true) const
 
virtual BufferString mainFileName () const
 
virtual const char * connType () const
 
virtual ConngetConn (bool) const
 
virtual bool implExists (bool forread) const
 
virtual bool implReadOnly () const
 
virtual bool implRemove () const
 
virtual bool implSetReadOnly (bool) const
 
virtual bool implRename (const char *, const CallBack *cb=0)
 
virtual bool implManagesObjects () const
 
bool isMultiConn () const
 
int curConnIdx () const
 
void resetConnIdx () const
 
int connIdxFor (int nr) const
 
bool toNextConnIdx () const
 
void setConnIdx (int idx) const
 
FileSpecfileSpec ()
 
const FileSpecfileSpec () const
 
void setExt (const char *ext)
 
void genFileName ()
 
int nrFiles () const
 
bool isMulti () const
 
virtual void setDirName (const char *)
 
virtual void setAbsDirectory (const char *)
 
- Public Member Functions inherited from IOObj
uiString uiName () const
 
IOObjclone () const
 
virtual const MultiIDkey () const
 
virtual ~IOObj ()
 
virtual bool hasConnType (const char *s) const
 
virtual const OD::Stringtranslator () const
 
virtual void setTranslator (const char *s)
 
virtual const OD::Stringgroup () const
 
virtual void setGroup (const char *s)
 
virtual const char * dirName () const
 The directory ame within the tree. More...
 
virtual IOParpars () const
 
void updateCreationPars () const
 
void setSurveyDefault (const char *subsel=0) const
 
TranslatorcreateTranslator () const
 
void acquireNewKeyIn (const MultiID &)
 This will give the IOObj a new (free) ID. More...
 
bool isTmp () const
 
bool isProcTmp () const
 
bool isUserSelectable (bool forread=true) const
 
bool isInCurrentSurvey () const
 
void setKey (const char *nm)
 
virtual bool isSubdir () const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject *linkedto)
 
 NamedObject (const NamedObject &)
 
virtual ~NamedObject ()
 
void setLinkedTo (NamedObject *)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
virtual const OD::StringannotName () const
 
virtual void setName (const char *)
 
void setCleanName (const char *)
 cleans string first More...
 
void deleteNotify (const CallBack &)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Protected Member Functions

virtual bool getFrom (ascistream &)
 
virtual bool putTo (ascostream &) const
 
StreamProvidergetStreamProv (bool, bool f=true) const
 
bool implDoAll (bool, bool yn=true) const
 
- Protected Member Functions inherited from IOObj
 IOObj (const char *nm=0, const char *ky=0)
 
 IOObj (const IOObj &)
 
bool put (ascostream &) const
 
int myKey () const
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

FileSpec fs_
 
int curfidx_
 
BufferString extension_
 
BufferString specfname_
 
- Protected Attributes inherited from IOObj
BufferString dirnm_
 
MultiID key_
 
BufferString transl_
 
BufferString group_
 
- Protected Attributes inherited from NamedObject
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Additional Inherited Members

- Static Public Member Functions inherited from IOObj
static bool isKey (const char *)
 
static bool isSurveyDefault (const MultiID &)
 Checks the 'Default.' entries in SI().pars() More...
 
static int tmpID ()
 
static int addProducer (IOObjProducer *)
 Factory for IOObj types. Not for casual use. More...
 
- Static Protected Member Functions inherited from IOObj
static IOObjget (ascistream &, const char *, const char *)
 

Detailed Description

Constructor & Destructor Documentation

IOStream::IOStream ( const char *  nm = 0,
const char *  id = 0,
bool  = false 
)
IOStream::IOStream ( const IOStream )

Member Function Documentation

int IOStream::connIdxFor ( int  nr) const
virtual const char* IOStream::connType ( ) const
virtual

Implements IOObj.

virtual void IOStream::copyFrom ( const IOObj )
virtual

Implements IOObj.

int IOStream::curConnIdx ( ) const
inline
FileSpec& IOStream::fileSpec ( )
inline
const FileSpec& IOStream::fileSpec ( ) const
inline
virtual const char* IOStream::fullUserExpr ( bool  forread = true) const
virtual

Implements IOObj.

void IOStream::genFileName ( )
virtual Conn* IOStream::getConn ( bool  ) const
virtual

Implements IOObj.

virtual bool IOStream::getFrom ( ascistream )
protectedvirtual

Implements IOObj.

StreamProvider* IOStream::getStreamProv ( bool  ,
bool  f = true 
) const
protected
bool IOStream::implDoAll ( bool  ,
bool  yn = true 
) const
protected
virtual bool IOStream::implExists ( bool  forread) const
virtual

Implements IOObj.

virtual bool IOStream::implManagesObjects ( ) const
inlinevirtual

Reimplemented from IOObj.

virtual bool IOStream::implReadOnly ( ) const
virtual

Reimplemented from IOObj.

virtual bool IOStream::implRemove ( ) const
virtual

Reimplemented from IOObj.

virtual bool IOStream::implRename ( const char *  ,
const CallBack cb = 0 
)
virtual

Reimplemented from IOObj.

virtual bool IOStream::implSetReadOnly ( bool  ) const
virtual

Reimplemented from IOObj.

virtual bool IOStream::isBad ( ) const
virtual

Implements IOObj.

bool IOStream::isMulti ( ) const
inline
bool IOStream::isMultiConn ( ) const
inline
virtual BufferString IOStream::mainFileName ( ) const
virtual

Reimplemented from IOObj.

int IOStream::nrFiles ( ) const
inline
virtual bool IOStream::putTo ( ascostream ) const
protectedvirtual

Implements IOObj.

void IOStream::resetConnIdx ( ) const
inline
virtual void IOStream::setAbsDirectory ( const char *  )
virtual
void IOStream::setConnIdx ( int  idx) const
inline
virtual void IOStream::setDirName ( const char *  )
virtual

Reimplemented from IOObj.

void IOStream::setExt ( const char *  ext)
inline
bool IOStream::toNextConnIdx ( ) const
inline

Member Data Documentation

int IOStream::curfidx_
mutableprotected
BufferString IOStream::extension_
protected
FileSpec IOStream::fs_
protected
BufferString IOStream::specfname_
protected

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