|
DATRW++ library: seismic data I/O with multiple formats
|
#include <seedstructs.h>


Public Types | |
| enum | ESteimControl { Fspecial =0, Fbyte =1, Fhw =2, Ffw =3, Fdnib1 =2, Fdnib2 =3 } |
| possible control codes More... | |
| typedef SteimFrame | Tbase |
Public Member Functions | |
| Steim1Frame (const char *p, const bool &swap=false) | |
| virtual | ~Steim1Frame () |
| unsigned int | control () const |
| return control word More... | |
| ESteimControl | ctrl (const int &i) const |
return control code for word i More... | |
| SteimFrame::ESteimControl | ctrl () const |
| return control code for current word More... | |
| virtual int | diff () const |
| return current difference value More... | |
| int | idiff () const |
| return current difference index More... | |
| int | iword () const |
| return current word index More... | |
| void | next () |
| step to next difference value More... | |
| void | read (const char *p, const bool &swap=false) |
| read data from pointer More... | |
| void | reset () |
| step to first difference value More... | |
| virtual void | setn () |
| set Mn for current word (compression type specific) More... | |
| virtual void | swap () |
| swapping must be performed differently for Steim1 and Steim2 More... | |
| bool | valid () const |
| we are still inside the frame More... | |
| int | word (const int &i) const |
return data word i More... | |
| int | word () const |
| return current data word More... | |
Static Public Attributes | |
| static const int | blocksize =16*sizeof(int) |
| size of frame in bytes More... | |
| static const int | nwords =15 |
| numer of words to process More... | |
Protected Attributes | |
| FrameData | Mdata |
| frame data (swapped) More... | |
| int | Mn |
| number of differences in this word More... | |
a structure holding a Steim 1 frame
Definition at line 544 of file seedstructs.h.