FACT++  1.0
Converter::Converter ( std::ostream &  out,
const std::string &  fmt,
bool  strict = true 
)

Compiles the format string into fList. See Compile() for more details.

Parameters
outOutput stream to which possible logging is redirected
fmtFormat to be compiled. For details see class reference
strictSetting this to true allows non DIM options, whiel false will restrict the possible format strings to the ones also understood by DIM.

Definition at line 482 of file Converter.cc.

483 : wout(out), fFormat(Clean(fmt)), fList(Compile(out, fmt, strict))
484 {
485 }
std::ostream & wout
Definition: Converter.h:30
static std::string Clean(std::string s)
Definition: Converter.cc:93
static FormatList Compile(std::ostream &out, const std::string &fmt, bool strict=false)
Definition: Converter.cc:774
const FormatList fList
Original format string.
Definition: Converter.h:33
const std::string fFormat
ostream to which output is redirected
Definition: Converter.h:32