50 "Writes an XML file.");
63 if(!
m_f->m_exp.size())
70 cout <<
"OutputXml: Writing file..." << endl;
74 string filename =
m_config[
"outfile"].as<
string>();
76 m_f->m_graph->WriteGeometry(filename);
77 cout <<
"Written file: " << filename << endl;
pair< ModuleType, string > ModuleKey
Abstract base class for output modules.
map< string, ConfigOption > m_config
List of configuration values.
FieldSharedPtr m_f
Field object.
boost::shared_ptr< Field > FieldSharedPtr
ModuleFactory & GetModuleFactory()
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, tDescription pDesc="")
Register a class with the factory.