DATRW++ library: seismic data I/O with multiple formats
|
void datrw::tfascii::helper::extractvalue | ( | std::string & | line, |
bool | unit = false |
||
) |
split given string
This function will split a line after the following scheme:
number of samples: 1000 m will be converted into:
1000
line | reference to the line which will be splitted |
unit | if a value has a unit or not |
Definition at line 53 of file readtfascii.cc.
Referenced by datrw::tfascii::readfileheader(), and datrw::tfascii::readtraceheader().