3 #ifndef __hds_db_seismic_hpp
4 #define __hds_db_seismic_hpp
7 #include <hds_db/base/object.hpp>
8 #include <hds_db/base/tr_header.hpp>
9 #include <hds_db/base/volume_header.hpp>
10 #include <hds_db/base/tr_selector.hpp>
24 Seismic(
const std::string &project_str);
virtual ErrCode setTrHeader(size_t id, const TrHeader &hdr)
virtual ErrCode setTrBody(size_t id, const TrBody &body)
const TrHeader & getDefaultTrHeader() const
Definition: seismic.hpp:19
uint64_t DbIndex
Definition: defines.hpp:26
virtual const TrHeader & trHeader(size_t id, ErrCode *prc=NULL) const
virtual const TrSelector & getSelector() const =0
std::string m_project_str
Definition: seismic.hpp:115
ErrCode
Definition: defines.hpp:46
Definition: tr_selector.hpp:183
Seismic(const std::string &project_str)
virtual ErrCode appendTr(const TrHeader &header, const TrBody &body)=0
std::vector< AmplT > TrBody
Definition: defines.hpp:23
const std::string & getProject() const
virtual DbIndex rawDbIndex(size_t id, ErrCode *prc=NULL) const =0
virtual const TrHeader & rawTrHeader(const DbIndex &id, ErrCode *prc=NULL) const =0
virtual size_t tracesNum(ErrCode *prc=NULL) const =0
virtual const TrBody & trBody(size_t id, ErrCode *prc=NULL) const
virtual ErrCode select(const TrSelector &selector=TrSelector())=0
virtual ErrCode setVolumeHeader(const VolumeHeader &vol_header)=0
virtual ErrCode getVolumeHeader(VolumeHeader &vol_header) const =0
virtual const TrBody & rawTrBody(const DbIndex &id, ErrCode *prc=NULL) const =0
Definition: object.hpp:18
virtual ErrCode rawSetTrHeader(const DbIndex &id, const TrHeader &hdr)=0
virtual ErrCode eraseTr(size_t id)=0
virtual ErrCode rawSetTrBody(const DbIndex &id, const TrBody &body)=0