CYCLUS
Public Member Functions | Public Attributes | List of all members
cyclus::Trade< T > Class Template Reference

Detailed Description

template<class T>
class cyclus::Trade< T >

A Trade is a simple container that associates a request for a resource with a bid for that resource.

Additionally, a quantity is assigned to the Trade which may be less than either the request or bid quantity. Finally, Trades have a price member which is not currently used.

Definition at line 16 of file trade.h.

#include <trade.h>

Public Member Functions

 Trade ()
 
 Trade (Request< T > *request, Bid< T > *bid, double amt)
 

Public Attributes

double amt
 
Bid< T > * bid
 
double price
 
Request< T > * request
 

Constructor & Destructor Documentation

template<class T>
cyclus::Trade< T >::Trade ( )
inline

Definition at line 22 of file trade.h.

template<class T>
cyclus::Trade< T >::Trade ( Request< T > *  request,
Bid< T > *  bid,
double  amt 
)
inline

Definition at line 24 of file trade.h.

Member Data Documentation

template<class T>
double cyclus::Trade< T >::amt

Definition at line 19 of file trade.h.

template<class T>
Bid<T>* cyclus::Trade< T >::bid

Definition at line 18 of file trade.h.

template<class T>
double cyclus::Trade< T >::price

Definition at line 20 of file trade.h.

template<class T>
Request<T>* cyclus::Trade< T >::request

Definition at line 17 of file trade.h.


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