OpendTect  6.3
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, DBKey id=DBKey::getInvalid(), bool gendefimpl=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 bool isStream () 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
 
File::MultiSpecfileSpec ()
 
const File::MultiSpecfileSpec () const
 
void setExt (const char *ext)
 
void genFileName ()
 
bool locateInSharedDir (const char *dirnm)
 will not move files, just changes the entry More...
 
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 DBKey key () const
 
virtual ObjID objID () 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 setKeyForNewEntry (DirID)
 This will mark the IOObj for DBM() as 'new'. More...
 
bool isTmp () const
 
bool isProcTmp () const
 
bool isUserSelectable (bool forread=true) const
 
bool isInCurrentSurvey () const
 
bool isInvalid () const
 
void setKey (const DBKey &ky)
 
virtual bool isSubdir () const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
virtual BufferString getName () const
 
virtual void setName (const char *nm)
 
bool getNameFromPar (const IOPar &)
 
void putNameInPar (IOPar &) const
 

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, DBKey ky=DBKey::getInvalid())
 
 IOObj (const IOObj &)
 
bool put (ascostream &) const
 

Protected Attributes

File::MultiSpec fs_
 
int curfidx_
 
BufferString extension_
 
BufferString specfname_
 
- Protected Attributes inherited from IOObj
BufferString dirnm_
 
DBKey key_
 
BufferString transl_
 
BufferString group_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Additional Inherited Members

- Public Types inherited from IOObj
typedef DBKey::ObjID ObjID
 
typedef DBKey::ObjNrType ObjNrType
 
typedef DBKey::GroupID DirID
 
- Static Public Member Functions inherited from IOObj
static bool isKey (const char *)
 
static bool isSurveyDefault (const DBKey &)
 Checks the 'Default.' entries in SI().pars() More...
 
static const IOObjgetInvalid ()
 
static ObjNrType tmpObjNrStart ()
 
static bool isTmpObjNr (ObjNrType nr)
 
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 *, DirID, bool rejoldtmp=true)
 

Detailed Description

Constructor & Destructor Documentation

IOStream::IOStream ( const char *  nm = 0,
DBKey  id = DBKey::getInvalid(),
bool  gendefimpl = 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

Reimplemented from IOObj.

int IOStream::curConnIdx ( ) const
inline
File::MultiSpec& IOStream::fileSpec ( )
inline
const File::MultiSpec& 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 bool IOStream::isStream ( ) const
inlinevirtual

Reimplemented from IOObj.

bool IOStream::locateInSharedDir ( const char *  dirnm)

will not move files, just changes the entry

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

Reimplemented from IOObj.

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
File::MultiSpec IOStream::fs_
protected
BufferString IOStream::specfname_
protected

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