OpendTect 8.0
Loading...
Searching...
No Matches
IOSubDir Class Reference

#include <iosubdir.h>

Inheritance diagram for IOSubDir:
[legend]

Public Member Functions

 IOSubDir (const char *subdirnm)
 
 IOSubDir (const IOSubDir &)
 
 ~IOSubDir ()
 
const char * connType () const override
 
void copyFrom (const IOObj *) override
 
const char * dirName () const override
 The directory ame within the tree.
 
const char * fullUserExpr (bool) const override
 
Conn * getConn (bool forread) const override
 
bool implExists (bool) const override
 
bool implReadOnly () const override
 
bool implRemove () const override
 
bool implRename (const char *) override
 
bool implSetReadOnly (bool) const override
 
bool isBad () const override
 
bool isSubdir () const override
 
int myKey () const override
 
- Public Member Functions inherited from IOObj
virtual ~IOObj ()
 
void acquireNewKeyIn (const MultiID &)
 This will give the IOObj a new (free) ID.
 
IOObj * clone () const
 
Translator * createTranslator () const
 
virtual const OD::DataSetKey * DSKey () const
 
virtual const OD::String & group () const
 
virtual bool hasConnType (const char *s) const
 
virtual bool hasDSKey () const
 
virtual void implFileNames (BufferStringSet &) const
 
virtual bool implIsLink () const
 
bool isHidden () const
 
bool isInCurrentSurvey () const
 
bool isProcTmp () const
 
bool isTmp () const
 
bool isUserSelectable (bool forread=true) const
 
virtual const MultiID & key () const
 
virtual BufferString mainFileName () const
 
virtual int nrImpls () const
 
virtual IOPar & pars () const
 
uiString phrCannotLoadObj () const
 
uiString phrCannotOpenObj () const
 
uiString phrCannotReadObj () const
 
uiString phrCannotWriteObj () const
 
uiString phrCannotWriteToDB () const
 
virtual void setDirName (const char *s)
 
virtual void setDSKey (const OD::DataSetKey &)
 
virtual void setGroup (const char *s)
 
void setKey (const char *nm)
 
void setKey (const MultiID &key)
 
virtual void setStatus (Status st)
 
void setSurveyDefault () const
 
virtual void setTranslator (const char *s)
 
virtual Status status () const
 
virtual const OD::String & translator () const
 
uiString uiName () const
 
void updateCreationPars () const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=nullptr)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
virtual BufferString getName () const
 
bool getNameFromPar (const IOPar &)
 
const name_type & name () const override
 
NamedObject & operator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual void setName (const char *nm)
 
- Public Member Functions inherited from ObjectWithName
virtual ~ObjectWithName ()
 
bool hasName (const char *nm) const
 
bool hasName (const name_type &nm) const
 
void putNameInPar (IOPar &) const
 

Static Public Member Functions

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

Protected Member Functions

bool getFrom (ascistream &) override
 
bool putTo (ascostream &) const override
 
- Protected Member Functions inherited from IOObj
 IOObj (const char *nm, const char *kystr)
 
 IOObj (const char *nm, const DBKey &)
 
 IOObj (const char *nm, const MultiID &)
 
 IOObj (const IOObj &)
 
bool put (ascostream &) const
 

Protected Attributes

bool isbad_
 
- Protected Attributes inherited from IOObj
BufferString dirnm_
 
const OD::DataSetKey * dskey_ = nullptr
 
BufferString group_
 
MultiID key_
 
Status status_ = Status::Unknown
 
BufferString transl_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Friends

class IOMan
 

Additional Inherited Members

- Public Types inherited from IOObj
enum class  Status {
  Unknown =0 , OK =1 , FileNotPresent =2 , ReadPermissionInvalid =3 ,
  WrongObject =4 , BrokenLink =5 , FileEmpty =6 , FileDataCorrupt =7 ,
  LibraryNotLoaded =8 , DataVersionInvalid =9 , Deleted =10 , Hidden =11 ,
  Other =12
}
 
- Public Types inherited from ObjectWithName
typedef OD::String name_type
 
- Static Protected Member Functions inherited from IOObj
static IOObj * get (ascistream &, const char *dirnm, int grpid)
 

Constructor & Destructor Documentation

◆ IOSubDir() [1/2]

IOSubDir::IOSubDir ( const char * subdirnm)

◆ IOSubDir() [2/2]

IOSubDir::IOSubDir ( const IOSubDir & )

◆ ~IOSubDir()

IOSubDir::~IOSubDir ( )

Member Function Documentation

◆ connType()

const char * IOSubDir::connType ( ) const
inlineoverridevirtual

Implements IOObj.

◆ copyFrom()

void IOSubDir::copyFrom ( const IOObj * )
inlineoverridevirtual

Implements IOObj.

◆ dirName()

const char * IOSubDir::dirName ( ) const
inlineoverridevirtual

The directory ame within the tree.

Reimplemented from IOObj.

◆ fullUserExpr()

const char * IOSubDir::fullUserExpr ( bool ) const
overridevirtual

Implements IOObj.

◆ get()

static IOSubDir * IOSubDir::get ( ascistream & ,
const char * rootdirnm )
static

◆ getConn()

Conn * IOSubDir::getConn ( bool forread) const
inlineoverridevirtual

Implements IOObj.

◆ getFrom()

bool IOSubDir::getFrom ( ascistream & )
inlineoverrideprotectedvirtual

Implements IOObj.

◆ implExists()

bool IOSubDir::implExists ( bool ) const
inlineoverridevirtual

Implements IOObj.

◆ implReadOnly()

bool IOSubDir::implReadOnly ( ) const
inlineoverridevirtual

Reimplemented from IOObj.

◆ implRemove()

bool IOSubDir::implRemove ( ) const
inlineoverridevirtual

Reimplemented from IOObj.

◆ implRename()

bool IOSubDir::implRename ( const char * )
inlineoverridevirtual

Reimplemented from IOObj.

◆ implSetReadOnly()

bool IOSubDir::implSetReadOnly ( bool ) const
inlineoverridevirtual

Reimplemented from IOObj.

◆ isBad()

bool IOSubDir::isBad ( ) const
inlineoverridevirtual

Implements IOObj.

◆ isSubdir()

bool IOSubDir::isSubdir ( ) const
inlineoverridevirtual

Reimplemented from IOObj.

◆ myKey()

int IOSubDir::myKey ( ) const
inlineoverridevirtual

Reimplemented from IOObj.

◆ putTo()

bool IOSubDir::putTo ( ascostream & ) const
overrideprotectedvirtual

Implements IOObj.

Friends And Related Symbol Documentation

◆ IOMan

friend class IOMan
friend

Member Data Documentation

◆ isbad_

bool IOSubDir::isbad_
protected

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