OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
Attrib::SelSpec Class Reference

Specifies an attribute selection (ID or output number of NN). More...

Public Member Functions

 SelSpec (const char *r=0, DescID i=cAttribNotSel(), bool n=false, const char *objr=0)
 
const DescIDid () const
 
bool isNLA () const
 
bool is2D () const
 
const char * userRef () const
 
const char * objectRef () const
 
const char * defString () const
 
const char * zDomainKey () const
 
bool operator== (const SelSpec &) const
 
bool operator!= (const SelSpec &) const
 
void set (const Desc &)
 
void set (const NLAModel &, int)
 
void setUserRef (const char *ref)
 
void setObjectRef (const char *objr)
 
void setDefString (const char *def)
 
void setZDomainKey (const char *key)
 
void setZDomainKey (const Desc &)
 
void set (const char *r, DescID i, bool isnla, const char *objr)
 
void setIDFromRef (const NLAModel &)
 
void setIDFromRef (const DescSet &)
 
void setRefFromID (const NLAModel &)
 
void setRefFromID (const DescSet &)
 
void set2DFlag (bool yn=true)
 
const StepInterval< int > & discrSpec () const
 
void setDiscrSpec (const StepInterval< int > &ds)
 
void fillPar (IOPar &) const
 
bool usePar (const IOPar &)
 
bool isStored () const
 
bool isZTransformed () const
 
const BinDataDescgetPreloadDataDesc (Pos::GeomID geomid=-1) const
 

Static Public Member Functions

static const DescIDcNoAttrib ()
 
static const DescIDcAttribNotSel ()
 
static const DescIDcOtherAttrib ()
 

Protected Member Functions

void setDiscr (const DescSet &)
 
void setDiscr (const NLAModel &)
 

Static Protected Member Functions

static const char * sKeyRef ()
 
static const char * sKeyObjRef ()
 
static const char * sKeyID ()
 
static const char * sKeyIsNLA ()
 
static const char * sKeyDefStr ()
 
static const char * sKeyIs2D ()
 
static const char * sKeyOnlyStoredData ()
 

Protected Attributes

BufferString ref_
 
BufferString objref_
 
BufferString defstring_
 
BufferString zdomainkey_
 
DescID id_
 
bool isnla_
 
StepInterval< int > discrspec_
 
bool is2d_
 

Detailed Description

Specifies an attribute selection (ID or output number of NN).

When attrib sets and NLAs change, the IDs may be no longer valid. Thus, the user reference is stored, so you can try to get a valid ID in that situation.

Object reference holds the NLA or attribute set name. discrSpec() specifies whether (if (0,0) interval not) and how a discrete output is to be expected.

Constructor & Destructor Documentation

Attrib::SelSpec::SelSpec ( const char *  r = 0,
DescID  i = cAttribNotSel(),
bool  n = false,
const char *  objr = 0 
)
inline

Member Function Documentation

static const DescID& Attrib::SelSpec::cAttribNotSel ( )
static
static const DescID& Attrib::SelSpec::cNoAttrib ( )
static
static const DescID& Attrib::SelSpec::cOtherAttrib ( )
static
const char* Attrib::SelSpec::defString ( ) const
inline
const StepInterval<int>& Attrib::SelSpec::discrSpec ( ) const
inline
void Attrib::SelSpec::fillPar ( IOPar ) const
const BinDataDesc* Attrib::SelSpec::getPreloadDataDesc ( Pos::GeomID  geomid = -1) const
const DescID& Attrib::SelSpec::id ( ) const
inline
bool Attrib::SelSpec::is2D ( ) const
inline
bool Attrib::SelSpec::isNLA ( ) const
inline
bool Attrib::SelSpec::isStored ( ) const
bool Attrib::SelSpec::isZTransformed ( ) const
const char* Attrib::SelSpec::objectRef ( ) const
inline
bool Attrib::SelSpec::operator!= ( const SelSpec ) const
bool Attrib::SelSpec::operator== ( const SelSpec ) const
void Attrib::SelSpec::set ( const Desc )
void Attrib::SelSpec::set ( const NLAModel ,
int   
)
void Attrib::SelSpec::set ( const char *  r,
DescID  i,
bool  isnla,
const char *  objr 
)
inline
void Attrib::SelSpec::set2DFlag ( bool  yn = true)
inline
void Attrib::SelSpec::setDefString ( const char *  def)
inline
void Attrib::SelSpec::setDiscr ( const DescSet )
protected
void Attrib::SelSpec::setDiscr ( const NLAModel )
protected
void Attrib::SelSpec::setDiscrSpec ( const StepInterval< int > &  ds)
inline
void Attrib::SelSpec::setIDFromRef ( const NLAModel )
void Attrib::SelSpec::setIDFromRef ( const DescSet )
void Attrib::SelSpec::setObjectRef ( const char *  objr)
inline
void Attrib::SelSpec::setRefFromID ( const NLAModel )
void Attrib::SelSpec::setRefFromID ( const DescSet )
void Attrib::SelSpec::setUserRef ( const char *  ref)
inline
void Attrib::SelSpec::setZDomainKey ( const char *  key)
inline
void Attrib::SelSpec::setZDomainKey ( const Desc )
static const char* Attrib::SelSpec::sKeyDefStr ( )
staticprotected
static const char* Attrib::SelSpec::sKeyID ( )
staticprotected
static const char* Attrib::SelSpec::sKeyIs2D ( )
staticprotected
static const char* Attrib::SelSpec::sKeyIsNLA ( )
staticprotected
static const char* Attrib::SelSpec::sKeyObjRef ( )
staticprotected
static const char* Attrib::SelSpec::sKeyOnlyStoredData ( )
staticprotected
static const char* Attrib::SelSpec::sKeyRef ( )
staticprotected
bool Attrib::SelSpec::usePar ( const IOPar )
const char* Attrib::SelSpec::userRef ( ) const
inline
const char* Attrib::SelSpec::zDomainKey ( ) const
inline

Member Data Documentation

BufferString Attrib::SelSpec::defstring_
protected
StepInterval<int> Attrib::SelSpec::discrspec_
protected
DescID Attrib::SelSpec::id_
protected
bool Attrib::SelSpec::is2d_
protected
bool Attrib::SelSpec::isnla_
protected
BufferString Attrib::SelSpec::objref_
protected
BufferString Attrib::SelSpec::ref_
protected
BufferString Attrib::SelSpec::zdomainkey_
protected

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