cyclus/core — pull request #146 by rwcarlsen (2012-05-17 17:38:14+00:00)
Title: Made transaction struct into a class

And put it in its own file. The vast majority of code has received very little changes. Mostly reorganizing/moving code around. Changes in concrete models were only to make them use the transaction class constructor. Closes #138.

The one exception is RecipeReactor - I consolidated some duplicate code there - I know it should have gone in another branch, but I didn't have the discipline to resist - I figured I would just fix it while I was looking at it anyway. Please take a look at that code (commit eb4d9870).

I also created a transaction type enum {OFFER, REQUEST} to make it more clear what a transaction is from the getgo.

All message and other tests that existed previously have been preserved and work. I will soon (next day or two) make some basic tests for Transaction class and submit a pull request - I will post an issue for these tests.