cosi::Ports Class Reference

#include <Ports.h>

Inheritance diagram for cosi::Ports:

cosi::Quantity

List of all members.

Public Types

typedef std::map< string,
PortInterface >::iterator 
iterator

Public Member Functions

 Ports ()
 ~Ports ()
Ports Get ()
void Set (Ports pP)
std::map< std::string,
PortInterface
GetValue ()
void AddPort (std::string pName, std::string pType, PortInterface::tDirection pDir)
void AddPort (std::string pName, PortInterface pIf)
bool HasPortType (std::string pType)
bool HasPort (std::string pName)
bool IsBound (std::string pName)
Edge BoundTo (std::string pName)
void BoundTo (std::string pName, Edge pE)
string IsBoundTo (Edge pE, PortInterface::tDirection pDir=PortInterface::OUT)
iterator Begin ()
iterator End ()
string Name (iterator It)
PortInterface If (iterator It)
string GetInputPortNotBound ()
string GetOutputPortNotBound ()
string GetInputOutputPortNotBound ()
std::vector< std::string > GetNotBoundIn ()
std::vector< std::string > GetNotBoundOut ()
std::vector< std::string > GetNotBoundInOut ()
bool operator== (Ports pP)
Ports operator+ (Ports pT)
Ports operator- (Ports pT)
PortInterface operator[] (std::string pName)

Static Public Member Functions

static std::string GetQuantityType ()
static std::string GetQuantityName ()

Static Public Attributes

static std::string sQuantityType = "std::string->std::string"
static std::string sQuantityName = "Ports"

Private Attributes

std::map< std::string,
PortInterface
mPorts
std::map< std::string, EdgemBound

Friends

std::ostream & operator<< (std::ostream &pOs, const Ports &pP)


Member Typedef Documentation

typedef std::map<string,PortInterface>::iterator cosi::Ports::iterator


Constructor & Destructor Documentation

cosi::Ports::Ports (  ) 

cosi::Ports::~Ports (  ) 


Member Function Documentation

static std::string cosi::Ports::GetQuantityType (  )  [static]

static std::string cosi::Ports::GetQuantityName (  )  [static]

Ports cosi::Ports::Get (  ) 

void cosi::Ports::Set ( Ports  pP  ) 

std::map< std::string, PortInterface > cosi::Ports::GetValue (  ) 

void cosi::Ports::AddPort ( std::string  pName,
std::string  pType,
PortInterface::tDirection  pDir 
)

void cosi::Ports::AddPort ( std::string  pName,
PortInterface  pIf 
)

bool cosi::Ports::HasPortType ( std::string  pType  ) 

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

bool cosi::Ports::IsBound ( std::string  pName  ) 

Edge cosi::Ports::BoundTo ( std::string  pName  ) 

void cosi::Ports::BoundTo ( std::string  pName,
Edge  pE 
)

string cosi::Ports::IsBoundTo ( Edge  pE,
PortInterface::tDirection  pDir = PortInterface::OUT 
)

Ports::iterator cosi::Ports::Begin (  ) 

Ports::iterator cosi::Ports::End (  ) 

std::string cosi::Ports::Name ( iterator  It  ) 

PortInterface cosi::Ports::If ( iterator  It  ) 

std::string cosi::Ports::GetInputPortNotBound (  ) 

std::string cosi::Ports::GetOutputPortNotBound (  ) 

std::string cosi::Ports::GetInputOutputPortNotBound (  ) 

std::vector< std::string > cosi::Ports::GetNotBoundIn (  ) 

std::vector< std::string > cosi::Ports::GetNotBoundOut (  ) 

std::vector< std::string > cosi::Ports::GetNotBoundInOut (  ) 

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

Ports cosi::Ports::operator+ ( Ports  pT  ) 

Ports cosi::Ports::operator- ( Ports  pT  ) 

PortInterface cosi::Ports::operator[] ( std::string  pName  ) 


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  pOs,
const Ports pP 
) [friend]


Member Data Documentation

std::map<std::string,PortInterface> cosi::Ports::mPorts [private]

std::map<std::string,Edge> cosi::Ports::mBound [private]

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

std::string cosi::Ports::sQuantityName = "Ports" [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