cosi::PortRates Class Reference

#include <Ports.h>

Inheritance diagram for cosi::PortRates:

cosi::Quantity cosi::PortCapacities

List of all members.

Public Member Functions

 PortRates ()
virtual ~PortRates ()
PortRates Get ()
void Set (PortRates pP)
std::map< std::string, BandwidthGetValue ()
bool HasPort (std::string pName)
void AddRate (std::string pName, Bandwidth pB)
void AddRate (std::string pName, double pValue)
Bandwidth GetRate (std::string pName)
bool operator== (PortRates pP)
PortRates operator+ (PortRates pP)
void operator<< (PortRates pP)

Static Public Attributes

static std::string sQuantityType = "std::string->Bandwidth"
static std::string sQuantityName = "PortRates"

Private Attributes

std::map< std::string, BandwidthmPortRates


Constructor & Destructor Documentation

cosi::PortRates::PortRates (  ) 

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


Member Function Documentation

PortRates cosi::PortRates::Get (  ) 

Reimplemented in cosi::PortCapacities.

void cosi::PortRates::Set ( PortRates  pP  ) 

std::map< std::string, Bandwidth > cosi::PortRates::GetValue (  ) 

bool cosi::PortRates::HasPort ( std::string  pName  ) 

void cosi::PortRates::AddRate ( std::string  pName,
Bandwidth  pB 
)

void cosi::PortRates::AddRate ( std::string  pName,
double  pValue 
)

Bandwidth cosi::PortRates::GetRate ( std::string  pName  ) 

bool cosi::PortRates::operator== ( PortRates  pP  ) 

PortRates cosi::PortRates::operator+ ( PortRates  pP  ) 

Reimplemented in cosi::PortCapacities.

void cosi::PortRates::operator<< ( PortRates  pP  ) 


Member Data Documentation

std::map<std::string,Bandwidth> cosi::PortRates::mPortRates [private]

std::string cosi::PortRates::sQuantityType = "std::string->Bandwidth" [static]

Reimplemented in cosi::PortCapacities.

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

Reimplemented in cosi::PortCapacities.


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