OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
IODir Class Reference
Inheritance diagram for IODir:
[legend]

Public Member Functions

 IODir (const char *)
 
 IODir (const MultiID &)
 
 ~IODir ()
 
void reRead ()
 
bool isBad () const
 
const MultiIDkey () const
 
const IOObjmain () const
 
const char * dirName () const
 
int size () const
 
int isEmpty () const
 
const IOObjget (int idx) const
 
const ObjectSet< IOObj > & getObjs () const
 
bool isPresent (const MultiID &) const
 
int indexOf (const MultiID &) const
 
const IOObjget (const MultiID &) const
 
const IOObjget (const char *nm, const char *trgrpnm=0) const
 
bool addObj (IOObj *, bool immediate_store=true)
 after call, IOObj is mine More...
 
bool commitChanges (const IOObj *)
 after call, assume pointer will be invalid More...
 
bool permRemove (const MultiID &)
 
bool ensureUniqueName (IOObj &)
 
bool doWrite () 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...
 

Static Public Member Functions

static IOObjgetObj (const MultiID &)
 
static IOObjgetMain (const char *)
 

Private Member Functions

 IODir ()
 
bool build ()
 
bool wrOmf (od_ostream &) const
 
IOObjget (int idx)
 
IOObjget (const MultiID &)
 
MultiID newKey () const
 

Static Private Member Functions

static bool create (const char *dirnm, const MultiID &, IOObj *mainobj)
 
static IOObjdoRead (const char *, IODir *, int id=-1)
 
static void setDirName (IOObj &, const char *)
 
static IOObjreadOmf (od_istream &, const char *, IODir *, int)
 

Private Attributes

ObjectSet< IOObjobjs_
 
BufferString dirname_
 
MultiID key_
 
bool isok_
 
int curid_
 

Friends

class IOMan
 
class IOObj
 

Additional Inherited Members

- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 
- Protected Attributes inherited from NamedObject
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Detailed Description

Constructor & Destructor Documentation

IODir::IODir ( const char *  )
IODir::IODir ( const MultiID )
IODir::~IODir ( )
IODir::IODir ( )
private

Member Function Documentation

bool IODir::addObj ( IOObj ,
bool  immediate_store = true 
)

after call, IOObj is mine

bool IODir::build ( )
private
bool IODir::commitChanges ( const IOObj )

after call, assume pointer will be invalid

static bool IODir::create ( const char *  dirnm,
const MultiID ,
IOObj mainobj 
)
staticprivate
const char* IODir::dirName ( ) const
inline
static IOObj* IODir::doRead ( const char *  ,
IODir ,
int  id = -1 
)
staticprivate
bool IODir::doWrite ( ) const
bool IODir::ensureUniqueName ( IOObj )
const IOObj* IODir::get ( int  idx) const
inline
const IOObj* IODir::get ( const MultiID ) const
const IOObj* IODir::get ( const char *  nm,
const char *  trgrpnm = 0 
) const
IOObj* IODir::get ( int  idx)
inlineprivate
IOObj* IODir::get ( const MultiID )
private
static IOObj* IODir::getMain ( const char *  )
static
static IOObj* IODir::getObj ( const MultiID )
static
const ObjectSet<IOObj>& IODir::getObjs ( ) const
inline
int IODir::indexOf ( const MultiID ) const
bool IODir::isBad ( ) const
inline
int IODir::isEmpty ( ) const
inline
bool IODir::isPresent ( const MultiID ) const
const MultiID& IODir::key ( ) const
inline
const IOObj* IODir::main ( ) const
MultiID IODir::newKey ( ) const
private
bool IODir::permRemove ( const MultiID )
static IOObj* IODir::readOmf ( od_istream ,
const char *  ,
IODir ,
int   
)
staticprivate
void IODir::reRead ( )
static void IODir::setDirName ( IOObj ,
const char *   
)
staticprivate
int IODir::size ( ) const
inline
bool IODir::wrOmf ( od_ostream ) const
private

Friends And Related Function Documentation

friend class IOMan
friend
friend class IOObj
friend

Member Data Documentation

int IODir::curid_
mutableprivate
BufferString IODir::dirname_
private
bool IODir::isok_
private
MultiID IODir::key_
private
ObjectSet<IOObj> IODir::objs_
private

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