OpendTect 8.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | Friends | List of all members
Well::Man Class Reference

Well manager. More...

#include <wellman.h>

Inheritance diagram for Well::Man:
[legend]

Public Member Functions

 ~Man ()
 
void cleanupNullPtrs ()
 
bool deleteLogs (const MultiID &, const BufferStringSet &)
 
bool deleteMarkers (const MultiID &, const BufferStringSet &)
 
uiString errMsg () const
 
RefMan< Dataget (const DBKey &, LoadReqs)
 
RefMan< Dataget (const MultiID &)
 
RefMan< Dataget (const MultiID &, LoadReqs)
 
Coord getMapLocation (const MultiID &) const
 
const MnemonicgetMnemonicOfLog (const char *lognm) const
 
const TypeSet< MultiID > & getWellsAddedToDB () const
 
bool isLoaded (const MultiID &) const
 
bool isReloading () const
 
Well::LoadReqs loadState (const MultiID &) const
 
bool reload (const MultiID &, LoadReqs lreq=LoadReqs(false))
 
bool reloadDispPars (const MultiID &, bool for2d=false)
 
bool reloadLogs (const MultiID &)
 
void removeObject (const Data *)
 
void removeObject (const MultiID &)
 
bool validID (const MultiID &) const
 
WeakPtrSet< Data > & wells ()
 
bool writeAndRegister (const MultiID &, ObjectSet< Log > &)
 Returns empty set if all succeeded.
 
bool writeAndRegister (const MultiID &, PtrMan< Log > &)
 Log becomes mine.
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object.
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use.
 
CallBackeroperator= (const CallBacker &)=delete
 
void stopReceivingNotifications () const
 
virtual CallBackertrueCaller ()
 

Static Public Member Functions

static void dumpMgrInfo (StringPairSet &)
 
static bool getAllLogNames (BufferStringSet &, bool onlyloaded=false)
 
static bool getAllMarkerInfo (BufferStringSet &, TypeSet< OD::Color > &, bool onlyloaded=false)
 
static bool getAllMarkerNames (BufferStringSet &, bool onlyloaded=false)
 
static bool getAllMarkerNames (BufferStringSet &, const RefObjectSet< const Data > &)
 
static bool getAllMnemonics (MnemonicSelection &, bool onlyloaded=false)
 
static void getLogIDs (const MultiID &, const BufferStringSet &, TypeSet< int > &)
 
static void getLogIDs (const MultiID &, const MnemonicSelection &, TypeSet< int > &)
 
static bool getLogNames (const MultiID &, BufferStringSet &, bool forceLoad=false)
 
static bool getLogNamesByID (const MultiID &, BufferStringSet &, bool onlyloaded=false)
 
static bool getMarkerNames (BufferStringSet &)
 
static bool getMarkersByID (const MultiID &, BufferStringSet &)
 
static bool getMarkersByID (const MultiID &, BufferStringSet &, TypeSet< OD::Color > &)
 
static bool getMarkersByID (const MultiID &, BufferStringSet &, TypeSet< OD::Color > &, TypeSet< float > &)
 
static bool getWellKeys (TypeSet< MultiID > &, bool onlyloaded=false)
 
static bool getWellNames (BufferStringSet &, bool onlyloaded=false)
 
static bool renameLog (const TypeSet< MultiID > &, const char *oldnm, const char *newnm)
 
static const UnitOfMeasuresurveyDepthDisplayUnit ()
 
static const UnitOfMeasuresurveyDepthStorageUnit ()
 
static const BufferString wellDirPath ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Protected Member Functions

 Man ()
 
RefMan< DataaddNew (const MultiID &, LoadReqs lreq=LoadReqs(false))
 
void checkForUndeletedRef (CallBacker *)
 
int gtByKey (const MultiID &) const
 
bool readReqData (const MultiID &, Data &, LoadReqs)
 
void reloadAll ()
 
