13 namespace InlineEraseNamedObjEnv
56 XMLReader inputtop(xml, path);
69 XMLReader paramtop(xml_in, path);
71 if (paramtop.count(
"Frequency") == 1)
81 QDPIO::cerr << __func__ <<
": caught Exception reading XML: " << e << std::endl;
105 push(xml_out,
"erase_named_obj");
106 write(xml_out,
"update_no", update_no);
108 QDPIO::cout <<
name <<
": object erase" << std::endl;
118 QDPIO::cout <<
"Object erased" << std::endl;
120 catch( std::bad_cast )
122 QDPIO::cerr <<
name <<
": cast error"
128 QDPIO::cerr <<
name <<
": error message: " << e
133 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.
bool registerAll()
Register all the factories.
void read(XMLReader &xml, const std::string &path, Params::NamedObject_t &input)
Object buffer.
void write(XMLWriter &xml, const std::string &path, const Params::NamedObject_t &input)
Object buffer.
Asqtad Staggered-Dirac operator.
push(xml_out,"Condensates")
struct Chroma::InlineEraseNamedObjEnv::Params::NamedObject_t named_obj
void writeXML(XMLWriter &xml_out, const std::string &path)