cosi::quantity::onchipcommunication::Ports Class Reference

#include <Ports.h>

Inheritance diagram for cosi::quantity::onchipcommunication::Ports:

cosi::Quantity

List of all members.

Public Types

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

Public Member Functions

 Ports ()
 ~Ports ()
Ports Get ()
void Set (Ports pP)
std::map< std::string, InterfaceGetValue ()
void AddPort (std::string pName, std::string pType, Interface::tDirection pDir)
void AddPort (std::string pName, Interface pIf)
bool HasPortType (std::string pType)
bool HasPort (std::string pName)
iterator Begin ()
iterator End ()
string Name (iterator It)
Interface If (iterator It)
bool IsBound (std::string pName)
void UnBound (string pName)
Edge BoundTo (std::string pName)
void BoundTo (std::string pName, Edge pE)
string IsBoundTo (Edge pE, Interface::tDirection pDir=Interface::OUT)
string GetInputPortNotBound ()
string GetOutputPortNotBound ()
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)
Interfaceoperator[] (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, InterfacemPorts
std::map< std::string, EdgemBound

Friends

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


Member Typedef Documentation


Constructor & Destructor Documentation

cosi::quantity::onchipcommunication::Ports::Ports (  ) 

cosi::quantity::onchipcommunication::Ports::~Ports (  ) 


Member Function Documentation

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

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

Ports cosi::quantity::onchipcommunication::Ports::Get (  ) 

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

std::map< std::string, Interface > cosi::quantity::onchipcommunication::Ports::GetValue (  ) 

void cosi::quantity::onchipcommunication::Ports::AddPort ( std::string  pName,
std::string  pType,
Interface::tDirection  pDir 
)

void cosi::quantity::onchipcommunication::Ports::AddPort ( std::string  pName,
Interface  pIf 
)

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

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

Ports::iterator cosi::quantity::onchipcommunication::Ports::Begin (  ) 

Ports::iterator cosi::quantity::onchipcommunication::Ports::End (  ) 

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

Interface cosi::quantity::onchipcommunication::Ports::If ( iterator  It  ) 

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

void cosi::quantity::onchipcommunication::Ports::UnBound ( string  pName  ) 

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

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

string cosi::quantity::onchipcommunication::Ports::IsBoundTo ( Edge  pE,
Interface::tDirection  pDir = Interface::OUT 
)

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

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

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

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

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

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

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

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

Interface & cosi::quantity::onchipcommunication::Ports::operator[] ( std::string  pName  ) 


Friends And Related Function Documentation

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


Member Data Documentation

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


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