Public Member Functions | Protected Member Functions | List of all members
cyclus::XMLFlatLoader Class Reference

Detailed Description

a class that encapsulates the methods needed to load input to a cyclus simulation from xml

Definition at line 16 of file xml_flat_loader.h.

#include <xml_flat_loader.h>

Inheritance diagram for cyclus::XMLFlatLoader:

Public Member Functions

void LoadInitialAgents ()
 XMLFlatLoader (Recorder *r, QueryableBackend *b, std::string schema_path, const std::string load_filename="")
- Public Member Functions inherited from cyclus::XMLFileLoader
virtual void LoadSim ()
 XMLFileLoader (Recorder *r, QueryableBackend *b, std::string schema_file, const std::string input_file="")
virtual ~XMLFileLoader ()

Protected Member Functions

virtual std::string master_schema ()
- Protected Member Functions inherited from cyclus::XMLFileLoader
AgentBuildAgent (std::string proto, Agent *parent)
void LoadControlParams ()
void LoadRecipe (InfileTree *qe)
void LoadRecipes ()
void LoadSolver ()
void LoadSpecs ()
void ProcessCommodities (std::map< std::string, double > *commodity_priority)

Additional Inherited Members

- Protected Attributes inherited from cyclus::XMLFileLoader
std::string file_
boost::shared_ptr< XMLParserparser_
std::string schema_path_
std::map< std::string, AgentSpecspecs_
Timer ti_

Constructor & Destructor Documentation

cyclus::XMLFlatLoader::XMLFlatLoader ( Recorder r,
QueryableBackend b,
std::string  schema_path,
const std::string  load_filename = "" 

Definition at line 18 of file xml_flat_loader.h.

Member Function Documentation

void cyclus::XMLFlatLoader::LoadInitialAgents ( )

Creates all initial agent instances from the input file.

Reimplemented from cyclus::XMLFileLoader.

Definition at line 47 of file

std::string cyclus::XMLFlatLoader::master_schema ( )

Reimplemented from cyclus::XMLFileLoader.

Definition at line 43 of file

The documentation for this class was generated from the following files: