DATRW++ library: seismic data I/O with multiple formats

◆ extract()

void datrw::tfascii::helper::extract ( std::string &  line)

splits a given string after the colon

This helper function implements the same functionality as TfasciiContainer::extractvalue. The only difference is that now a string will be splitted after colon.

Parameters
linestring which will be splitted after its colon

Definition at line 67 of file readtfascii.cc.

Referenced by datrw::tfascii::readfileheader(), and datrw::tfascii::readtraceheader().

68  {
69  line = line.substr(line.find(":")+1);
70  } // function extract
Here is the caller graph for this function: