Electromagnetic Template Library (EMTL)
|
This class is used while printing results to text files Results correspond to set of argument (positions in space / time) This class specifies file name for each argument, and checks if results for some particular argument should be printed. More...
#include <analyzer.h>
Public Member Functions | |
void | SetOutputMode (int four, int arg=argAll) |
Sets the output representation. | |
template<class iter_t > | |
int | GetFileName (std::string &fname, const emRecArg &r, iter_t &it) |
Gets filename or -1 if this entry is to be skipped returns the number of separators ' ' to print | |
template<class iter_t > | |
int | CheckIterator (iter_t &it) |
returns 1 if this iterator should be printed, or -1 if it should be skipped | |
virtual int | CheckEntry (const emRecArg &r) |
returns 1 if this argument should be printed, or -1 if it should be skipped | |
virtual int | process (std::vector< vec_type > &vout, const emRecArg &r, int refnum=0) |
records to vout list of argument values to print | |
This class is used while printing results to text files Results correspond to set of argument (positions in space / time) This class specifies file name for each argument, and checks if results for some particular argument should be printed.
void emPoint2File::SetOutputMode | ( | int | four, |
int | arg = argAll |
||
) |
Sets the output representation.
Bit flag four: 0x1 - frequency instead of time, 0x2 - k-vector insted of x-vector arg corresponds to which arguments should be printed (x, y, z, t).