OpendTect-6_4  6.4
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
CompoundKey Class Reference

Concatenated short keys separated by dots. Used for Object identifiers in the Object Manager, or stratigraphic IDs. More...

Inheritance diagram for CompoundKey:
[legend]

Public Member Functions

 CompoundKey (const char *s=0)
 
 CompoundKey (const CompoundKey &ck)
 
CompoundKeyoperator= (const char *s)
 
CompoundKeyoperator+= (const char *)
 
bool operator== (const char *s) const
 
bool operator== (const CompoundKey &oth) const
 
bool operator!= (const char *s) const
 
bool operator!= (const CompoundKey &u) const
 
void setEmpty ()
 
bool isEmpty () const
 
char * getCStr ()
 
const char * buf () const
 
 operator const char * () const
 
int nrKeys () const
 
BufferString key (int) const
 
void setKey (int, const char *)
 
CompoundKey upLevel () const
 
bool isUpLevelOf (const CompoundKey &) const
 

Protected Member Functions

char * fromKey (int) const
 
const char * getKeyPart (int) const
 

Protected Attributes

BufferString impl_
 

Private Member Functions

char * fetchKeyPart (int, bool) const
 

Detailed Description

Concatenated short keys separated by dots. Used for Object identifiers in the Object Manager, or stratigraphic IDs.

Constructor & Destructor Documentation

CompoundKey::CompoundKey ( const char *  s = 0)
inline
CompoundKey::CompoundKey ( const CompoundKey ck)
inline

Member Function Documentation

const char* CompoundKey::buf ( ) const
inline
char* CompoundKey::fetchKeyPart ( int  ,
bool   
) const
private
char* CompoundKey::fromKey ( int  ) const
protected
char* CompoundKey::getCStr ( )
inline
const char* CompoundKey::getKeyPart ( int  ) const
protected
bool CompoundKey::isEmpty ( ) const
inline
bool CompoundKey::isUpLevelOf ( const CompoundKey ) const
BufferString CompoundKey::key ( int  ) const
int CompoundKey::nrKeys ( ) const
CompoundKey::operator const char * ( ) const
inline
bool CompoundKey::operator!= ( const char *  s) const
inline
bool CompoundKey::operator!= ( const CompoundKey u) const
inline
CompoundKey & CompoundKey::operator+= ( const char *  s)
inline
CompoundKey& CompoundKey::operator= ( const char *  s)
inline
bool CompoundKey::operator== ( const char *  s) const
inline
bool CompoundKey::operator== ( const CompoundKey oth) const
inline
void CompoundKey::setEmpty ( )
inline
void CompoundKey::setKey ( int  ,
const char *   
)
CompoundKey CompoundKey::upLevel ( ) const

Member Data Documentation

BufferString CompoundKey::impl_
protected

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