conv/many suite: convert (m)any seismic data format(s)

◆ shape()

Tshape Series::shape ( ) const
inline

Definition at line 200 of file anyextract.cc.

References Mds, Mfs, Mis, Mselectd, Mselecti, and selected().

Referenced by first(), and last().

201  {
202  Tshape retval;
203  TFXX_assert(this->selected(), "ERROR (Series): no type is selected!\n"
204  "internal inconsistency to be considered a bug");
205  if (Mselectd)
206  { retval=Mds.shape(); }
207  else if (Mselecti)
208  { retval=Mis.shape(); }
209  else
210  { retval=Mfs.shape(); }
211  return(retval);
212  }
Tds Mds
Definition: anyextract.cc:225
bool selected() const
Definition: anyextract.cc:175
Tis Mis
Definition: anyextract.cc:227
Tis::Tshape Tshape
Definition: anyextract.cc:172
bool Mselecti
Definition: anyextract.cc:219
Tfs Mfs
Definition: anyextract.cc:229
bool Mselectd
Definition: anyextract.cc:221
Here is the call graph for this function:
Here is the caller graph for this function: