OpendTect  7.0
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...

Public Member Functions

 ~Man ()
 
void checkForUndeletedRef ()
 
void cleanup ()
 
void cleanupNullPtrs ()
 
bool deleteLogs (const MultiID &, const BufferStringSet &)
 
const char * 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
 
bool isLoaded (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 &, const Log &)
 
bool writeAndRegister (const MultiID &, ObjectSet< Log > &)
 Returns empty set if all succeeded. More...
 
bool writeAndRegister (const MultiID &, PtrMan< Log > &)
 Log becomes mine. More...
 

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 ()
 

Protected Member Functions

 Man ()
 
RefMan< DataaddNew (const MultiID &, LoadReqs lreq=LoadReqs(false))
 
int gtByKey (const MultiID &) const
 
bool readReqData (const MultiID &, Data &, LoadReqs)
 

Protected Attributes

BufferString msg_
 
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 ( )

◆ cleanup()

void Well::Man::cleanup ( )

◆ cleanupNullPtrs()

void Well::Man::cleanupNullPtrs ( )

◆ deleteLogs()

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

◆ dumpMgrInfo()

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

◆ errMsg()

const char* 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

◆ gtByKey()

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

◆ isLoaded()

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

◆ readReqData()

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

◆ reload()

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

◆ 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

◆ wells()

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

◆ writeAndRegister() [1/3]

bool Well::Man::writeAndRegister ( const MultiID ,
const Log  
)

◆ writeAndRegister() [2/3]

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

Returns empty set if all succeeded.

◆ writeAndRegister() [3/3]

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

Log becomes mine.

Friends And Related Function Documentation

◆ MGR

Man& MGR ( )
friend

Member Data Documentation

◆ depthdisplayunit_

const UnitOfMeasure* Well::Man::depthdisplayunit_
staticprotected

◆ depthstorageunit_

const UnitOfMeasure* Well::Man::depthstorageunit_
staticprotected

◆ mgr_

Man* Well::Man::mgr_
staticprotected

◆ msg_

BufferString Well::Man::msg_
protected

◆ wells_

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

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