Public Member Functions | Static Public Member Functions

LineKey Class Reference

Key for a line in a line set. More...

Inheritance diagram for LineKey:
BufferString

List of all members.

Public Member Functions

 LineKey (const char *lk=0)
 LineKey (const char *, const char *attrnm, bool showseis=0)
 LineKey (const IOPar &iop, bool liin)
bool operator== (const LineKey &) const
bool operator== (const char *lk) const
BufferString lineName () const
BufferString attrName () const
void setLineName (const char *lnm)
void setAttrName (const char *anm)
void fillPar (IOPar &, bool linename_is_iopar_name) const
bool usePar (const IOPar &, bool linename_is_iopar_name)

Static Public Member Functions

static const char * sKeyDefAttrib ()
static BufferString defKey2DispName (const char *defkey, const char *ioobjnm=0, bool embed=true)

Detailed Description

Key for a line in a line set.


Constructor & Destructor Documentation

LineKey::LineKey ( const char *  lk = 0  )  [inline]
LineKey::LineKey ( const char *  ,
const char *  attrnm,
bool  showseis = 0 
)
LineKey::LineKey ( const IOPar iop,
bool  liin 
) [inline]

Member Function Documentation

BufferString LineKey::attrName (  )  const
static BufferString LineKey::defKey2DispName ( const char *  defkey,
const char *  ioobjnm = 0,
bool  embed = true 
) [static]

'defkey' is a LineKey where the line name may be an IOObj ID embed: whether '['and ']' around name or not

void LineKey::fillPar ( IOPar ,
bool  linename_is_iopar_name 
) const
BufferString LineKey::lineName (  )  const
bool LineKey::operator== ( const char *  lk  )  const [inline]

Reimplemented from BufferString.

bool LineKey::operator== ( const LineKey  )  const
void LineKey::setAttrName ( const char *  anm  )  [inline]
void LineKey::setLineName ( const char *  lnm  )  [inline]
static const char* LineKey::sKeyDefAttrib (  )  [inline, static]
bool LineKey::usePar ( const IOPar ,
bool  linename_is_iopar_name 
)