OpendTect  6.6
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
PosInfo::Survey2D Class Reference

Repository for 2D line geometries. More...

Inheritance diagram for PosInfo::Survey2D:
[legend]

Public Types

typedef Line2DKey::IdxType IdxType
 

Public Member Functions

 ~Survey2D ()
 
const char * curLineSet () const
 
IdxType curLineSetID () const
 
bool getGeometry (const Line2DKey &, Line2DData &) const
 thread safe More...
 
bool getGeometry (IdxType lid, Line2DData &) const
 
bool getGeometry (Line2DData &) const
 using lineName() More...
 
Line2DKey getLine2DKey (const char *lsnm, const char *linenm) const
 
const char * getLineFileNm (const char *lsnm, const char *lnm) const
 
IdxType getLineID (const char *) const
 
void getLineIDs (TypeSet< IdxType > &, IdxType lsid) const
 
const char * getLineName (IdxType lineid) const
 
void getLines (BufferStringSet &, const char *lsnm=0) const
 
void getLines (BufferStringSet &, IdxType lsid) const
 
const char * getLineSet (IdxType lsid) const
 
IdxType getLineSetID (const char *) const
 
void getLineSets (BufferStringSet &nms) const
 
const char * getLSFileNm (const char *lsnm) const
 
bool hasLine (const char *lnm, const char *lsnm=0) const
 
bool hasLine (IdxType lineid, IdxType lsid=-1) const
 
bool hasLineSet (const char *) const
 
bool hasLineSet (IdxType lsid) const
 
bool isEmpty () const
 
bool readDistBetwTrcsStats (const char *linemn, float &max, float &median) const
 
void removeLine (const char *)
 
void removeLine (IdxType lid)
 
void removeLineSet (const char *)
 
void removeLineSet (IdxType lsid)
 
void renameLine (const char *oldnm, const char *newnm)
 
void renameLineSet (const char *, const char *)
 
void setCurLineSet (const char *) const
 
void setCurLineSet (IdxType lsid) const
 
bool setGeometry (const Line2DData &)
 
- 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. More...
 
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. More...
 
void stopReceivingNotifications () const
 

Static Public Member Functions

static void initClass ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Protected Member Functions

IdxType getNewID (IOPar &)
 
void updateMaxID (IdxType, IOPar &)
 

Private Member Functions

 Survey2D ()
 
void getIDs (const IOPar &, TypeSet< IdxType > &) const
 
BufferString getIdxTimeStamp (const char *lsnm=0) const
 
void getKeys (const IOPar &, BufferStringSet &) const
 
int getLineIdx (IdxType lineid) const
 
int getLineSetIdx (IdxType lsid) const
 
BufferString getNewStorageName (const char *, const FilePath &, const IOPar &) const
 
bool isIdxFileNew (const char *lsnm=0) const
 
void readIdxFiles ()
 
void writeIdxFile (bool) const
 

Static Private Member Functions

static void readIdxFile (const char *, IOPar &)
 

Private Attributes

FilePathbasefp_
 
BufferString curlstimestr_
 
IOParlineindex_
 
Threads::Lock lock_
 
FilePathlsfp_
 
IOParlsindex_
 
BufferString lsnm_
 

Friends

const Survey2DS2DPOS ()
 Your read-access to the 2D line geometry database. More...
 

Detailed Description

Repository for 2D line geometries.

<>

Member Typedef Documentation

◆ IdxType

Constructor & Destructor Documentation

◆ Survey2D()

PosInfo::Survey2D::Survey2D ( )
private

◆ ~Survey2D()

PosInfo::Survey2D::~Survey2D ( )

Member Function Documentation

◆ curLineSet()

const char* PosInfo::Survey2D::curLineSet ( ) const
inline

◆ curLineSetID()

IdxType PosInfo::Survey2D::curLineSetID ( ) const

◆ getGeometry() [1/3]

bool PosInfo::Survey2D::getGeometry ( const Line2DKey ,
Line2DData  
) const

thread safe

◆ getGeometry() [2/3]

bool PosInfo::Survey2D::getGeometry ( IdxType  lid,
Line2DData  
) const

◆ getGeometry() [3/3]

bool PosInfo::Survey2D::getGeometry ( Line2DData ) const

using lineName()

◆ getIDs()

void PosInfo::Survey2D::getIDs ( const IOPar ,
TypeSet< IdxType > &   
) const
private

◆ getIdxTimeStamp()

BufferString PosInfo::Survey2D::getIdxTimeStamp ( const char *  lsnm = 0) const
private

◆ getKeys()

void PosInfo::Survey2D::getKeys ( const IOPar ,
BufferStringSet  
) const
private

◆ getLine2DKey()

Line2DKey PosInfo::Survey2D::getLine2DKey ( const char *  lsnm,
const char *  linenm 
) const

◆ getLineFileNm()

const char* PosInfo::Survey2D::getLineFileNm ( const char *  lsnm,
const char *  lnm 
) const

◆ getLineID()

IdxType PosInfo::Survey2D::getLineID ( const char *  ) const

◆ getLineIDs()

void PosInfo::Survey2D::getLineIDs ( TypeSet< IdxType > &  ,
IdxType  lsid 
) const

◆ getLineIdx()

int PosInfo::Survey2D::getLineIdx ( IdxType  lineid) const
private

◆ getLineName()

const char* PosInfo::Survey2D::getLineName ( IdxType  lineid) const

◆ getLines() [1/2]

void PosInfo::Survey2D::getLines ( BufferStringSet ,
const char *  lsnm = 0 
) const

◆ getLines() [2/2]

void PosInfo::Survey2D::getLines ( BufferStringSet ,
IdxType  lsid 
) const

◆ getLineSet()

const char* PosInfo::Survey2D::getLineSet ( IdxType  lsid) const

◆ getLineSetID()

IdxType PosInfo::Survey2D::getLineSetID ( const char *  ) const

◆ getLineSetIdx()

int PosInfo::Survey2D::getLineSetIdx ( IdxType  lsid) const
private

◆ getLineSets()

void PosInfo::Survey2D::getLineSets ( BufferStringSet nms) const
inline

◆ getLSFileNm()

const char* PosInfo::Survey2D::getLSFileNm ( const char *  lsnm) const

◆ getNewID()

IdxType PosInfo::Survey2D::getNewID ( IOPar )
protected

◆ getNewStorageName()

BufferString PosInfo::Survey2D::getNewStorageName ( const char *  ,
const FilePath ,
const IOPar  
) const
private

◆ hasLine() [1/2]

bool PosInfo::Survey2D::hasLine ( const char *  lnm,
const char *  lsnm = 0 
) const

◆ hasLine() [2/2]

bool PosInfo::Survey2D::hasLine ( IdxType  lineid,
IdxType  lsid = -1 
) const

◆ hasLineSet() [1/2]

bool PosInfo::Survey2D::hasLineSet ( const char *  ) const

◆ hasLineSet() [2/2]

bool PosInfo::Survey2D::hasLineSet ( IdxType  lsid) const

◆ initClass()

static void PosInfo::Survey2D::initClass ( )
static

◆ isEmpty()

bool PosInfo::Survey2D::isEmpty ( ) const
inline

◆ isIdxFileNew()

bool PosInfo::Survey2D::isIdxFileNew ( const char *  lsnm = 0) const
private

◆ readDistBetwTrcsStats()

bool PosInfo::Survey2D::readDistBetwTrcsStats ( const char *  linemn,
float &  max,
float &  median 
) const

◆ readIdxFile()

static void PosInfo::Survey2D::readIdxFile ( const char *  ,
IOPar  
)
staticprivate

◆ readIdxFiles()

void PosInfo::Survey2D::readIdxFiles ( )
private

◆ removeLine() [1/2]

void PosInfo::Survey2D::removeLine ( const char *  )

◆ removeLine() [2/2]

void PosInfo::Survey2D::removeLine ( IdxType  lid)

◆ removeLineSet() [1/2]

void PosInfo::Survey2D::removeLineSet ( const char *  )

◆ removeLineSet() [2/2]

void PosInfo::Survey2D::removeLineSet ( IdxType  lsid)

◆ renameLine()

void PosInfo::Survey2D::renameLine ( const char *  oldnm,
const char *  newnm 
)

◆ renameLineSet()

void PosInfo::Survey2D::renameLineSet ( const char *  ,
const char *   
)

◆ setCurLineSet() [1/2]

void PosInfo::Survey2D::setCurLineSet ( const char *  ) const

◆ setCurLineSet() [2/2]

void PosInfo::Survey2D::setCurLineSet ( IdxType  lsid) const

◆ setGeometry()

bool PosInfo::Survey2D::setGeometry ( const Line2DData )

◆ updateMaxID()

void PosInfo::Survey2D::updateMaxID ( IdxType  ,
IOPar  
)
protected

◆ writeIdxFile()

void PosInfo::Survey2D::writeIdxFile ( bool  ) const
private

Friends And Related Function Documentation

◆ S2DPOS

const Survey2D& S2DPOS ( )
friend

Your read-access to the 2D line geometry database.

Member Data Documentation

◆ basefp_

FilePath& PosInfo::Survey2D::basefp_
private

◆ curlstimestr_

BufferString PosInfo::Survey2D::curlstimestr_
mutableprivate

◆ lineindex_

IOPar& PosInfo::Survey2D::lineindex_
private

◆ lock_

Threads::Lock PosInfo::Survey2D::lock_
mutableprivate

◆ lsfp_

FilePath& PosInfo::Survey2D::lsfp_
private

◆ lsindex_

IOPar& PosInfo::Survey2D::lsindex_
private

◆ lsnm_

BufferString PosInfo::Survey2D::lsnm_
private

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