Electromagnetic Template Library (EMTL)
Loading...
Searching...
No Matches
iter_sep_checker< iter_t > Struct Template Reference

Class used to detect whether a separator is needed for current iterator in text output (used to draw gnuplot graphs). More...

#include <analyzer.h>

Static Public Member Functions

static int need_separator (const iter_t &it, int pmode, int dsep=0)
 

Detailed Description

template<class iter_t>
struct iter_sep_checker< iter_t >

Class used to detect whether a separator is needed for current iterator in text output (used to draw gnuplot graphs).

If pmode>=0, the corresponding endup coordinate (coord==pmode reaching end-of-sequence) causes a single separator. Also determines a behaviour to put double separator: dsep=0 never, dsep = 1 at all endup coords starting <=pmode, dsep =2 at each next endup coord after pmode (<pmode).

Member Function Documentation

◆ need_separator()

template<class iter_t >
static int iter_sep_checker< iter_t >::need_separator ( const iter_t &  it,
int  pmode,
int  dsep = 0 
)
inlinestatic
Returns
the number of separators needed

The documentation for this struct was generated from the following file: