39 #include <boost/core/ignore_unused.hpp>
63 if (!
m_f->m_exp.size())
69 string filename =
m_config[
"outfile"].as<
string>();
71 m_f->m_graph->WriteGeometry(filename);
72 cout <<
"Written file: " << filename << endl;
FieldSharedPtr m_f
Field object.
std::map< std::string, ConfigOption > m_config
List of configuration values.
Abstract base class for output modules.
virtual void Process(po::variables_map &vm)
Write fld to output file.
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.
std::shared_ptr< Field > FieldSharedPtr
std::pair< ModuleType, std::string > ModuleKey
ModuleFactory & GetModuleFactory()
The above copyright notice and this permission notice shall be included.