UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
dba::Seismic Class Referenceabstract

#include <dba_seismic.hpp>

Inheritance diagram for dba::Seismic:
dba::LdbSeismic dba::LdbSeismicPolycor

Public Member Functions

virtual ~Seismic ()
 
virtual Seismicclone () const
 
virtual unsigned int getSamplesNum () const =0
 
virtual Trace::TimeT getTimeStep () const =0
 
virtual Trace::TimeT getT0 () const =0
 
virtual unsigned int getTracesNum () const =0
 
virtual bool getTrace (unsigned int id, Trace &tr) const =0
 
bool getWaveField (const Trace::Header &def_hdr, WaveField &wf) const
 
virtual bool getHeader (unsigned int id, Trace::Header &hdr) const =0
 
virtual bool getIndexies (const Trace::Header::AttrId &hdr_attr, std::set< int > &ids) const =0
 
virtual void appendRule (const SortingRuleType type, const Trace::Header::AttrId &hdr_attr) const =0
 
virtual void appendRule (const MatchingRuleType type, const Trace::Header::AttrId &hdr_attr, const int id) const =0
 
virtual void resetRules () const =0
 
virtual bool appendTrace (const Trace &tr)=0
 
virtual bool setTrace (unsigned int id, Trace &tr)=0
 

Detailed Description

Abstract data base access interface for operations with traces.

Constructor & Destructor Documentation

virtual dba::Seismic::~Seismic ( )
virtual

Destructs object.

Member Function Documentation

virtual void dba::Seismic::appendRule ( const SortingRuleType  type,
const Trace::Header::AttrId hdr_attr 
) const
pure virtual

Append new sorting rule.

Implemented in dba::LdbSeismic.

virtual void dba::Seismic::appendRule ( const MatchingRuleType  type,
const Trace::Header::AttrId hdr_attr,
const int  id 
) const
pure virtual

Append new matching rule.

Implemented in dba::LdbSeismic.

virtual bool dba::Seismic::appendTrace ( const Trace tr)
pure virtual

Appends new trace into set of traces (has to be opened for writing).

Implemented in dba::LdbSeismic.

virtual Seismic* dba::Seismic::clone ( ) const
inlinevirtual

Clones this object. Result should be deleted by user.

Reimplemented in dba::LdbSeismic, and dba::LdbSeismicPolycor.

virtual bool dba::Seismic::getHeader ( unsigned int  id,
Trace::Header hdr 
) const
pure virtual
Get header of trace with provided id from DB. 

All header attributes had been set will be filled. Returns false on error.

Implemented in dba::LdbSeismic, and dba::LdbSeismicPolycor.

virtual bool dba::Seismic::getIndexies ( const Trace::Header::AttrId hdr_attr,
std::set< int > &  ids 
) const
pure virtual

Get indexies for provided header attribute. Return false on error.

Implemented in dba::LdbSeismic.

virtual unsigned int dba::Seismic::getSamplesNum ( ) const
pure virtual

Get number of samples. Assume, all traces has equal number of samples.

Implemented in dba::LdbSeismic.

virtual Trace::TimeT dba::Seismic::getT0 ( ) const
pure virtual

Get zero time. Assume, all traces has equal time step.

Implemented in dba::LdbSeismic.

virtual Trace::TimeT dba::Seismic::getTimeStep ( ) const
pure virtual

Get timestep. Assume, all traces has equal time step.

Implemented in dba::LdbSeismic.

virtual bool dba::Seismic::getTrace ( unsigned int  id,
Trace tr 
) const
pure virtual
Get trace with provided id from DB. 

All header attributes had been set will be filled. Returns false on error.

Implemented in dba::LdbSeismic, and dba::LdbSeismicPolycor.

virtual unsigned int dba::Seismic::getTracesNum ( ) const
pure virtual

Returns number of traces.

Implemented in dba::LdbSeismic, and dba::LdbSeismicPolycor.

bool dba::Seismic::getWaveField ( const Trace::Header def_hdr,
WaveField wf 
) const
Get WaveField of traces with current selection. If provided WaveField is not empty,

traces will be appended into the tail. All attributed inside the default header will be filled.

virtual void dba::Seismic::resetRules ( ) const
pure virtual

Reset all rules appended.

Implemented in dba::LdbSeismic.

virtual bool dba::Seismic::setTrace ( unsigned int  id,
Trace tr 
)
pure virtual

Replace trace with provided id to DB. Return false on error.

Implemented in dba::LdbSeismic.


The documentation for this class was generated from the following file: