14 namespace InlineSZINWriteNamedObjEnv
73 XMLReader inputtop(xml, path);
82 XMLReader inputtop(xml, path);
94 if (inputtop.count(
"trunc") == 1)
114 XMLReader paramtop(xml_in, path);
116 if (paramtop.count(
"Frequency") == 1)
129 QDPIO::cerr << __func__ <<
": caught Exception reading XML: " << e << std::endl;
156 push(xml_out,
"szin_write_named_obj");
157 write(xml_out,
"update_no", update_no);
159 QDPIO::cout <<
name <<
": object writer" << std::endl;
181 QDPIO::cout <<
"Object successfully written: time= "
182 << swatch.getTimeInSeconds()
183 <<
" secs" << std::endl;
185 catch( std::bad_cast )
187 QDPIO::cerr <<
name <<
": cast error"
193 QDPIO::cerr <<
name <<
": error message: " << e
198 QDPIO::cout <<
name <<
": ran successfully" << std::endl;
Inline measurement factory.
Inline writing of memory objects.
void operator()(const unsigned long update_no, XMLWriter &xml_out)
Do the writing.
Inline task to write an object from a named buffer.
Named object function std::map.
static bool registered
Local registration flag.
const std::string name
Name to be used.
void write(XMLWriter &xml, const std::string &path, const Params::NamedObject_t &input)
Object buffer.
bool registerAll()
Register all the factories.
void read(XMLReader &xml, const std::string &path, Params::NamedObject_t &input)
Object buffer.
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
push(xml_out,"Condensates")
struct Chroma::InlineSZINWriteNamedObjEnv::Params::File_t file
void writeXML(XMLWriter &xml_out, const std::string &path)
struct Chroma::InlineSZINWriteNamedObjEnv::Params::NamedObject_t named_obj
Write object function std::map.