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

◆ base_report()

void fapidxx::error::Exception::base_report ( ) const
private

Screen report.

report

Definition at line 100 of file error.cc.

References Mcondition, Mfile, Mline, and Mmessage.

Referenced by report().

101  {
102  std::cout.flush();
103  cerr << "Exception report:" << endl;
104  if (Mmessage==NULL)
105  {
106  cerr << " No message" << endl;
107  }
108  else
109  {
110  cerr << " message: " << Mmessage << endl;
111  }
112  if (Mfile!=NULL)
113  {
114  cerr << " triggered in \"" << Mfile << "\" at line #" << Mline << endl;
115  }
116  if (Mcondition!=NULL)
117  {
118  cerr << " by test condition:" << endl
119  << " \"" << Mcondition << "\"" << endl;
120  }
121  cerr.flush();
122  }
const char * Mcondition
pointer to assertion condition text string
Definition: error.h:112
const char * Mmessage
pointer to message string
Definition: error.h:106
const char * Mfile
pointer to file name string
Definition: error.h:108
const int & Mline
pointer to line number in source file
Definition: error.h:110
Here is the caller graph for this function: