3 #ifndef __s2_ldb_access_hpp
4 #define __s2_ldb_access_hpp
6 #include <s2proc/s2_abstract_db_access.hpp>
7 #include <mix/trselect.h>
72 virtual bool getCMPsIds(std::set<int> &ids)
const;
75 virtual bool getLIds(std::set<int> &ids)
const;
96 virtual bool getPSCDirs(std::set<int> &dirs)
const;
111 P2D(
int i_id1,
int i_id2) : id1(i_id1), id2(i_id2) {}
116 bool operator<(
const P2D &other)
const;
117 bool operator==(
const P2D &other)
const;
120 typedef std::multimap<P2D, int> P2DMap;
121 P2DMap m_p2d_sp_rp_map;
122 P2DMap m_p2d_sp_dp_map;
123 P2DMap m_p2d_rp_dp_map;
124 P2DMap m_p2d_sp_L_map;
125 P2DMap m_p2d_rp_L_map;
127 void make_p2d_map(
TrSet &trset,
PointType ptype, P2DMap &p2d_map);
float TimeT
Definition: trace.hpp:22
virtual bool getShotLinesIds(std::set< int > &ids) const
PointType
Definition: s2_abstract_db_access.hpp:20
Definition: s2_abstract_db_access.hpp:15
virtual S2AbstractDBAccess * clone() const
Definition: s2_ldb_access.hpp:21
virtual bool getTrace(int id, Trace &tr) const
virtual bool getLIds(std::set< int > &ids) const
virtual bool getShotsOnLineIds(int line_id, std::set< int > &ids) const
virtual bool getShotsIds(std::set< int > &ids) const
virtual bool getWaveField(const Trace::Header::AttrId &attr, int id, WaveField &wf) const
virtual bool getCMPsIds(std::set< int > &ids) const
Definition: wave_field.hpp:13
virtual bool appendTrace(const Trace &tr)
PointType3
Definition: s2_abstract_db_access.hpp:36
virtual bool getPSCDirs(std::set< int > &dirs) const
virtual int getSamplesNum() const
virtual bool getRecvLinesIds(std::set< int > &ids) const
Definition: s2_ldb_access.hpp:10
virtual bool getRecvsOnLineIds(int line_id, std::set< int > &ids) const
virtual bool getPSCStrides(std::set< int > &strides) const
TrSet * m_ptrset
Definition: s2_ldb_access.hpp:105
S2LDBAccess(TrSet &trset)
virtual bool getCompsIds(std::set< int > &ids) const
virtual Trace::TimeT getTimeStep() const
virtual bool getRecvsIds(std::set< int > &ids) const
virtual int getTracesNum() const