CYCLUS
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:
cyclus::XMLFileLoader

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
QueryableBackendb_
 
Contextctx_
 
std::string file_
 
boost::shared_ptr< XMLParserparser_
 
Recorderrec_
 
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 = "" 
)
inline

Definition at line 18 of file xml_flat_loader.h.

Member Function Documentation

void cyclus::XMLFlatLoader::LoadInitialAgents ( )
virtual

Creates all initial agent instances from the input file.

Reimplemented from cyclus::XMLFileLoader.

Definition at line 47 of file xml_flat_loader.cc.

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

Reimplemented from cyclus::XMLFileLoader.

Definition at line 43 of file xml_flat_loader.cc.


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