UNIVERS
15.3
UNIVERS base processing software API
|
#include <dba_ldb_seismic_polycor.hpp>
Public Member Functions | |
LdbSeismicPolycor (const std::string &project_str, const std::string &name_str, const AccessMode access_mode=OPEN_MODE, TrMtable *mt=NULL) | |
virtual | ~LdbSeismicPolycor () |
virtual Seismic * | clone () const |
virtual unsigned int | getTracesNum () const |
virtual bool | getTrace (unsigned int id, Trace &tr) const |
virtual bool | getHeader (unsigned int id, Trace::Header &hdr) const |
Public Member Functions inherited from dba::LdbSeismic | |
LdbSeismic (const std::string &project_str, const std::string &name_str, const AccessMode access_mode=OPEN_MODE, TrMtable *mt=NULL) | |
virtual | ~LdbSeismic () |
void | close () |
virtual unsigned int | getSamplesNum () const |
virtual Trace::TimeT | getTimeStep () const |
virtual Trace::TimeT | getT0 () const |
virtual bool | getIndexies (const Trace::Header::AttrId &hdr_attr, std::set< int > &ids) const |
virtual void | appendRule (const SortingRuleType type, const Trace::Header::AttrId &hdr_attr) const |
virtual void | appendRule (const MatchingRuleType type, const Trace::Header::AttrId &hdr_attr, const int id) const |
virtual void | resetRules () const |
virtual bool | appendTrace (const Trace &tr) |
virtual bool | setTrace (unsigned int id, Trace &tr) |
TrSet * | getTrSetPtr () |
Public Member Functions inherited from dba::Seismic | |
virtual | ~Seismic () |
bool | getWaveField (const Trace::Header &def_hdr, WaveField &wf) const |
Protected Types | |
typedef std::map< std::pair < int, int >, unsigned int > | IdsMap |
Protected Member Functions | |
bool | make_ids_map (TrSet &trset) |
bool | ids_selected_cond (const int attr_id1, const int attr_id2) const |
bool | get_id (IdsMap::const_iterator &it) const |
Protected Member Functions inherited from dba::LdbSeismic | |
void | ldb2hdr (const TrHeader &ldb_hdr, Trace::Header &hdr) const |
void | update_ldb_header (const Trace &tr, TrHeader &ldb_hdr) const |
bool | hdrAttr2name (const Trace::Header::AttrId &attr_id, TraceAttrId &ldb_attr_id) const |
bool | select () const |
bool | get_ldb_trace (unsigned int id, Trace &tr) const |
bool | get_ldb_header (unsigned int id, Trace::Header &hdr) const |
bool | set_ldb_trace (unsigned int id, Trace &tr) |
Protected Attributes | |
IdsMap | m_nsp_nrp_ids_map |
IdsMap | m_nrp_ndp_ids_map |
IdsMap | m_nrp_l_ids_map |
bool | m_ids_mapped_flag |
Protected Attributes inherited from dba::LdbSeismic | |
TrSet * | mp_trset |
std::vector< TsInclRule > | m_matching_rules_vec |
std::vector< TsSortRule > | m_sorting_rules_vec |
bool | m_selection_changed_flag |
Additional Inherited Members | |
Public Types inherited from dba::LdbSeismic | |
enum | AccessMode { OPEN_MODE = 0, EDIT_MODE, CREATE_MODE } |
Data base access interface for operations with LDB seismic traces. Optimized for speed for POLYCOR algorithm.
|
protected |
Map of indexies. Map of indexies for (NSP,NRP),(NSP,NDP) and (NSP,L) pairs.
dba::LdbSeismicPolycor::LdbSeismicPolycor | ( | const std::string & | project_str, |
const std::string & | name_str, | ||
const AccessMode | access_mode = OPEN_MODE , |
||
TrMtable * | mt = NULL |
||
) |
Constructor with LDB Project and seismic name provided.
mt | For create mode only. |
|
virtual |
Destructs object.
|
virtual |
Clones this object. Result should be deleted by user.
Reimplemented from dba::LdbSeismic.
|
protected |
Get id of index from cache. False if no cache or no indexies for caching.
|
virtual |
Get header of trace with provided id from DB.
All header attributes had been set will be filled. Returns false on error.
Reimplemented from dba::LdbSeismic.
|
virtual |
Get trace with provided id from DB.
All header attributes had been set will be filled. Returns false on error.
Reimplemented from dba::LdbSeismic.
|
virtual |
Returns number of traces.
Reimplemented from dba::LdbSeismic.
|
protected |
True if provided header words selected.
|
protected |
Make map of indexies for provide trset.
|
protected |
Indexies mapped flag.