TF++, Miscellaneous classes and modules in C++:

◆ extract_chars()

void tfxx::fortranio::FortranBinInput::extract_chars ( char *  buf,
const int &  n 
)
private

extract next set of characters

extract a set of characters

Definition at line 128 of file fortranio.cc.

References extract_next_char(), and more().

Referenced by get().

129  {
130  for (int i=0; ((i<n) && more()); i++)
131  { buf[i]=extract_next_char(); }
132  }
char extract_next_char()
return next element from input stream
Definition: fortranio.cc:114
bool more() const
are there more data expected?
Definition: fortranio.h:145
Here is the call graph for this function:
Here is the caller graph for this function: