cosi::CommoditySet Class Reference

#include <CommoditySet.h>

Inheritance diagram for cosi::CommoditySet:

cosi::Quantity

List of all members.

Public Types

typedef std::set< Commodity >
::iterator 
iterator

Public Member Functions

 CommoditySet ()
virtual ~CommoditySet ()
iterator Begin () const
iterator End () const
int Size ()
CommoditySet Get () const
void Set (CommoditySet pSet)
std::set< CommodityGetValue () const
void SetValue (std::set< Commodity > pSet)
double GetAggregateBandwidthValue ()
Bandwidth GetAggregateBandwidth ()
void Add (Commodity pT)
bool operator< (const CommoditySet &pSet) const
bool operator== (const CommoditySet &pSet) const
CommoditySet operator+ (CommoditySet pSet)

Static Public Attributes

static std::string sQuantityName = "CommoditySet"
static std::string sQuantityType = "Set of Commodity"

Private Attributes

std::set< CommoditymCommoditySet

Friends

std::ostream & operator<< (std::ostream &pOs, const CommoditySet &pC)


Member Typedef Documentation


Constructor & Destructor Documentation

cosi::CommoditySet::CommoditySet (  ) 

cosi::CommoditySet::~CommoditySet (  )  [virtual]


Member Function Documentation

CommoditySet::iterator cosi::CommoditySet::Begin (  )  const

CommoditySet::iterator cosi::CommoditySet::End (  )  const

int cosi::CommoditySet::Size (  ) 

CommoditySet cosi::CommoditySet::Get (  )  const

void cosi::CommoditySet::Set ( CommoditySet  pSet  ) 

std::set< Commodity > cosi::CommoditySet::GetValue (  )  const

void cosi::CommoditySet::SetValue ( std::set< Commodity pSet  ) 

double cosi::CommoditySet::GetAggregateBandwidthValue (  ) 

Bandwidth cosi::CommoditySet::GetAggregateBandwidth (  ) 

void cosi::CommoditySet::Add ( Commodity  pT  ) 

bool cosi::CommoditySet::operator< ( const CommoditySet pSet  )  const

bool cosi::CommoditySet::operator== ( const CommoditySet pSet  )  const

CommoditySet cosi::CommoditySet::operator+ ( CommoditySet  pSet  ) 


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  pOs,
const CommoditySet pC 
) [friend]


Member Data Documentation

std::string cosi::CommoditySet::sQuantityName = "CommoditySet" [static]

std::string cosi::CommoditySet::sQuantityType = "Set of Commodity" [static]


The documentation for this class was generated from the following files:
Generated on Sun Sep 7 18:37:46 2008 for COSI by  doxygen 1.5.4
Contact 
©2002-2018 U.C. Regents