Fortran SFF API to data I/O streams in C++

◆ setwid2() [1/2]

void fapidxx::WID2container::setwid2 ( const std::string &  line)

fill data fields from a conventional WID2 line

set WID2 data from a string

This function sets the data in WID2container::wid2 from an input character string.

Note
This function does NOT decode the special WID2 string format.
Parameters
lineWID2 line character sequence (input value)

Definition at line 54 of file wid2container.cc.

References wasascii, and wid2.

Referenced by setwid2(), and WID2container().

55  {
56  std::istringstream is(line);
57  this->wid2.read(is);
58  this->wasascii=true;
59  } // void WID2container::setwid2(const std::string& line)
sff::WID2 wid2
WID2 data.
bool wasascii
true, if original data was ASCII encoded
Here is the caller graph for this function: