![]() |
CYCLUS
|
a class that encapsulates the methods needed to load input to a cyclus simulation from xml
Definition at line 28 of file xml_flat_loader.h.
#include <xml_flat_loader.h>
Public Member Functions | |
| void | LoadInitialAgents () |
| XMLFlatLoader (Recorder *r, QueryableBackend *b, std::string schema_path, const std::string load_filename="", const std::string format="none", bool ms_print=false) | |
Public Member Functions inherited from cyclus::XMLFileLoader | |
| virtual void | LoadSim () |
| XMLFileLoader (Recorder *r, QueryableBackend *b, std::string schema_file, const std::string input_file="", const std::string format="none", bool ms_print=false) | |
| virtual | ~XMLFileLoader () |
Protected Member Functions | |
| virtual std::string | master_schema () |
Protected Member Functions inherited from cyclus::XMLFileLoader | |
| Agent * | BuildAgent (std::string proto, Agent *parent) |
| void | LoadControlParams () |
| void | LoadPackages () |
| void | LoadRecipe (InfileTree *qe) |
| void | LoadRecipes () |
| void | LoadSolver () |
| void | LoadSpecs () |
| void | LoadTransportUnits () |
| void | ProcessCommodities (std::map< std::string, double > *commodity_priority) |
Additional Inherited Members | |
Protected Attributes inherited from cyclus::XMLFileLoader | |
| QueryableBackend * | b_ |
| Context * | ctx_ |
| std::string | file_ |
| std::string | format_ |
| bool | ms_print_ |
| boost::shared_ptr< XMLParser > | parser_ |
| Recorder * | rec_ |
| std::string | schema_path_ |
| std::map< std::string, AgentSpec > | specs_ |
| Timer | ti_ |
|
inline |
Definition at line 30 of file xml_flat_loader.h.
|
virtual |
Creates all initial agent instances from the input file.
Reimplemented from cyclus::XMLFileLoader.
Definition at line 61 of file xml_flat_loader.cc.
|
protectedvirtual |
Reimplemented from cyclus::XMLFileLoader.
Definition at line 57 of file xml_flat_loader.cc.