UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
zd_seismic_file.hpp
1 /* zd_seismic_file.hpp */
2 /* $Id: zd_seismic_file.hpp,v 1.9 2007/11/27 13:30:33 vlad Exp $ */
3 #ifndef __zd_seismic_file_hpp
4 #define __zd_seismic_file_hpp
5 
6 #include "zd_coord_obj_stream.hpp"
7 #include "zqb_real_trace.hpp"
8 
9 
18 {
19 public:
20 
23  ZdSeismicFile (const char* szDocName = NULL);
24 
25 
27  virtual const ZqbAbstrTrace& tracePar () const = 0;
28 
32  virtual bool modify ();
33 
36  virtual bool isModifiable () const;
37 
38 
39  /*
40  * Iterator methods.
41  */
42 
45  virtual const ZqbRealTrace& trace (int ens_index = 0) = 0;
46 
49  virtual const ZqbHeader& header (int ens_index = 0);
50 
54  virtual bool setSamples (const float* pSamples,
55  int ens_index = 0);
56 
60  virtual bool setHeader (const ZqbHeader& hdr,
61  int ens_index = 0);
62 
68  virtual bool setTrace (const ZqbRealTrace& rtr,
69  int ens_index = 0);
70 
74  virtual int traceId (int ens_index = 0) = 0;
75 
76 
77  /*
78  * Additional service
79  */
80 
85  virtual void globalAmplInfo (double pfAmm[2]);
86 
87 
90  virtual const char* coordMeaning () const;
91 
93  virtual const char* coordUnit () const;
94 
96  virtual const char* timeMeaning () const;
97 
99  virtual const char* timeUnit () const;
100 
101  /*
102  * Run-time type identification facility
103  */
104 
107  virtual bool compatibleType (const char* szType) const;
108 
109 
110 private:
111 
113  static int s_iNameCounter;
114 
116  static char *s_szOwnType;
117 
118 };
119 
120 
121 #endif /* zd_seismic_file.hpp */
virtual const ZqbAbstrTrace & tracePar() const =0
virtual const char * coordUnit() const
virtual const char * timeUnit() const
ZdSeismicFile(const char *szDocName=NULL)
Definition: zqb_header.hpp:27
virtual const ZqbHeader & header(int ens_index=0)
virtual bool modify()
Definition: zd_coord_obj_stream.hpp:15
Definition: zd_seismic_file.hpp:17
virtual bool isModifiable() const
virtual bool setSamples(const float *pSamples, int ens_index=0)
Definition: zqb_abstr_trace.hpp:13
Definition: zqb_real_trace.hpp:19
virtual const char * timeMeaning() const
virtual const ZqbRealTrace & trace(int ens_index=0)=0
virtual bool setTrace(const ZqbRealTrace &rtr, int ens_index=0)
virtual bool setHeader(const ZqbHeader &hdr, int ens_index=0)
virtual int traceId(int ens_index=0)=0
virtual bool compatibleType(const char *szType) const
virtual void globalAmplInfo(double pfAmm[2])
virtual const char * coordMeaning() const