OpendTect-6_4  6.4
Public Member Functions | Protected Attributes | List of all members
EM::DataPackCommon Class Referenceabstract

Mixin to provide general services to Earth Model data packs. More...

Inheritance diagram for EM::DataPackCommon:
[legend]

Public Member Functions

 DataPackCommon (const EMObject &, Array2D< float > *)
 
 DataPackCommon (const EMObject &, const ObjectSet< BinIDValueSet > &)
 
 DataPackCommon (const EMObject &, const DataPointSet &)
 
virtual const char * sourceType () const =0
 
virtual bool isVertical () const =0
 
const EMObjectgetEMObj () const
 
void dumpInfo (IOPar &) const
 
- Public Member Functions inherited from FlatDataPack
 FlatDataPack (const char *categry, Array2D< float > *)
 Array2D become mine (of course) More...
 
 FlatDataPack (const FlatDataPack &)
 
 ~FlatDataPack ()
 
virtual Array2D< float > & data ()
 
const Array2D< float > & data () const
 
virtual float getPosDistance (bool dim0, float posfidx) const
 
virtual FlatPosDataposData ()
 
const FlatPosDataposData () const
 
virtual const char * dimName (bool dim0) const
 
virtual Coord3 getCoord (int, int) const
 
virtual bool posDataIsCoord () const
 
virtual void getAltDim0Keys (BufferStringSet &) const
 First one is 'default'. More...
 
virtual double getAltDim0Value (int ikey, int idim0) const
 
virtual bool dimValuesInInt (const char *key) const
 
virtual void getAuxInfo (int idim0, int idim1, IOPar &) const
 
virtual float nrKBytes () const
 
virtual int size (bool dim0) const
 
- Public Member Functions inherited from DataPack
 DataPack (const char *categry)
 
 DataPack (const DataPack &dp)
 
virtual ~DataPack ()
 
ID id () const
 
FullID fullID (int mgrid) const
 
virtual const char * category () const
 
virtual bool isOK () const
 
Threads::LockupdateLock () const
 
void release ()
 
DataPackobtain ()
 
- 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...
 

Protected Attributes

const EMObjectemobj_
 
- Protected Attributes inherited from FlatDataPack
Array2D< float > * arr2d_
 
FlatPosDataposdata_
 
- Protected Attributes inherited from DataPack
const ID id_
 
const BufferString category_
 
int nrusers_
 
Threads::Lock nruserslock_
 
Threads::Lock updatelock_
 
const DataPackMgrmanager_
 
- Protected Attributes inherited from NamedObject
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Additional Inherited Members

- Public Types inherited from DataPack
typedef int ID
 
typedef MultiID FullID
 
- Static Public Member Functions inherited from DataPack
static ID getID (const FullID &fid)
 
static const char * sKeyCategory ()
 
static ID cNoID ()
 
- Protected Member Functions inherited from FlatDataPack
 FlatDataPack (const char *category)
 
- Protected Member Functions inherited from DataPack
void setManager (const DataPackMgr *)
 
void setCategory (const char *c)
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 
- Static Protected Member Functions inherited from DataPack
static ID getNewID ()
 ensures a global data pack ID More...
 
static float sKb2MbFac ()
 1 / 1024 More...
 

Detailed Description

Mixin to provide general services to Earth Model data packs.

Constructor & Destructor Documentation

EM::DataPackCommon::DataPackCommon ( const EMObject ,
Array2D< float > *   
)
EM::DataPackCommon::DataPackCommon ( const EMObject ,
const ObjectSet< BinIDValueSet > &   
)
EM::DataPackCommon::DataPackCommon ( const EMObject ,
const DataPointSet  
)

Member Function Documentation

void EM::DataPackCommon::dumpInfo ( IOPar ) const
virtual

Reimplemented from FlatDataPack.

const EMObject& EM::DataPackCommon::getEMObj ( ) const
inline
virtual bool EM::DataPackCommon::isVertical ( ) const
pure virtual

Implemented in EM::FaultDataPack, and EM::HorDataPack.

virtual const char* EM::DataPackCommon::sourceType ( ) const
pure virtual

Implemented in EM::FaultDataPack, and EM::HorDataPack.

Member Data Documentation

const EMObject& EM::DataPackCommon::emobj_
protected

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