CYCAMORE
Public Member Functions | Public Attributes | List of all members
cycamore::SourceTest Class Reference

#include <source_tests.h>

Inheritance diagram for cycamore::SourceTest:

Public Member Functions

boost::shared_ptr< cyclus::ExchangeContext< cyclus::Material > > GetContext (int nreqs, std::string commodity)
 
boost::shared_ptr< cyclus::ExchangeContext< cyclus::Material > > GetContext (int nreqs, std::string commodity)
 
void InitParameters ()
 
void InitParameters ()
 
std::string outcommod (cycamore::Source *s)
 
std::string outcommod (cycamore::Source *s)
 
void outcommod (cycamore::Source *s, std::string commod)
 
void outcommod (cycamore::Source *s, std::string commod)
 
std::string outrecipe (cycamore::Source *s)
 
std::string outrecipe (cycamore::Source *s)
 
void outrecipe (cycamore::Source *s, std::string recipe)
 
void outrecipe (cycamore::Source *s, std::string recipe)
 
virtual void SetUp ()
 
virtual void SetUp ()
 
void SetUpSource ()
 
void SetUpSource ()
 
virtual void TearDown ()
 
virtual void TearDown ()
 
double throughput (cycamore::Source *s)
 
double throughput (cycamore::Source *s)
 
void throughput (cycamore::Source *s, double val)
 
void throughput (cycamore::Source *s, double val)
 

Public Attributes

double capacity
 
std::string commod
 
cyclus::Composition::Ptr recipe
 
std::string recipe_name
 
cycamore::Sourcesrc_facility
 
cyclus::TestContext tc
 
TestFacility * trader
 

Detailed Description

Definition at line 17 of file _tmp_build/cycamore/source_tests.h.

Member Function Documentation

boost::shared_ptr< cyclus::ExchangeContext< cyclus::Material > > cycamore::SourceTest::GetContext ( int  nreqs,
std::string  commodity 
)

Definition at line 127 of file _tmp_build/cycamore/source_tests.cc.

References trader.

Referenced by cycamore::TEST_F(), and throughput().

boost::shared_ptr<cyclus::ExchangeContext<cyclus::Material> > cycamore::SourceTest::GetContext ( int  nreqs,
std::string  commodity 
)
void cycamore::SourceTest::InitParameters ( )

Definition at line 24 of file _tmp_build/cycamore/source_tests.cc.

References capacity, commod, recipe, recipe_name, and tc.

Referenced by SetUp().

void cycamore::SourceTest::InitParameters ( )
std::string cycamore::SourceTest::outcommod ( cycamore::Source s)
inline

Definition at line 32 of file src/source_tests.h.

References cycamore::Source::outcommod.

std::string cycamore::SourceTest::outcommod ( cycamore::Source s)
inline

Definition at line 32 of file _tmp_build/cycamore/source_tests.h.

References cycamore::Source::outcommod.

Referenced by SetUpSource(), and cycamore::TEST_F().

void cycamore::SourceTest::outcommod ( cycamore::Source s,
std::string  commod 
)
inline

Definition at line 38 of file src/source_tests.h.

References commod, and cycamore::Source::outcommod.

void cycamore::SourceTest::outcommod ( cycamore::Source s,
std::string  commod 
)
inline

Definition at line 38 of file _tmp_build/cycamore/source_tests.h.

References commod, and cycamore::Source::outcommod.

std::string cycamore::SourceTest::outrecipe ( cycamore::Source s)
inline

Definition at line 31 of file _tmp_build/cycamore/source_tests.h.

References cycamore::Source::outrecipe.

Referenced by SetUpSource(), and cycamore::TEST_F().

std::string cycamore::SourceTest::outrecipe ( cycamore::Source s)
inline

Definition at line 31 of file src/source_tests.h.

References cycamore::Source::outrecipe.

void cycamore::SourceTest::outrecipe ( cycamore::Source s,
std::string  recipe 
)
inline

Definition at line 35 of file _tmp_build/cycamore/source_tests.h.

References cycamore::Source::outrecipe, and recipe.

void cycamore::SourceTest::outrecipe ( cycamore::Source s,
std::string  recipe 
)
inline

Definition at line 35 of file src/source_tests.h.

References cycamore::Source::outrecipe, and recipe.

void cycamore::SourceTest::SetUp ( )
virtual
virtual void cycamore::SourceTest::SetUp ( )
virtual
void cycamore::SourceTest::SetUpSource ( )
void cycamore::SourceTest::SetUpSource ( )
void cycamore::SourceTest::TearDown ( )
virtual

Definition at line 20 of file _tmp_build/cycamore/source_tests.cc.

References src_facility.

virtual void cycamore::SourceTest::TearDown ( )
virtual
double cycamore::SourceTest::throughput ( cycamore::Source s)
inline

Definition at line 33 of file _tmp_build/cycamore/source_tests.h.

References cycamore::Source::throughput.

Referenced by SetUpSource(), and cycamore::TEST_F().

double cycamore::SourceTest::throughput ( cycamore::Source s)
inline

Definition at line 33 of file src/source_tests.h.

References cycamore::Source::throughput.

void cycamore::SourceTest::throughput ( cycamore::Source s,
double  val 
)
inline

Definition at line 41 of file src/source_tests.h.

References GetContext(), cycamore::string, and cycamore::Source::throughput.

void cycamore::SourceTest::throughput ( cycamore::Source s,
double  val 
)
inline

Member Data Documentation

double cycamore::SourceTest::capacity
std::string cycamore::SourceTest::commod
cyclus::Composition::Ptr cycamore::SourceTest::recipe

Definition at line 24 of file _tmp_build/cycamore/source_tests.h.

Referenced by InitParameters(), outrecipe(), and cycamore::TEST_F().

std::string cycamore::SourceTest::recipe_name

Definition at line 22 of file _tmp_build/cycamore/source_tests.h.

Referenced by InitParameters(), and SetUpSource().

cycamore::Source * cycamore::SourceTest::src_facility

Definition at line 21 of file _tmp_build/cycamore/source_tests.h.

Referenced by SetUp(), SetUpSource(), TearDown(), and cycamore::TEST_F().

cyclus::TestContext cycamore::SourceTest::tc

Definition at line 19 of file _tmp_build/cycamore/source_tests.h.

Referenced by InitParameters(), SetUp(), and cycamore::TEST_F().

TestFacility * cycamore::SourceTest::trader

Definition at line 20 of file _tmp_build/cycamore/source_tests.h.

Referenced by GetContext(), SetUp(), and cycamore::TEST_F().


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