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

◆ write_magic()

void tfxx::fortranio::FortranBinOutput::write_magic ( const char *  cmagic)

write magic number (to separate block)

write magic number to file

Definition at line 184 of file fortranio.cc.

References end_block(), tfxx::ioswap::magic(), and put().

Referenced by tfxx::fortranio::operator<<().

185  {
186  this->end_block();
187  this->put(tfxx::ioswap::magic(cmagic));
188  this->end_block();
189  }
int magic(const char *const cmagic)
Create a magic number from a character string. ,If represents the input character sequence cmagic an...
Definition: ioswap.cc:59
void end_block()
finish data block
Definition: fortranio.cc:155
void put(const T &value)
put a value to the output
Definition: fortranio.h:253
Here is the call graph for this function:
Here is the caller graph for this function: