DATRW++ library: seismic data I/O with multiple formats
datrw::mseed::SEED::Steim2Frame Class Reference

#include <seedstructs.h>

Inheritance diagram for datrw::mseed::SEED::Steim2Frame:
Collaboration diagram for datrw::mseed::SEED::Steim2Frame:

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

 Steim2Frame (const char *p, const bool &swap=false)
 
virtual ~Steim2Frame ()
 
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...
 

Detailed Description

a structure holding a Steim 2 frame

Definition at line 563 of file seedstructs.h.


The documentation for this class was generated from the following files: