Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends

IOLink Class Reference

Inheritance diagram for IOLink:
IOObj NamedObject CallBacker

List of all members.

Public Member Functions

 ~IOLink ()
bool isLink () const
bool bad () const
IOObjlink () const
void copyFrom (const IOObj *)
bool hasConnType (const char *ct) const
const MultiIDparentKey () const
const char * translator () const
const char * group () const
const char * fullUserExpr (bool) const
bool implExists (bool) const
bool implReadOnly () const
bool implRemove () const
bool implShouldRemove () const
bool implRename (const char *s, const CallBack *cb=0) const
bool implSetReadOnly (bool b) const
bool removeQuery () const
void genDefaultImpl ()
const char * connType () const
ConngetConn (Conn::State s) const
bool slowOpen () const
void setParentKey (const char *s)
void setGroup (const char *s)
void setTranslator (const char *s)
const char * dirName () const
const char * ownDirName () const
bool setDirName (const char *)
IOObjunlink ()
bool remove ()
IOParpars ()
void acquireNewKey ()
 This will give the IOObj a new (free) ID.
 IOLink (const char *dirnm, IOObj *)

Static Public Member Functions

static IOLinkget (ascistream &, const char *)

Protected Member Functions

 IOLink (const char *path=0, const char *dirnm=0)
bool getFrom (ascistream &)
bool putTo (ascostream &) const

Private Member Functions

 IOLink (IOObj *)
IOObjgetLink (const char *, const char *)
BufferString genNewDirName (const char *, const char *)
UserIDString cleanDirName (const char *)

Private Attributes

UserIDString dirname

Friends

class IOObj
class IOMan

Constructor & Destructor Documentation

IOLink::~IOLink (  ) 
IOLink::IOLink ( const char *  dirnm,
IOObj  
)
IOLink::IOLink ( const char *  path = 0,
const char *  dirnm = 0 
) [protected]
IOLink::IOLink ( IOObj  )  [private]

Member Function Documentation

void IOLink::acquireNewKey (  )  [inline, virtual]

This will give the IOObj a new (free) ID.

Reimplemented from IOObj.

bool IOLink::bad (  )  const [inline, virtual]

Implements IOObj.

UserIDString IOLink::cleanDirName ( const char *   )  [private]
const char* IOLink::connType (  )  const [inline, virtual]

Implements IOObj.

void IOLink::copyFrom ( const IOObj  )  [virtual]

Implements IOObj.

const char* IOLink::dirName (  )  const [inline, virtual]

The full path to the position in the tree

Note:
may not be the directory of an implementation

Reimplemented from IOObj.

const char* IOLink::fullUserExpr ( bool   )  const [inline, virtual]

Implements IOObj.

void IOLink::genDefaultImpl (  )  [inline, virtual]

Reimplemented from IOObj.

BufferString IOLink::genNewDirName ( const char *  ,
const char *   
) [private]
static IOLink* IOLink::get ( ascistream ,
const char *   
) [static]
Conn* IOLink::getConn ( Conn::State  s  )  const [inline, virtual]

Implements IOObj.

bool IOLink::getFrom ( ascistream  )  [inline, protected, virtual]

Implements IOObj.

IOObj* IOLink::getLink ( const char *  ,
const char *   
) [private]
const char* IOLink::group (  )  const [inline, virtual]

Implements IOObj.

bool IOLink::hasConnType ( const char *  ct  )  const [inline, virtual]

Reimplemented from IOObj.

bool IOLink::implExists ( bool   )  const [virtual]

Implements IOObj.

bool IOLink::implReadOnly (  )  const [inline, virtual]

Reimplemented from IOObj.

bool IOLink::implRemove (  )  const [virtual]

Reimplemented from IOObj.

bool IOLink::implRename ( const char *  s,
const CallBack cb = 0 
) const [inline]
bool IOLink::implSetReadOnly ( bool  b  )  const [inline, virtual]

Reimplemented from IOObj.

bool IOLink::implShouldRemove (  )  const [inline, virtual]

Reimplemented from IOObj.

bool IOLink::isLink (  )  const [inline, virtual]

Reimplemented from IOObj.

IOObj* IOLink::link (  )  const [inline]
const char* IOLink::ownDirName (  )  const [inline]
const MultiID& IOLink::parentKey (  )  const [inline, virtual]

Implements IOObj.

IOPar& IOLink::pars (  )  [inline]
bool IOLink::putTo ( ascostream  )  const [protected, virtual]

Implements IOObj.

bool IOLink::remove (  ) 
bool IOLink::removeQuery (  )  const [inline, virtual]

Reimplemented from IOObj.

bool IOLink::setDirName ( const char *   ) 
void IOLink::setGroup ( const char *  s  )  [inline, virtual]

Implements IOObj.

void IOLink::setParentKey ( const char *  s  )  [inline, virtual]

Implements IOObj.

void IOLink::setTranslator ( const char *  s  )  [inline, virtual]

Implements IOObj.

bool IOLink::slowOpen (  )  const [inline, virtual]

Reimplemented from IOObj.

const char* IOLink::translator (  )  const [inline, virtual]

Implements IOObj.

IOObj* IOLink::unlink (  ) 

Friends And Related Function Documentation

friend class IOMan [friend]
friend class IOObj [friend]

Member Data Documentation

UserIDString IOLink::dirname [private]