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

Compiles the format string into fList.

Output by default is redirected to cout.

Parameters
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 501 of file Converter.cc.

502 : wout(cout), fFormat(Clean(fmt)), fList(Compile(fmt, strict))
503 {
504 }
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