void wellAddedToDB (CallBacker *)
 
void wellEntriesRemovedCB (CallBacker *)
 
void wellEntryRemovedCB (CallBacker *)
 

Protected Attributes

TypeSet< MultiIDdbaddedwellsids_
 
uiString errmsg_
 
bool isreloading_ = false
 
WeakPtrSet< Datawells_
 

Static Protected Attributes

static const UnitOfMeasuredepthdisplayunit_
 
static const UnitOfMeasuredepthstorageunit_
 
static Manmgr_
 

Friends

ManMGR ()
 

Detailed Description

Well manager.

<>

Constructor & Destructor Documentation

◆ ~Man()

Well::Man::~Man ( )

◆ Man()

Well::Man::Man ( )
protected

Member Function Documentation

◆ addNew()

RefMan< Data > Well::Man::addNew ( const MultiID & ,
LoadReqs lreq = LoadReqs(false) )
protected

◆ checkForUndeletedRef()

void Well::Man::checkForUndeletedRef ( CallBacker * )
protected

◆ cleanupNullPtrs()

void Well::Man::cleanupNullPtrs ( )

◆ deleteLogs()

bool Well::Man::deleteLogs ( const MultiID & ,
const BufferStringSet &  )

◆ deleteMarkers()

bool Well::Man::deleteMarkers ( const MultiID & ,
const BufferStringSet &  )

◆ dumpMgrInfo()

static void Well::Man::dumpMgrInfo ( StringPairSet & )
static

◆ errMsg()

uiString Well::Man::errMsg ( ) const
inline

◆ get() [1/3]

RefMan< Data > Well::Man::get ( const DBKey & ,
LoadReqs  )

◆ get() [2/3]

RefMan< Data > Well::Man::get ( const MultiID & )

◆ get() [3/3]

RefMan< Data > Well::Man::get ( const MultiID & ,
LoadReqs  )

◆ getAllLogNames()

static bool Well::Man::getAllLogNames ( BufferStringSet & ,
bool onlyloaded = false )
static

◆ getAllMarkerInfo()

static bool Well::Man::getAllMarkerInfo ( BufferStringSet & ,
TypeSet< OD::Color > & ,
bool onlyloaded = false )
static

◆ getAllMarkerNames() [1/2]

static bool Well::Man::getAllMarkerNames ( BufferStringSet & ,
bool onlyloaded = false )
static

◆ getAllMarkerNames() [2/2]

static bool Well::Man::getAllMarkerNames ( BufferStringSet & ,
const RefObjectSet< const Data > &  )
static

◆ getAllMnemonics()

static bool Well::Man::getAllMnemonics ( MnemonicSelection & ,
bool onlyloaded = false )
static

◆ getLogIDs() [1/2]

static void Well::Man::getLogIDs ( const MultiID & ,
const BufferStringSet & ,
TypeSet< int > &  )
static

◆ getLogIDs() [2/2]

static void Well::Man::getLogIDs ( const MultiID & ,
const MnemonicSelection & ,
TypeSet< int > &  )
static

◆ getLogNames()

static bool Well::Man::getLogNames ( const MultiID & ,
BufferStringSet & ,
bool forceLoad = false )
static

◆ getLogNamesByID()

static bool Well::Man::getLogNamesByID ( const MultiID & ,
BufferStringSet & ,
bool onlyloaded = false )
static

◆ getMapLocation()

Coord Well::Man::getMapLocation ( const MultiID & ) const

◆ getMarkerNames()

static bool Well::Man::getMarkerNames ( BufferStringSet & )
static

◆ getMarkersByID() [1/3]

static bool Well::Man::getMarkersByID ( const MultiID & ,
BufferStringSet &  )
static

◆ getMarkersByID() [2/3]

static bool Well::Man::getMarkersByID ( const MultiID & ,
BufferStringSet & ,
TypeSet< OD::Color > &  )
static

◆ getMarkersByID() [3/3]

static bool Well::Man::getMarkersByID ( const MultiID & ,
BufferStringSet & ,
TypeSet< OD::Color > & ,
TypeSet< float > &  )
static

◆ getMnemonicOfLog()

const Mnemonic * Well::Man::getMnemonicOfLog ( const char * lognm) const

◆ getWellKeys()

static bool Well::Man::getWellKeys ( TypeSet< MultiID > & ,
bool onlyloaded = false )
static

◆ getWellNames()

static bool Well::Man::getWellNames ( BufferStringSet & ,
bool onlyloaded = false )
static

◆ getWellsAddedToDB()

const TypeSet< MultiID > & Well::Man::getWellsAddedToDB ( ) const
inline

◆ gtByKey()

int Well::Man::gtByKey ( const MultiID & ) const
protected

◆ isLoaded()

bool Well::Man::isLoaded ( const MultiID & ) const

◆ isReloading()

bool Well::Man::isReloading ( ) const

◆ loadState()

Well::LoadReqs Well::Man::loadState ( const MultiID & ) const

◆ readReqData()

bool Well::Man::readReqData ( const MultiID & ,
Data & ,
LoadReqs  )
protected

◆ reload()

bool Well::Man::reload ( const MultiID & ,
LoadReqs lreq = LoadReqs(false) )

◆ reloadAll()

void Well::Man::reloadAll ( )
protected

◆ reloadDispPars()

bool Well::Man::reloadDispPars ( const MultiID & ,
bool for2d = false )

◆ reloadLogs()

bool Well::Man::reloadLogs ( const MultiID & )

◆ removeObject() [1/2]

void Well::Man::removeObject ( const Data * )

◆ removeObject() [2/2]

void Well::Man::removeObject ( const MultiID & )

◆ renameLog()

static bool Well::Man::renameLog ( const TypeSet< MultiID > & ,
const char * oldnm,
const char * newnm )
static

◆ surveyDepthDisplayUnit()

static const UnitOfMeasure * Well::Man::surveyDepthDisplayUnit ( )
static

◆ surveyDepthStorageUnit()

static const UnitOfMeasure * Well::Man::surveyDepthStorageUnit ( )
static

◆ validID()

bool Well::Man::validID ( const MultiID & ) const

◆ wellAddedToDB()

void Well::Man::wellAddedToDB ( CallBacker * )
protected

◆ wellDirPath()

static const BufferString Well::Man::wellDirPath ( )
static

◆ wellEntriesRemovedCB()

void Well::Man::wellEntriesRemovedCB ( CallBacker * )
protected

◆ wellEntryRemovedCB()

void Well::Man::wellEntryRemovedCB ( CallBacker * )
protected

◆ wells()

WeakPtrSet< Data > & Well::Man::wells ( )
inline

◆ writeAndRegister() [1/2]

bool Well::Man::writeAndRegister ( const MultiID & ,
ObjectSet< Log > &  )

Returns empty set if all succeeded.

◆ writeAndRegister() [2/2]

bool Well::Man::writeAndRegister ( const MultiID & ,
PtrMan< Log > &  )

Log becomes mine.

Friends And Related Symbol Documentation

◆ MGR

Man & MGR ( )
friend

Member Data Documentation

◆ dbaddedwellsids_

TypeSet<MultiID> Well::Man::dbaddedwellsids_
protected

◆ depthdisplayunit_

const UnitOfMeasure* Well::Man::depthdisplayunit_
staticprotected

◆ depthstorageunit_

const UnitOfMeasure* Well::Man::depthstorageunit_
staticprotected

◆ errmsg_

uiString Well::Man::errmsg_
protected

◆ isreloading_

bool Well::Man::isreloading_ = false
protected

◆ mgr_

Man* Well::Man::mgr_
staticprotected

◆ wells_

WeakPtrSet<Data> Well::Man::wells_
protected

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